Music and sound

This is a discussion on Music and sound within the Game Programming forums, part of the General Programming Boards category; What's the best format to get the highest quality and longest track length in the smallest file size? Ideally I'd ...

  1. #1
    Shadow12345
    Guest

    Music and sound

    What's the best format to get the highest quality and longest track length in the smallest file size? Ideally I'd find something to convert mp3s to that format (I have songs from my favorite band Silvercord that I'd like to be playing at the start up screen of the game, but in mp3 they are like 6 MB apiece )

    I'm looking into fmod but cannot find mp3 to fmod convertor

    EDIT: If I could just somehow decrease the mp3 file size and play it somehow that would be helpful too. Could it be converted to wav and them compressed? Music and sound isn't really my thing yet.

    EDIT1: found a program to output compressed wav files, but it is still 15.1 mb, is there anyway to save the new compressed wave file as a new wave file with lesser quality (and filesize)
    Last edited by Shadow12345; 04-10-2003 at 09:27 PM.

  2. #2
    mov.w #$1337,D0 Jeremy G's Avatar
    Join Date
    Nov 2001
    Posts
    704
    sizeof((ANY COMPRESSION).WAV) >= sizeof((samefile).MP3);

    I've never seen any compressed wav file smaller than the mp3 version of it. Thats why mp3 is so populer becuase of its compression/quality. fmod would probably be good, but ive not seen any mp3->fmod converters.

    I say stick to MP3 files (compressed ones), they are a good choice.
    c++->visualc++->directx->opengl->c++;
    (it should be realized my posts are all in a light hearted manner. And should not be taken offense to.)

  3. #3
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    yes, .wav is generally larger than .mp3... but there's always midi's!!!

  4. #4
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    You could convert the mp3s to .wav, download a copy of RazorLame, and re-encode them to .mp3 at a lower quality...but you'll hear it. It's possible to make them quite small, though. The better the quality, the bigger the file. Midis are great, until they get repetitive
    Away.

  5. #5
    Shadow12345
    Guest
    blackrat I would be interested in doing that (recording at a lower sample rate is what you mean?)

    With that program is it possible to only encode parts of the song? I would like to record perhaps 30 seconds of a song from Silvercord (the band not my other name) and have it in a continuous loop. My ideal filesize range for each sound/song is less than 512KB. I have no experience with doing this type of thing, I think the sampling rate is 44.0KHz default (for wave). What would you suggest I set it to when I encode it to mp3 (for maximum quality with the lowest filesize). What bitrate?

    Thanks.

  6. #6
    Banned frenchfry164's Avatar
    Join Date
    Oct 2001
    Posts
    1,552
    MusicMatch Jukebox can convert an MP3 to any quality directly, without converting to WAV format first.

    Have you looked into Ogg Vorbis? I have never used it b4 but I heard it has great quality and is very small.

  7. #7
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    OGG Vorbis is what Unreal Tournament 2003 uses for all of its music. It's able to squeeze a 3-minute song into about 1.5MB, while sounding wuite good.
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  8. #8
    Banned frenchfry164's Avatar
    Join Date
    Oct 2001
    Posts
    1,552
    Do you know how many Kbps that 1.5 MB file is?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. DirectX Question
    By bladerunner627 in forum Game Programming
    Replies: 2
    Last Post: 04-04-2005, 12:55 PM
  2. Low latency sound effects
    By VirtualAce in forum Game Programming
    Replies: 0
    Last Post: 12-21-2004, 01:58 AM
  3. Updated sound engine code
    By VirtualAce in forum Game Programming
    Replies: 8
    Last Post: 11-18-2004, 12:38 PM
  4. Alpha of my first game
    By Shakti in forum Game Programming
    Replies: 28
    Last Post: 06-09-2004, 01:24 AM
  5. Can I Load A Sound or Music Into My Win32 Application ?
    By SonicWave in forum Windows Programming
    Replies: 8
    Last Post: 09-21-2001, 08:54 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21