|
Name |
createRecorder ( ) |
Examples |
None available |
Description |
Creates an {@link AudioRecorder} that will use source as its
record source and that will save to the file name specified. 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
{@link AudioRecorder#save()} will block until the entire buffer is
written to disk. In the event that the buffer is very large, your sketch
will noticably hang. |
Syntax |
createRecorder(source, fileName, buffered);
|
Parameters |
source |
|
the Recordable object you want to use as a record
source |
fileName |
|
the name of the file to record to |
buffered |
|
whether or not to use buffered recording |
|
Returns |
an AudioRecorder for the record source |
Usage |
Web & Application |
Related |
|
|
|