Java and Sound File Compression
I just wanted everyone to know that .aif (also .aiff) Audio Interchange File Format files are the currently compatible compression format for use with Java in general.
MMF2 accepts and can use .aif files as it currently has a filter for them built-in.
This format only gives fair compression depending on your usage, settings, and needs. It certainly beats using uncompressed .wav files if size is your concern.
Free free to discuss this format and share free and commercial tools that can be used for conversion.
I have one here that is rather advertising intensive, but it really does a fast and good job at converting an amazing amount of file types, (sound, graphic, video, text, etc.) right from your browser. When you convert a .wav to .aif, it gives you the bit depth and sample rate options to choose from:
http://media-convert.com/
Re: Java and Sound File Compression
Awesome!
I'd use Quicktime PRO (via the Quicktime Player) to export the audio .. Since it will do it the official 'Mac' way .. lol ..I assume it will work! ;)
Will test it out and report back later!
-Mel ;)
Re: Java and Sound File Compression
Excellent.. I'm interested in this. I tried to export to AIFF using Audacity but the size ended up the same.
Re: Java and Sound File Compression
Wow! The AIFF files created by quicktime (windows and mac), as well as several other audio programs don't work inside of MMF .. Is there a bug with the AIFF filter?
The first few seconds will play, but then the rest of the file hisses. It plays fine in other programs ...
-Mel ;)
Re: Java and Sound File Compression
Indeed,.. it happened here too.
edit: Melli, does the Quicktime PRO compress the AIFF?
Re: Java and Sound File Compression
Ah! The AIFF filter only works with 8bit sound files! LOL
I'm sure Clickteam will fix this when they get a spare minute..
-Mel ;)
Re: Java and Sound File Compression
Well .. Just tested it with Xwrap! It worked! :)
At least we have 8 bit sound! LOL ...
-Mel ;)
Re: Java and Sound File Compression
Melli, does the Quicktime compress the AIFF? Or do you know other program that effectively does it? As far as I could test here, AIFF audio has the same size as uncompressed WAV. Thanks
Re: Java and Sound File Compression
Hi Bruto_memo!
Just setting the AIFF file to 8bit will half it's size. Or more! (Doesn't mean we don't need 16bit! lol)
I used Quicktime Player PRO..
File > Export >
AIFF Export Options:
Format: Linear PCM
Channels: Stereo L & R (making this mono will half the size again BTW!)
Rate: 22050 (hopefully 44.1Khz works too! Havn't tested yet!)
Quality: Normal
Sample Size: 8 bits
There are compression formats instead of PCM such as IMA 4:1 and Qualcomm PureVoice .. I doubt MMF supports these codecs though ..
-Mel
Re: Java and Sound File Compression
hmmm so a regular game would be quite big, if it has soundtracks