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 Beginning Java and the fly likes Using ogg in javax.sound.sampled 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 » Beginning Java
Bookmark "Using ogg in javax.sound.sampled" Watch "Using ogg in javax.sound.sampled" New topic

Using ogg in javax.sound.sampled

keith meyer

Joined: Nov 12, 2005
Posts: 5
I searched the API already, so my guess is this is going to be a `no` but I thought I'd try anyway.

Is it possible to use *.ogg files with javax.sound.sampled? Or in Java period?
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41068
Haven't tried it myself, but this article suggests that it is possible.

Ping & DNS - my free Android networking tools app
keith meyer

Joined: Nov 12, 2005
Posts: 5
Looks promising. I'll give it a shot and report back.
keith meyer

Joined: Nov 12, 2005
Posts: 5
I tried it and it worked. I also found this, for future reference for anyone else.
Bert Bates

Joined: Oct 14, 2002
Posts: 8801
this also strikes me as an interesting, intermediate level topic

Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)
Don't get me started about those stupid light bulbs.
subject: Using ogg in javax.sound.sampled
Similar Threads
voice mail and chat
sound files for game
Popping in streaming audio
Saving a resource on a client--best practices question
Linux programs and apps