lib/minim/src/ddf/minim/Minim.java
/**
	 * Creates an AudioRecorder that will use the provided Recordable object as its
	 * record source and that will save to the file name specified. Recordable 
	 * classes in Minim include AudioOutput, AudioInput, AudioPlayer, and AudioSample.
	 * The format of the file will be inferred from the extension in the file name. 
	 * If the extension is not a recognized file type, this will return null. Be aware
	 * that if you choose buffered recording the call to AudioRecorder's save method
	 * will block until the entire buffer is written to disk. 
	 * In the event that the buffer is very large, your app will noticeably hang.
	 * 
	 * @shortdesc Creates an AudioRecorder.
	 * 
	 * @example Basics/RecordAudioOutput
	 * 
	 * @param source
	 *            the <code>Recordable</code> object you want to use as a record source
	 * @param fileName
	 *            the name of the file to record to
	 * @param buffered
	 *            boolean: whether or not to use buffered recording
	 * 
	 * @return an <code>AudioRecorder</code> for the record source
	 * 
	 * @related AudioRecorder
	 * @invisible
	 */
Creates an AudioRecorder that will use the provided Recordable object as its
record source and that will save to the file name specified.

@shortdesc Creates an AudioRecorder.



@param source
the Recordable object you want to use as a record source
@param fileName
the name of the file to record to
@param buffered
boolean: whether or not to use buffered recording

@return an AudioRecorder for the record source


Creates an AudioRecorder that will use the provided Recordable object as its record source and that will save to the file name specified . @shortdesc Creates an AudioRecorder . @param source the Recordable object you want to use as a record source @param fileName the name of the file to record to @param buffered boolean : whether or not to use buffered recording @return an AudioRecorder for the record source
public AudioRecorder createRecorder(Recordable source, String fileName, boolean buffered)
	{
		SampleRecorder rec = mimp.getSampleRecorder( source, fileName, buffered );
		if ( rec != null )
		{
			return new AudioRecorder( source, rec );
		}
		else
		{
			error( "Couldn't create an AudioRecorder for " + fileName + "." );
		}
		return null;
	}
public AudioRecorder createRecorder ( Recordable source , String fileName , boolean buffered ) { SampleRecorder rec = mimp . getSampleRecorder ( source , fileName , buffered ) ; if ( rec != null ) { return new AudioRecorder ( source , rec ) ; } else { error ( "Couldn't create an AudioRecorder for " + fileName + "." ) ; } return null ; }
Creates an AudioRecorder that will use the provided Recordable object as its
 record source and that will save to the file name specified.
Creates an AudioRecorder that will use the provided Recordable object as its record source and that will save to the file name specified .