search for: speex_q5

Displaying 2 results from an estimated 2 matches for "speex_q5".

2010 May 06
1
Encoding a wave file with a bad header
...y, to compress an otherwise valid wave file with zero lengths in the header would it impact the compression at all? Here's what I'm doing during compression in Java: AudioFormat wavFormat = ais.getFormat(); AudioFormat speexFormat = new AudioFormat(SpeexEncoding.SPEEX_Q5, wavFormat.getSampleRate(), -1, // sample size in bits wavFormat.getChannels(), -1, // frame size -1, // frame rate false); // little endian AudioI...
2010 Mar 20
0
Decode file written from JSpeex using C/C++ API?
...lso 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 -1, // frame rate false); // little endian ais = AudioSystem.getAudioInputStream(speexFormat, ais); Audio...