wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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
I agree. Here's the link: http://aspose.com/file-tools
subject: Sound File Compression
Similar Threads
Compression/Decompression encoding in unix.
Which image is loading Fastly .jpg or .gif?
A question about codec in JMF
voice compression
Image compression and decompression