lib/minim/src/ddf/minim/ugens/Oscil.java
/**
	 * This routine will be called any time the sample rate changes.
	 */
This routine will be called any time the sample rate changes.
This routine will be called any time the sample rate changes .
protected void sampleRateChanged()
	{
		oneOverSampleRate = 1 / sampleRate();
		stepSize = frequency.getLastValue() * oneOverSampleRate;
		prevFreq = frequency.getLastValue();
	}
protected void sampleRateChanged ( ) { oneOverSampleRate = 1 / sampleRate ( ) ; stepSize = frequency . getLastValue ( ) * oneOverSampleRate ; prevFreq = frequency . getLastValue ( ) ; }
This routine will be called any time the sample rate changes.
This routine will be called any time the sample rate changes .
// don't call updateStepSize because it checks for frequency change