This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
Placing motion and sound in Java
Looking for a special type of music
How to play sound files from remote client in browser
Beginning Android Games - Audio API
Problem stopping audio in using package