0
0

I’m fairly new to FMOD designer, so be patient with me. :)

I have a sound definition which contains five distinct waveforms. I’m trying to figure out a way to create an event that will play one of the waveforms at random, every 1.5 seconds or so. The problem I’m having is that each waveform is longer than 1.5 seconds. I want the next sound to play before the previous one ends, so that they sort of dovetail with each other. I haven’t been able to come up with a way to do this that doesn’t cause sounds to get cut off.

I’m hoping that there’s a simple solution to this problem that I’ve just overlooked. Any help would be very much appreciated!

  • You must to post comments
0
0

[quote="luckysnorkel":1ktcyds8]I’m fairly new to FMOD designer, so be patient with me. :)

I have a sound definition which contains five distinct waveforms. I’m trying to figure out a way to create an event that will play one of the waveforms at random, every 1.5 seconds or so. The problem I’m having is that each waveform is longer than 1.5 seconds. I want the next sound to play before the previous one ends, so that they sort of dovetail with each other. I haven’t been able to come up with a way to do this that doesn’t cause sounds to get cut off.

I’m hoping that there’s a simple solution to this problem that I’ve just overlooked. Any help would be very much appreciated![/quote:1ktcyds8]

Sounds like you need to use the ‘spawn’ behavior. Spawning is the process of a sound definition triggering a new playback instance…kind of like looping, but allows the sound definition to choose a new waveform and overlap each repeat.

Try:

  1. Create a sound def. with 5 waveforms (as you have already done)
  2. Add an instance of the sound def to the layer, as one-shot (no loop)
  3. In the sound def. properties set the minimum and maximum spawn time to 1.5 seconds (1500)
  4. Set the maximum spawned sound to 2.
  5. Set the Play Mode to random.

Give that a go, and let me know if it solves your problem.

cheers,
Templar

  • You must to post comments
0
0

Perfect! That does the trick. Thanks so much.

[quote="Templar":oiijyjjr]Sounds like you need to use the ‘spawn’ behavior. Spawning is the process of a sound definition triggering a new playback instance…kind of like looping, but allows the sound definition to choose a new waveform and overlap each repeat.

Try:

  1. Create a sound def. with 5 waveforms (as you have already done)
  2. Add an instance of the sound def to the layer, as one-shot (no loop)
  3. In the sound def. properties set the minimum and maximum spawn time to 1.5 seconds (1500)
  4. Set the maximum spawned sound to 2.
  5. Set the Play Mode to random.

Give that a go, and let me know if it solves your problem.

cheers,
Templar[/quote:oiijyjjr]

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.