I'm sorry if my question is OT but is the closer group I read!! My question is: I have to read a .wav file and to play it in my application....for ex....starting the application....the voice say "Welcome aboard!"...without the starting of any external player of course! Please help me!!! Fabio
<img src="smile.gif" border="0"> Italians do IT better! <img src="smile.gif" border="0">
Well, theres not really a need for the JMF, I guess, as applets can already play wavs, and thus making it available for other Java applications too. (In fact, my servlets plays a siren when it it disconnected from the network, untill it is connected again! That will teach them! ) Oh, and behold: the code!
Good luck. Erik PS, for some reason, not all wavs play (but they do in Winamp, for example.) Maybe this can be solved by using Cindy's solution (the JMF), which might support wavs better (maybe my wavs have a wrong encoding for Java...who knows )
For my next trick, I'll need the help of a tiny ad ...