How To Make Loopable(ambience) Sound?

ukjinplantukjinplant Join Date: 2003-05-16 Member: 16360Members
edited February 2004 in Mapping Forum
<div class="IPBDescription">I made custom sound. please read me. T-T</div> I made BG sound WAV file. this sound file is good work, but not loop.

PCM 11.025 kHz, 16bit, Mono.

used CoolEdit 2.1 (and windows sound recorder)

so, I moved sound to ambience folder. but not loop still.

I don't know that must do how to do. Help me~ <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html//emoticons/sad.gif' border='0' style='vertical-align:middle' alt='sad.gif' /><!--endemo-->

Comments

  • BlackPlagueBlackPlague Join Date: 2004-02-02 Member: 25990Banned
    if your talking about mapping then,make an entity "ambient_generic" and then set it to ur desire, then go to flags, and then make sure u dont select is not looped.

    if anything else then i have no other clue.
  • watch_me_diewatch_me_die Join Date: 2002-11-10 Member: 8107Members
    You need to put loop points into the sound so HL knows which part to loop, I think.
  • MarrMarr Join Date: 2002-12-11 Member: 10582Members
    [watch.me.die] is right. Ambient wav files without loop flag will not loop.

    When I was working on my ambience pack, I found it easiest to grab a file with a loop point already there and copy+paste your own sound into it, then save.

    In CoolEdit they look like little blue flags at the bottom of the sound.
  • ukjinplantukjinplant Join Date: 2003-05-16 Member: 16360Members
    ah... I found it -_-
    How to make loopable custom sound.

    The Basics

    The hard part of this is finding a good sound file, as the beginning and the end of the file have to transition smoothly. Once you have, you need to make it conform with the following parameters to make it loop in Half-Life:


    Sound files must be in "wav" format.

    Sound files must be 22 040 Hz, 8bit and mono

    Waves need two "cue points" - at the start and end - in order to loop.

    Sounds should be in folder #:\sierra\half-life\valve\sound. To keep things tidy, I prefer using the ambience folder for ambient sounds.

    To do all this, you need a sound editing program like Cool Edit 2000, which can make "cue points" for your wav and save in the required format. Here are other audio editors if you didn't like Cool Edit 2000.

    Example - using Cool Edit 2000


    Open your wav file in Cool Edit.

    Click "cue list" from the view -> scrolldown menu.

    Click once at the start of your wave and click add in the cue listing menu.

    click once at the end of your wave and click add in the cue listing menu.

    Click done and save your sound to #:\sierra\half-life\valve\sound\ambience folder.

    Then, in your map editor, create an ambient_generic using your new sound. By default it will now loop, playing it over and over and over... which is why the hard part is choosing a good sound.
  • amckernamckern Join Date: 2003-03-03 Member: 14249Members, Constellation
    or be lazzy like me, and use mp3, and the loop flags found in that

    amckern
  • MarrMarr Join Date: 2002-12-11 Member: 10582Members
    <!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->Sound files must be 22 040 Hz, 8bit and mono

    Waves need two "cue points" - at the start and end - in order to loop.<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->

    You're right about how wav files must be monoaural. I could never get stereo wavs to play.

    Regarding format: I find any 8-bit sound, whether it's 11Hz or 22Hz, too grainy for my ears. It sounds annoying and unprofessional. I recommend 11Hz 16bit for a good size/quality ratio. 22Hz 16bit wavs sound great but the file size gets large very quickly.

    Also, the wav files in my ambience pack have no end cue points--only start cue points--and they loop fine.

    By the way. MP3 files can be stereo or mono but require no loop points at all. It's difficult to get an MP3 file to sound good when it loops, though, because there's always a small gap at the start and end of the file (this is where the ID3 tag data are stored, apparently).

    For reference, check the Official Release Thread in the Customization forums and download Marr's Ambience Pack. Version 2.0 is the latest; I'm working on 3.0 but it won't be ready for release for a few more weeks.
  • watch_me_diewatch_me_die Join Date: 2002-11-10 Member: 8107Members
    </shameless plug> <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html//emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' /><!--endemo-->
  • VarsityVarsity Join Date: 2004-01-29 Member: 25687Members
    Bump.

    How do you make a random 'spark' sound play every time a light flickers on and off?
  • Anime_Tentacle_MonsterAnime_Tentacle_Monster Join Date: 2003-01-06 Member: 11931Members
    edited February 2004
    <!--QuoteBegin-Varsity+Feb 5 2004, 11:40 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Varsity @ Feb 5 2004, 11:40 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Bump.

    How do you make a random 'spark' sound play every time a light flickers on and off? <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    Put it on the same multi manager as the light

    -e-

    I may as well add at the same time <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html//emoticons/wink.gif' border='0' style='vertical-align:middle' alt='wink.gif' /><!--endemo-->
  • VarsityVarsity Join Date: 2004-01-29 Member: 25687Members
    edited February 2004
    edit: nm thx. <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html//emoticons/wink.gif' border='0' style='vertical-align:middle' alt='wink.gif' /><!--endemo-->
  • VarsityVarsity Join Date: 2004-01-29 Member: 25687Members
    Ah wait. I want the sparks to play every so often next to a light with appearance set to 'Flourescent Flicker'. How do I do that?
  • amckernamckern Join Date: 2003-03-03 Member: 14249Members, Constellation
    add an env_spark

    amckern
  • Anime_Tentacle_MonsterAnime_Tentacle_Monster Join Date: 2003-01-06 Member: 11931Members
    that'll work if he dosent want them to occur simultaniously...
  • VarsityVarsity Join Date: 2004-01-29 Member: 25687Members
    Ugh, if anyone can get a decent routine going, send me back the rmf.
  • VarsityVarsity Join Date: 2004-01-29 Member: 25687Members
    edited February 2004
  • VarsityVarsity Join Date: 2004-01-29 Member: 25687Members
    I'll cry if no-one can make anything of it. <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html//emoticons/sad.gif' border='0' style='vertical-align:middle' alt='sad.gif' /><!--endemo-->
Sign In or Register to comment.