Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (775)
Games in Android Showcase (230)
games submitted by our members
Games in WIP (856)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  mp3s, or something smaller than wav  (Read 3147 times)
0 Members and 1 Guest are viewing this topic.
Offline nickdotjava

Junior Devvie

I have fallen to the dark side.  I'm using DX9

« Posted 2003-05-14 17:18:18 »

I'm trying to play a song that's about 10 minutes long during a game, but the problem with .wav files is that they're too big.  Is there a way to play mp3s, or something that's smaller than wav?


"Oh ya, that's trivial.  I should have it done in an hour."
Offline GergisKhan

Junior Devvie

"C8 H10 N4 O2"

« Reply #1 - Posted 2003-05-14 17:39:52 »

You might want to check out
Ogg Vorbis is a FREE format, (i.e., no licensing restrictions like MP3) and there is a library (JOrbis) that you can use to play .ogg files.

From what I can gather the equivalent sized .ogg is much better sound quality than .mp3, or if you want, the same quality compresses more with .ogg than with .mp3 files.

Good luck.


"Go.  Teach them not to mess with us."
          -- Cao Cao, Dynasty Warriors 3
Offline lgsnake

Innocent Bystander

Java games rock!

« Reply #2 - Posted 2003-05-21 05:29:44 »

oh, good, i look for it a long ago.  Grin
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Mac_Systems

Junior Devvie

I love my Java

« Reply #3 - Posted 2003-07-31 07:36:11 »

Hi, Grin

im using the Java Layer lib in my Mp3 Player Project. It is easy to use.

Take a look at

The Network is the Music
8: Undefined index: online
File: /home/jgo/public_html/Themes/default/Display.template.php (main sub template - eval?)
Line: 161