Unsupported Audio Format: Ms ADPCM

Can AudioClip class plays an audio file, "something.wav" of audio format:Microsoft ADPCM.

Because, I had a program wihch can plays audio file with format:PCM but it was unable to play an audio format of Microsoft ADPCM. Both audio files are in wave form.

Is it becuase there is Microsoft in there? :)

[321 byte] By [com_mouse_98] at [2007-9-27 18:10:41]
# 1

Hello.

> Can AudioClip class plays an audio file,

> "something.wav" of audio format:Microsoft ADPCM.

>

> Because, I had a program wihch can plays audio file

> with format:PCM but it was unable to play an audio

> format of Microsoft ADPCM. Both audio files are in

> wave form.

>

> Is it becuase there is Microsoft in there? :)

AudioClip class in theory should play .wac files without problems. However, there are different kinds of .wav files, and AudioClip can't play all of them without problems. It is possible that here you have such case. To play MS ADPCM wac file, it appears yu'll have to use Java Media Framework (JMF), available at

http://java.sun.com/products/java-media/jmf

JMF can play (but not write) MS ADPCM files, as you can see at

http://java.sun.com/products/java-media/jmf/2.1.1/formats.html

Greetings, Nedim

azapagic at 2007-7-6 14:35:24 > top of Java-index,Archived Forums,Swing...
# 2
cloudaa at 2007-7-6 14:35:24 > top of Java-index,Archived Forums,Swing...