Displaying 1 result from an estimated 1 matches for "16bitprompt".
2010 Mar 20
0
Decode file written from JSpeex using C/C++ API?
...m. (I'm assuming the sampledec source works with raw speex audio samples and doesn't handle ogg containers.) I've also managed to compress a wave file and output a .spx file using JSpeex and the following Groovy code:
AudioInputStream ais = AudioSystem.getAudioInputStream(new File("16Bitprompt.wav"));
AudioFormat wavFormat = ais.getFormat();
AudioFormat speexFormat =
new AudioFormat(SpeexEncoding.SPEEX_Q5,
wavFormat.getSampleRate(),
-1, // sample size in bits
wavFormat.getChannels(),
-1, // frame size...