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
Author

Using ogg in javax.sound.sampled

keith meyer
Greenhorn

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
Marshal

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


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

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

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

http://www.jcraft.com/jorbis/
Bert Bates
author
Sheriff

Joined: Oct 14, 2002
Posts: 8801
    
    5
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