public interface AudioFileWriter
Modifier and Type | Method and Description |
---|---|
java.util.HashSet<AudioFileType> |
getSupportedFileTypesForWriting()
Get the supported file types.
|
void |
writeAudioFile(float[][] data,
java.lang.String filename,
AudioFileType type,
SampleAudioFormat saf)
Single method to write an entire audio file in one go.
|
void writeAudioFile(float[][] data, java.lang.String filename, AudioFileType type, SampleAudioFormat saf) throws java.io.IOException, OperationUnsupportedException, FileFormatException
data
- - the data to be writtenfilename
- - the name of the file to be writtentype
- - the type of audio file to be written (mp3, wav, etc.)saf
- - a SampleAudioFormat object specifying the attributes of the sample data to be written. Can be NULL, in which case default values will be used.java.io.IOException
OperationUnsupportedException
FileFormatException
java.util.HashSet<AudioFileType> getSupportedFileTypesForWriting()