I’ve gone through the FMOD tutorial with the looping sound, and I can’t quite get it to do what I want.
What I would like is for a sound to play with an start followed by a loop. This easily done in many samplers and programs like Ableton Live.
The Fmod example has a start sound that crossfades into a loop sound and that crossfade is determined by the designer in terms of size and speed (parameter velocity).
What i would like is the for start sound to play exactly once in entirety followed by the loop which plays indefinitely until key off.
Image a musical loop which with an anacrusis or upbeat. You might hear the beats:
3i 4i 1 2 3 4 1 2 3 4 1 2 3 4 and so on
So "3i 4i" is the start and "1 2 3 4" is the loop.
I can’t seem to get this to work from in the Fmod designer…. can this be done?
- mattconnolly asked 9 years ago
If i set the velocity to 1.0 and set the start and end times of the sounds to match the duration of my start sound, I can get it "close" to what I want, but I’m hearing quite a glitch as the play point transitions from one sound to the next.
- mattconnolly answered 9 years ago
The most reliable way to do this is to insert a loop region into your source wave data using your wave editing software. Designer will detect the loop region and follow it when playing the sound.
[quote="mattconolly":1ysobf7r]If i set the velocity to 1.0 and set the start and end times of the sounds to match the duration of my start sound, I can get it "close" to what I want, but I’m hearing quite a glitch as the play point transitions from one sound to the next.[/quote:1ysobf7r]
The next release of Designer will include sample-accurate "Wait for previous" behaviour, which you can use to make this work without a glitch (and without needing to precisely align your sounds), but this will only be supported in the development branch of the API (4.23.02 onwards). Let me know if you want to see an example of this.
[quote="capybara":173kmatn]Does the interactive music system recognize loop markers too?[/quote:173kmatn]
However, it is quite easy to create a looping theme with an introduction using the interactive music system. Have a look at the "links, stop seg (country)" theme in examples.fdp. It’s triggered by the "country-arena" cue if you want to hear how it sounds.
Please login first to submit.