lib/minim/src/ddf/minim/javasound/FloatSampleBuffer.java
/**
	 * Fade the volume level of this buffer from the given start volume to the end volume.
	 * The fade will start at the offset, and will have reached endVol after count samples.
	 * E.g. to implement a fade in, use startVol=0 and endVol=1.
	 * 
	 * @param startVol the start volume as a linear factor [0..1]
	 * @param endVol the end volume as a linear factor [0..1]
	 * @param offset the offset in this buffer where to start the fade (in samples)
	 * @param count the number of samples to fade
	 */
Fade the volume level of this buffer from the given start volume to the end volume.
The fade will start at the offset, and will have reached endVol after count samples.

@param startVol the start volume as a linear factor [0..1]
@param endVol the end volume as a linear factor [0..1]
@param offset the offset in this buffer where to start the fade (in samples)
@param count the number of samples to fade
Fade the volume level of this buffer from the given start volume to the end volume . The fade will start at the offset and will have reached endVol after count samples . @param startVol the start volume as a linear factor [ 0 .. 1 ] @param endVol the end volume as a linear factor [ 0 .. 1 ] @param offset the offset in this buffer where to start the fade ( in samples ) @param count the number of samples to fade
public void linearFade(float startVol, float endVol, int offset, int count) {
		for (int channel = 0; channel < getChannelCount(); channel++) {
			linearFade(channel, startVol, endVol, offset, count);
		}
	}
public void linearFade ( float startVol , float endVol , int offset , int count ) { for ( int channel = 0 ; channel < getChannelCount ( ) ; channel ++ ) { linearFade ( channel , startVol , endVol , offset , count ) ; } }
Fade the volume level of this buffer from the given start volume to the end volume.
Fade the volume level of this buffer from the given start volume to the end volume .