This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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: 41127
    
  45
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: 8803
    
    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.)
 
It is sorta covered in the JavaRanch Style Guide.
 
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