I’ve noticed that there is a Channel::setDelay call that delays the start time of a sound.
Currently I’m using designer 4.21.0.
Can you specify a delay using Fmod designer in later versions?
If not, can that be added to the feature request list please.
- mattconnolly asked 9 years ago
Channel::setDelay can delay the start of a sound [i:t17v2g26]or[/i:t17v2g26] extend the end of it:
[quote:t17v2g26]Using FMOD_DELAYTYPE_DSPCLOCK_START : Note! Works with sounds created with FMOD_SOFTWARE only. This allows a sound to be played in the future on an exact sample accurate boundary or DSP clock value. This can be used for synchronizing sounds to start at an exact time in the overall timeline.[/quote:t17v2g26]
docs for FMOD_DELAYTYPE
Delay at the end of the sound in milliseconds. Use delayhi only. Channel::isPlaying will remain true until this delay has passed even though the sound itself has stopped playing.
Time the sound started if Channel::getDelay is used, or if Channel::setDelay is used, the sound will delay playing until this exact tick.
Time the sound should end. If this is non-zero, the channel will go silent at this exact tick.
Time the sound should pause. If this is non-zero, the channel will pause at this exact tick. [/quote:t17v2g26]
- Guest answered 9 years ago
Start Delay both on events and sound definitions (so elements of and event can be delayed) with scope for randomisation between a minimum and maximum would be very useful indeed. Doing it with velocities is time consuming, unreliable and needlessly expensive at run-time. Also, I shouldn’t have to be asking my programmer to do sound design work for me.
- JeffOfDeath answered 9 years ago
Please login first to submit.