File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes Playing multiple audios Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Playing multiple audios" Watch "Playing multiple audios" New topic

Playing multiple audios

S Santosh Kumar
Ranch Hand

Joined: Mar 14, 2004
Posts: 43
Hi everyone,

I'm building a Swing GUI, which has a background music( thread ) running constantly in background. I want to play some audio clips when user perfoms some operation with still background music running.
Somehow I'm not successful. Is there any way to play multiple mixed audios in thread or once the audio device is occupied by one thread, other threads cannot use it.


Early bird catches the worm, but remember "early worm" gets caught by bird.
I agree. Here's the link:
subject: Playing multiple audios
Similar Threads
Beginning Android Games - Audio API
Placing motion and sound in Java
Problem stopping audio in using package
Looking for a special type of music
How to play sound files from remote client in browser