File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Game Development
Bookmark "Sound File Compression" Watch "Sound File Compression" New topic
Author

Sound File Compression

Jeff Klamer
Greenhorn

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,
Jeff
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14116
    
  16

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
 
 
subject: Sound File Compression