By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,370 Members | 1,534 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,370 IT Pros & Developers. It's quick & easy.

playing wave file

P: n/a
hi,
could you please tell me how to play a small wave file if a button is
pressed.
or if there is another format that is easer then use that instead of wave.
thanks
matt
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi,
Wave files can be played in many ways ... but the easiest way would be
to use
something known as Java Media Framework (JMF) .. this is available for
download from java.sun.com ... along with some sample code that plays
more than a wave file .. it can play mpeg video ..mp3 ...midi ... etc
etc.. check them out.

Regards
Karthik
"webstar" <tr********@hotmail.com> wrote in message news:<Nb****************@news-server.bigpond.net.au>...
hi,
could you please tell me how to play a small wave file if a button is
pressed.
or if there is another format that is easer then use that instead of wave.
thanks
matt

Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.