XNA Creators Club Online
Page 1 of 1 (2 items)
Sort Posts: Previous Next

Add Effects to a sound that is playing.

Last post 6/1/2009 11:58 PM by Ashu Tatake. 1 replies.
  • 5/30/2009 1:41 AM

    Add Effects to a sound that is playing.

    Hi. I have a song that is looping as you run along on the map. the player have the option to expolre a cave and as he enters the cave I would like to add an effect to the song that is being played; reverd echo and som dampening would sound nice. well I could make a cross fade to another version of the song which has all of these effects added to it but that just doesn't sound right.
    Anyone know how to fix this? just the reverb or echo will do nicely.
    P.S
    are there any advanced tutorials for Xact somewhere?
    D.S
    /crim
  • 6/1/2009 11:58 PM In reply to

    Re: Add Effects to a sound that is playing.

    If you're using XACT it should be easy to do this -

    1. Create a reverb effect (under the DSP Effect Path Presets node)
    2. Attach the sounds from the cue to the reverb.
    3. Create a global variable (say "CaveDistance") and set its properties like range.
    4. Create an RPC Preset which will open the RPC editor. Add a curve that's controlled by "CaveDistance" for a reverb parameter (say wet/dry mix).


    Now you should be able to control how much reverb gets applied to your sounds by using the CaveDistance variable in the game.
    Ashu Tatake
    XNA Framework Developer
Page 1 of 1 (2 items) Previous Next