Question on Sound Files

Discussion in 'Public Game Developers Forum' started by TechPadProductions, May 9, 2009.

  1. TechPadProductions

    TechPadProductions Well-Known Member

    Mar 13, 2009
    77
    0
    0
    We are creating a simple sound board, but using a professional sound company.

    Anyone have some feedback as to what format we can use in an app to playback a sound.

    .wav, .mp3, .mp4? Also what is the best sampling rate you have used?
     
  2. Sparks

    Sparks Well-Known Member

    I think wav and mp3
     
  3. WellSpentYouth

    WellSpentYouth Well-Known Member

    Jan 11, 2009
    1,363
    6
    0
    iPhone programmer
    App Tech Studios, USA
    wav is the best in my opinion. It lets you play mutliple sounds at once.
     
  4. spacecowgoesmoo

    spacecowgoesmoo Well-Known Member

    Sep 4, 2008
    722
    3
    0
    Composer / Level Designer @ Bovinedragon Software
    Los Angeles, USA
    You can play 1 mp3 at any time, and on top of that as many wav's as the app can handle at once. We use 48k mp3's for our games' music, btw. Any sample rate will work, but it will use more resources as the bitrate increases. Same with wavs, larger filesizes will use more resources and potentially cause lag. You might want to experiment with using mono wavs instead of stereo if possible, as this will cut the filesize in half.
     
  5. TheBunny

    TheBunny Well-Known Member

    Nov 8, 2008
    205
    0
    16
    MMO Mac Lead ZeniMax Online
    Baltimore
    OpenAL can play back many Wav files at a time.

    We are using 22khz mono files.

    AudioQueue can stream 1 music file at a time. MP3 etc

    You can pre load or stream it in.

    Streaming gave me a a FPS hit.

    But it saves ram so a lot of people are doing it.

    AudioQueue will use the ipods sound CPU to play back the music
    CPU hits from that should be minimal.

    Im playing MP3, VBR encoded 126(?) or so bit rate.
    At least with my music going low had a horrible effect on the dynamic range
    so you need to play with that.
     
  6. conrem

    conrem Well-Known Member

    Mar 29, 2009
    435
    0
    0
    developer + student at medicine
    Moldova

Share This Page