Audiokinetic Wwise Knowledge Base

Create repetitive sounds (like machine gun fire)

For this example, we want to create a rapid-fire machine gun type sound using both a single gun shot sound and a single “Play” event action.
  1. Import your single gun shot sound into Wwise as a Sound SFX.
  2. Add your single gun shot sound as a child object of a Sequence Container.
  3. Add (via drag and drop) the child sound to the Sequence Playlist.
  4. Set the containers behavior to continuous, looping.
  5. Enable the “Trigger Rate” transition option for the Sequence Container. This value will determine the rate at which the gun Sound in the Sequence list will be played. For this example, use a value of about “0.05” to start.
  6. Now play the Sequence Container using a simple Play event action.
  7. You now have a repeating Machine Gun Sequence Container.

What makes this sound real is that the gun sound is being played completely at each trigger. Since low trigger rate transition values have the potential to use up many playing voices, it is a good practice to limit the number of sound instances that can be played on the Advanced Settings tab.
In order to stop playing the Machine Gun Sequence Container, you have the option of using the “Break” or “Stop” event action.
  • The “Break” event action causes the Machine Gun Sequence Container to stop triggering new machine gun sounds, allowing the currently playing sounds to finish playing. Note that there is no fade out time property option available for the “Break” event action.
  • The “Stop” event action causes the Machine Gun Sequence Container to stop triggering new machine gun sounds and stops all currently playing sounds as well. Unlike the Break event action, the Stop action contains a fade out property so that you can fade out the sounds that are stopped.

 
Be sure to reference the following Knowledge base article to review limitations and restrictions when using trigger rate transitions:

Limitations and Restrictions with Trigger Rate Transitions




Article Details

Last Updated
17th o February, 2010

Would you like to...

Print this page Print this page

Email this page Email this page

Post a comment Post a comment

Subscribe me

Add to favorites Add to favorites

Remove Highlighting Remove Highlighting

Edit this Article

Quick Edit

Export to PDF

User Opinions (0 votes)

No users have voted.

How would you rate this answer?



Thank you for rating this answer.

Related Articles

Attachments

No attachments were found.

Continue