Phase Space Synth!

Draw the orbit in phase space, then play the piano keys...

Pitch bend: 0
Harmonics: 8
Rotation: 0
VScale: 1

...or draw your waveform directly!

Harmonics: 4
Fourier amplitudes

(Shows the level of individual overtones in the above waveform.)


C4
C#4
D4
D#4
E4
F4
F#4
G4
G#4
A4
A#4
B4
C5

Live spectrogram

(Shows frequency content of audio output over time.)

Theory

To second order, we have

$$ x_{i+1} = x_i + \delta t_i \dot x_i +\frac{(\delta t_i)^2}{2}\ddot x_i+\dots, $$

yielding our approximation for time intervals \(\delta t\)

$$ \delta t_i^{(3)} = 6\left[ \frac{x_{i+1}-x_i}{4\dot x_{i+1}+ \dot x_i + \dot x_{i-1}} \right]. $$