Can we play speex file from java?

1.1k views Asked by At

Is it possible to play a speex file from java. I have encoded a wav file to speex file and i can even decode it back to wave file again and play the audio. But i dont want to decode and play the file throught java. Are there any alternatives to play the file?

1

There are 1 answers

5
Jigar Joshi On BEST ANSWER

JSpeex

JSpeex is a Java port of the Speex speech codec (Open Source/Free Software patent-free audio compression format designed for speech). It provides both the decoder and the encoder in pure Java, as well as a JavaSound SPI.

The current version of the JSpeex library is 0.9.2 and it is based on the code from Speex 1.0.3.

As well as the JSpeex library, there is also JavaSound player that uses the library to play any Speex encoded audio file. The player is a modified version of the jlGui player by JavaZOOM.