Csound Csound-dev Csound-tekno Search About

[Csnd] csound and opengl animations

Date2012-09-24 01:26
From"Boenn G (CCI)"
Subject[Csnd] csound and opengl animations
Hi fellow csounders,

i 'd like to share a little educational project, which uses OpenGL and Csound together.
For my music classes i needed an animation to visualise the modes of vibration of many coupled oscillators. 
The interesting bit is that the more modes are being added, the more chaotic the behaviour of the oscillators on the string becomes. 
Therefore i thought it would be a nice idea to use sounds generated by the barmodel in Csound, which are then triggered each time one of the oscillators crosses zero. Thanks to the C library of csound, it's a piece of cake. The only problem was to manage the collision detection and to avoid too many triggers at slow movements. 

In short, have a look at the demo videos, source code is available as well:


If there are similar projects out there in the community i'd love to hear about them.

all best wishes

Georg






Date2012-09-24 10:22
FromTarmo Johannes
SubjectRe: [Csnd] csound and opengl animations

Hi,

 

very nice demonstrations and illustrative material! Thanks also for the sample code how to use openGL .

 

tarmo

 

On Monday 24 September 2012 00:26:33 Boenn G wrote:

Hi fellow csounders,


i 'd like to share a little educational project, which uses OpenGL and Csound together.

For my music classes i needed an animation to visualise the modes of vibration of many coupled oscillators. 

The interesting bit is that the more modes are being added, the more chaotic the behaviour of the oscillators on the string becomes. 

Therefore i thought it would be a nice idea to use sounds generated by the barmodel in Csound, which are then triggered each time one of the oscillators crosses zero. Thanks to the C library of csound, it's a piece of cake. The only problem was to manage the collision detection and to avoid too many triggers at slow movements. 


In short, have a look at the demo videos, source code is available as well:


http://boenn.org/software.html


If there are similar projects out there in the community i'd love to hear about them.


all best wishes


Georg