0
0

I’ve got a sound that’s got a start and loop similar to the example in the FMOD manual, and I’ve got two parameters:

  1. Controlling the transition from start to loop (primary)
  2. Modulating pitch with a sustain point to reflect the start and end of the sound.

It seems from the designer that each parameter can have its own independent sustain point AND key off.

After the key off, I want the sound to stop, which I can configure by adjusting the end of the sound definition along the parameter axis.

I can get the sound to play the way I want, but only if I send the key off to parameter 2 (by selecting that parameter with the mouse). After the key off is sent the sound ends when that parameter reaches the end of the sound definition.

I expected the key off to work like releasing a key on a sampler in that it keys off every layer in the sound.

Two things confuse me:

Firsty, I thought the sound would stop for the primary parameter, since as far as I understand that’s the parameter that controls which sound definition plays. It seems that the end of the sound is controlled by the "first" parameter, not the "primary one". Perhaps this is a bug, but it lets me do what I want.

Secondly, will I have to instruct the coders which parameter to send the Key Off message to?

  • You must to post comments
0
0

[quote="mattconnolly":55e896tf]I’ve got a sound that’s got a start and loop similar to the example in the FMOD manual, and I’ve got two parameters:

  1. Controlling the transition from start to loop (primary)
  2. Modulating pitch with a sustain point to reflect the start and end of the sound.[/quote:55e896tf]

Why are you using two parameters for this? It seems like it would be easier to coordinate things with a single parameter.

[quote="mattconnolly":55e896tf]It seems from the designer that each parameter can have its own independent sustain point AND key off.[/quote:55e896tf]

This is correct.

[quote="mattconnolly":55e896tf]Firsty, I thought the sound would stop for the primary parameter, since as far as I understand that’s the parameter that controls which sound definition plays. It seems that the end of the sound is controlled by the "first" parameter, not the "primary one". Perhaps this is a bug, but it lets me do what I want.[/quote:55e896tf]

The end of the sound is controlled by whichever parameter is set as the layer’s Control parameter in the layer properties (right-click on the layer controls).

[quote="mattconnolly":55e896tf]Secondly, will I have to instruct the coders which parameter to send the Key Off message to?[/quote:55e896tf]

Yes, you will. However, it sounds like you could redesign your event to have only one parameter. If you want, you can email your FDP to support@fmod.org and we may be able to suggest ways to simplify it.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.