edu.columbia.cs.util
Class AudioConverter
java.lang.Object
|
+--edu.columbia.cs.util.AudioConverter
- public class AudioConverter
- extends java.lang.Object
Takes a file and a mimetype and converts it to a WAV file playable
by TellMe. Supports WAV, AU, AIFF, and MP3 file formats.
Method Summary |
void |
convertAudio(java.lang.String srcfile,
java.lang.String destfile,
java.lang.String mimetype)
Makes a JNI class to /usr/bin/sox. |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AudioConverter
public AudioConverter()
convertAudio
public void convertAudio(java.lang.String srcfile,
java.lang.String destfile,
java.lang.String mimetype)
- Makes a JNI class to /usr/bin/sox.
- Parameters:
srcfile
- the name of the file to convertdestfile
- the name of the file to outputmimetype
- the mimetype of the srcfile
main
public static void main(java.lang.String[] args)