A chaotic oscillating sound generator based on integration of the Duffing function:
All inputs to DuffingOsc are sampled at control rate.
freq |
Frequency of driving oscillator in Hz. |
amp |
Amplitude of driving oscillator (so amp in the above equation). |
damping |
Amount of resistance to velocity in the spring. |
stiffness |
How much force the spring responds to with linear compression. |
nonLinearity |
The degree of nonlinearity in the spring response. Larger numbers indicate higher nonlinearity, and 0 makes a purely linear spring. |