Georg Boenn
Software

Downloads

Coupled Oscillator
source code








About




Music



Software


Publications



Contact


Links






















OpenGL animation and sonification of the movements of many coupled oscillators. The user can choose the number of particles, the length of the connective strings and the mass of the particles. The number of particles determines the number of possible modes of vibration of the whole system. The user will then input an amplitude value for each mode. The sonification is handled by the Csound library. Every zero crossing of each particle triggers a sound whose frequency and panning position depends on the horizontal position of the particle on the string. The sound is generated by the physical model of a bar based on the work by Stefan Bilbao, which has been implemented in Csound as the barmodel opcode. The animation was inspired by one of Walter Lewin's 8.03 lectures at MIT.











A superposition of 10 modes generated by the same program as above.













A totally different OpenGL animation of the vibrations of a 2D drum skin. This algorithm uses the finite difference method of solving the 2D wave equation, after a textbook program by Woolfson & Woolfson.

Finally, here is an animation of the simple harmonic motion