lib/minim/src/ddf/minim/Minim.java
/**
	 * Creates an AudioSample using the provided sample data and
	 * AudioFormat, with the desired output buffer size.
	 * 
	 * @param sampleData
	 *            float[]: the single channel of sample data
	 * @param format
	 *            the AudioFormat describing the sample data
	 * @param bufferSize
	 *            int: the output buffer size to use,
	 *            which controls the size of the left, right, and mix AudioBuffer
	 *            fields of the returned AudioSample.
	 *            
	 * @return an AudioSample that can be triggered to make sound
	 */
Creates an AudioSample using the provided sample data and
AudioFormat, with the desired output buffer size.

@param sampleData
float[]: the single channel of sample data
@param format
the AudioFormat describing the sample data
@param bufferSize
int: the output buffer size to use,
which controls the size of the left, right, and mix AudioBuffer
fields of the returned AudioSample.

@return an AudioSample that can be triggered to make sound
Creates an AudioSample using the provided sample data and AudioFormat with the desired output buffer size . @param sampleData float [] : the single channel of sample data @param format the AudioFormat describing the sample data @param bufferSize int : the output buffer size to use which controls the size of the left right and mix AudioBuffer fields of the returned AudioSample . @return an AudioSample that can be triggered to make sound
public AudioSample createSample( float[] sampleData, AudioFormat format, int bufferSize )
	{
		AudioSample sample = mimp.getAudioSample( sampleData, format, bufferSize );
		addSource( sample );
		return sample;
	}
public AudioSample createSample ( float [ ] sampleData , AudioFormat format , int bufferSize ) { AudioSample sample = mimp . getAudioSample ( sampleData , format , bufferSize ) ; addSource ( sample ) ; return sample ; }
Creates an AudioSample using the provided sample data and
 AudioFormat, with the desired output buffer size.
Creates an AudioSample using the provided sample data and AudioFormat with the desired output buffer size .