Audio Compression

There are 11 replies in this Thread. The last Post () by mrliberty90.

  • So, some of the tracks aren't hidden, such as the coalition space theme. I noticed however, that it is EXTREMELY small in size for a wav file, yet it sounds great and has a good bitrate. It's only 1.41MB, but when I import it and export it again in Audacity, it jumps to 15MB in size.


    How did you accomplish this MASSIVE compression without losing audio? I want to know for future uses to keep my .wav files small but great sounding.

  • its a RIFF compression
    Freelancer can deal with this type of codec but not all audio players and auto tools can load it.

    signew.jpg


    cfmoddblogo.png5904.png5904.png
    http://www.moddb.com/scripts/topsite.php?ts=4766


    Only dead fish swim with the stream.
    Don't discuss with idiots. They only drag you down to their level and then beat you with experience there.


    This is ten percent luck,
    Twenty percent skill,
    Fifteen percent concentrated power of will,
    Five percent pleasure,
    Fifty percent pain,
    And a hundred percent reason to remember the name!

  • I learned that after doing some research. I also found this post on The Starport that had this to say:


    "Freelancer stores the music in a 22kHz MP3 format. Note that the extension is .wav - however, the music is not in "wav format". To be correct, there is no such thing as a wav format. Wav is merely a container. Generally, what you would call a "wav format" is actually called PCM. The music files of Freelancer are MP3 files, in a wav container, using a 22kHz sampling rate, and the Fraunhofer codec. Yes, you will notice, that if you use some other mp3 codec (like LAME, which is the default of, for example, Audacity), FL will not play the music correctly. Also, I've been fiddling around with different versions of the Fraunhofer codec, and they don't seem to work correctly, either."


    I was trying to do some research, but I cannot find ANY way to convert any file to the format that Freelancer uses. This is becoming pretty annoying, as I'm trying to make a music pack for a different mod... but I can't convert anything properly. Can you tell me what you did to compress these to a suitable format?

  • Hello Mr Liberty 90,
    I think these instructions are what you are looking for: The Starport - A Freelancer Game Fansite :: How to make music compatible..... [Forum - Help and Request]
    (it says that Windows Sound Recorder can be used for conversion)

  • Windows 10 does not have Windows Sound Recorder...but I think I fixed the issue anyway using VLC media player (thanks to SilverFox)


    Edit: Nope. Cannot find the appropriate codec that Freelancer appearantly uses.

  • Looks like the sound recorder included with newer versions of Windows cannot convert files anymore. But there is a separately available command-line Fraunhofer mp3 encoder which is free for personal use - attached below are the binaries and switches that I found for it.


    Also I still have the old Windows Recorder and can convert a few files for you if needed :)

  • Alright, I've been spending the entire day and the only way that works is to use Windows Sound Recorder, which I DON'T HAVE.


    SWAT, you clearly know how this works, can you PLEASE tell me how you can get files in a FL compatible format without Windows Sound Recorder?

  • multiple different ways


    - audio recorder works on older windows versions
    - you can use Audacity and export is as LAME and then use a MPA RIFF converter to turn the mp3 file into a Riff file with wav extension
    - there are online RIFF converters that you can use

    signew.jpg


    cfmoddblogo.png5904.png5904.png
    http://www.moddb.com/scripts/topsite.php?ts=4766


    Only dead fish swim with the stream.
    Don't discuss with idiots. They only drag you down to their level and then beat you with experience there.


    This is ten percent luck,
    Twenty percent skill,
    Fifteen percent concentrated power of will,
    Five percent pleasure,
    Fifty percent pain,
    And a hundred percent reason to remember the name!

  • Mmm, I don't have sound recorder and couldn't find any other software that converts it properly, but I will try to use one of those online sites you're talking about.


    Thanks alot mate! Will be helpful if I want to make my own mod someday.