Looping Sound for Banners [Tutorial]

Discussion in 'Wii - Hacking' started by 0RANGECHiCKEN, Dec 23, 2008.

Dec 23, 2008
  1. 0RANGECHiCKEN
    OP

    Newcomer 0RANGECHiCKEN Member

    Joined:
    Dec 23, 2008
    Messages:
    11
    Country:
    United States
    ATTENTION!

    This guide requires basic knowledge in making a working sound.bin
    If you don't know how to, read this tutorial by gundalf (member of 0RANGECHiCKEN):
    Warning: Spoilers inside!
    Tools you will need (as it relates solely to looping sound.bin files]:
    - WAVosaur [Freeware]

    1. Getting Started

    Using Audacity, open an audio file and convert it to a WAV with 16bit PCM mono
    Trim it to the length audio sample you want, but don't forget that a sound.bin is really just a short tune, and should be kept under about 15 seconds [Not a hard and fast rule though]

    2. WAVosour is here!

    Open the audio file you just made in WAVosaur
    Activate the loop mode

    [​IMG]

    3. Editing

    With loop mode activated, WAVosour will loop the part of the audio you have selected with the cursor
    This is helpful to founding a correct looping point in your sound file.

    4. Setting the Loop Point

    If you have found an perfect point, then just go to TOOLS > LOOP > CREATE LOOP POINTS

    [​IMG]

    5. Finish

    Now save it, rename it to sound.bin and sign it with the IMD5 Signer.
     
  2. Mrkinator

    Member Mrkinator Neil Peart Wannabe

    Joined:
    Sep 28, 2008
    Messages:
    890
    Location:
    Great White North, Eh!
    Country:
    Canada
    Nice! Will Try soon!
     
  3. computerboy

    Member computerboy GBAtemp Advanced Fan

    Joined:
    Sep 20, 2008
    Messages:
    802
    Country:
    Switzerland
    Thanks 0RANGECHiCKEN. I've been waiting a long time for this [​IMG]
     
  4. djdynamite123

    Banned djdynamite123 Master Of Hardcore!

    Joined:
    Sep 21, 2008
    Messages:
    3,791
    Location:
    Redcar, England UK
    Country:
    United Kingdom
    cool shit, ice actually begun to think that i don't even want loops, 30 seconds if that max,
    info on animation following soon?
     
  5. gundalf

    Member gundalf GBAtemp Fan

    Joined:
    Sep 26, 2008
    Messages:
    365
    Location:
    Germany
    Country:
    Spain
    Be warned, if it is too long. You can get "Corrupted Systemfiles" Errors!
     
  6. Mrkinator

    Member Mrkinator Neil Peart Wannabe

    Joined:
    Sep 28, 2008
    Messages:
    890
    Location:
    Great White North, Eh!
    Country:
    Canada
    How long is too long?
     
  7. djdynamite123

    Banned djdynamite123 Master Of Hardcore!

    Joined:
    Sep 21, 2008
    Messages:
    3,791
    Location:
    Redcar, England UK
    Country:
    United Kingdom
    Yeah soon as you hit the channel, ive tested the sound files, i think NON Loop, its over 1 minute just over..
     
  8. icefireicefire

    Member icefireicefire GBATemp Fails.

    Joined:
    Dec 19, 2008
    Messages:
    961
    Country:
    United States
    You can NOT use this with WADder [​IMG]. And there probably will never be [​IMG].
     
  9. 0RANGECHiCKEN
    OP

    Newcomer 0RANGECHiCKEN Member

    Joined:
    Dec 23, 2008
    Messages:
    11
    Country:
    United States
    Keep in mind though, that "corrupted system files" as it relates to the sound.bin is NOT a system brick. The Wii may crash if you cycle between channels too quickly that have large a large sound.bin. All you have to do is restart the Wii and you're good to go again. But still, the shorter, the better, really.
     
  10. Mrkinator

    Member Mrkinator Neil Peart Wannabe

    Joined:
    Sep 28, 2008
    Messages:
    890
    Location:
    Great White North, Eh!
    Country:
    Canada
    I understand that, in case you were referring to me [​IMG]
     
  11. WiiCrazy

    Member WiiCrazy Be water my friend!

    Joined:
    May 8, 2008
    Messages:
    2,391
    Location:
    Istanbul
    Country:
    Turkey
    Well no word of bns format and lz compression.. guess this is a different way of looping sounds unlike the sound.bin used in the homebrew channel...

    Or did I miss a certain part?
     
  12. djdynamite123

    Banned djdynamite123 Master Of Hardcore!

    Joined:
    Sep 21, 2008
    Messages:
    3,791
    Location:
    Redcar, England UK
    Country:
    United Kingdom
    yeah ive been testing sound.bin

    as i understand it, the wii can handle upto 45seconds i believe.....
    BUT if you CYCLE THROUGH PAGES, and it has over 30 seconds, SYSTEM FILES ARE CORRUPT will occur,

    Answer? KEEP UNDER 30 SECONDS!


    If you cycle through pages really fast, stay under 20 seconds!
     
  13. deba94

    Member deba94 GBAtemp Fan

    Joined:
    Aug 23, 2007
    Messages:
    317
    Location:
    Toronto, Canada
    Country:
    Canada
    Nah. It's just wav, looped. [​IMG]
     
  14. lolsjoel

    Member lolsjoel GBAtemp Advanced Fan

    Joined:
    Nov 19, 2003
    Messages:
    930
    Country:
    United States
    We'll be posting plenty more tutorials of similar nature in the future. So be sure to keep an eye out.
     
  15. afif95

    Member afif95 I own a bungalow on Mars, and booked 4 corner lots

    Joined:
    Nov 24, 2008
    Messages:
    1,805
    Location:
    Malaysia!
    Country:
    Malaysia
    Keep the looping sound under 30 seconds or the sound completely under 30 seconds?

    Nice tut by the way
     
  16. lolsjoel

    Member lolsjoel GBAtemp Advanced Fan

    Joined:
    Nov 19, 2003
    Messages:
    930
    Country:
    United States
    A looping sound will loop forever! So keep the loop under 30 seconds, or in my opinion, keep it under 15 seconds as more than that is just unnecessary. It's not the length of the sound.bin that causes problems, it's the size of the file that causes the Wii to crash if it's forced to load/unload/reload too quickly.
     
  17. Supercool330

    Member Supercool330 GBAtemp Advanced Fan

    Joined:
    Sep 28, 2008
    Messages:
    659
    Country:
    United States
    Lol I totally figured this out early yesterday morning and didn't get around to posting it until now. I am currently working on getting bns files to work. The only real advantage of bns over wav is that bns use adpcm instead of pcm (i'm fairly sure from comparing several bns files) so they should have better compression. The bns header also appears to be smaller, but I haven't quite figured it out yet (will get back to you when I have the structure figured out). Anyway, thanks for posting this (approximatly 2 hours after I asked on the irc channel and 30 minutes after I figured it out XD).
     
  18. nicksasa

    Member nicksasa GBAtemp Maniac

    Joined:
    Oct 25, 2008
    Messages:
    1,410
    Country:
    Belgium
    i found out how to do it in wadder replace the sound commands and put this in place
    Code:
    DEL C:\wadder0010001414247470000000_app_out\sound.bin
    COPY c:\sound.bin C:\wadder0010001414247470000000_app_out\sound.bin
    signmd5 C:\wadder0010001414247470000000_app_out\sound.bin
    then rename your looping wave file to sound.bin and put it in c:\ and there you have it an looping sound channel made with wadder [​IMG]

    BUT because it doesnt convert the sound file make sure its the right format !!
     
  19. Wiisel

    Member Wiisel GBAtemp Maniac

    Joined:
    Dec 4, 2008
    Messages:
    1,182
    Country:
    United Kingdom
    Thanks 0RANGECHiCKEN team all worked perfect for me just one question how do i listen to the sound with the loop on PC i had to make several wads as i could not figure how to test in the app how to play the full track the loop like it plays on the Wii.

    Keep up the good work guys [​IMG]
     
  20. RadioShadow

    Member RadioShadow GBAtemp Advanced Fan

    Joined:
    Aug 30, 2007
    Messages:
    525
    Location:
    UK
    Country:
    United Kingdom
    Cool guide.

    Is there a way to make WAVosaur play the part loops? Everytime I press the play button, it starts playing the file from the beginning of music file.

    EDIT: Well it plays the part you highlighted. Is it suppose to only play the non-looped when you first click the channel? It plays the looped part fine after it is viewed a second time.

    Oh, and the music stops if the Home button on the Wii is pressed (but that could be due to not using .bns format).
     

Share This Page