I have a .wav file and I am using JSpeex (latest version, i.e., 0.9.7) to encode it, but the encoding is not happening properly if anybody has worked on the file.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
From here
You can find the following snippet:
When I used a different output-file format, specifically the .spx suffix,
the encoding worked, and so did the subsequent decoding. The final decoded
PCM WAV file then played successfully in QuickTime Player.
The original PCM WAV file I started with was "1-welcome.wav" from Sun’s
JavaSound demo program. If you installed Developer Tools, it’s at:
/Developer/Examples/Java/Sound/JavaSoundDemo/audio/
The encoding command-line:
Because it’s 11 KHz, you have to encode using ‘-w’ (wideband), or it will
fail with an obscure exception.
The decoding command-line:
You can read the whole page at the link provided for more info.
Hope this solves your problem.