471,337 Members | 1,193 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 software developers and data experts.

playing wave file

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
1 2592
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.

Similar topics

4 posts views Thread by vikram | last post: by
3 posts views Thread by Ehsan Sadeghi | last post: by
1 post views Thread by Lex | last post: by
2 posts views Thread by Sagaert Johan | last post: by
7 posts views Thread by Lee Moody | last post: by
5 posts views Thread by m.topczewski | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.