Package org.jjazz.embeddedsynth.api
Interface Mp3Encoder
public interface Mp3Encoder
-
Method Summary
-
Method Details
-
encode
void encode(File audioFile, File mp3File, boolean lowQuality, boolean useVariableEncoding) throws EmbeddedSynthException Encode an audio file to a mp3 file.- Parameters:
audioFile
- If audio file format is not supported an exception is thrown. Must support at least .wav file.mp3File
-lowQuality
- If true encode with low-quality settings.useVariableEncoding
- If false use fix-rate encoding- Throws:
EmbeddedSynthException
-