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 Game Development and the fly likes Sound File Compression 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 » Game Development
Bookmark "Sound File Compression" Watch "Sound File Compression" New topic

Sound File Compression

Jeff Klamer

Joined: May 26, 2007
Posts: 7
How can I compress spoken sound files I am now creating to be used in a game created using java?

Currently, I record written text onto my digital/video camera, bring
that recording into Final Cut Xpress editing software, then export using qt compression. Do you know of any formats that will be smaller than the .au or .wav I am now creating? Or, a way(s) to compress further the .au and .wav sound files I am creating?

Thank you,
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14074

You could use MP3, but the problem with MP3 is that it's patented.

An alternative for MP3 is the free Ogg Vorbis format. You can find Java decoders for that format on Google, just search for "java ogg" for example.

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Consider Paul's rocket mass heater.
subject: Sound File Compression
Similar Threads
Compression/Decompression encoding in unix.
voice compression
Which image is loading Fastly .jpg or .gif?
A question about codec in JMF
Image compression and decompression