Let me start with what it is that I want to do. I would like to set up an event so that every time it is triggered, it loops over a sound a random number of times (or for a random number of seconds, if you will), and then it stops.
I knew about the method using consecutive transition markers with increasingly larger percentages, but then I realized I could achieve something closer to what I wanted, using a loop region conditioned to continue looping only if the value of a certain parameter was between 0 and 0.99, then setting that parameter’s velocity to increase over time so that it would eventually reach 1, thus ensuring the event would not loop perpetually, and finally creating a random modulator for the parameter’s value, so that the event started with a random initial parameter value each time, resulting essentially in a random number of repetitions of the sound (within a certain range of course).
All is well and brilliant, and it should have worked, but it doesn’t. After some testing and tweaking, it seems that whenever I added the modulator in the setup and fired up the event, most of the times the velocity would increase the parameter value only up to some arbitrary value before 1, then stop and remain there for all eternity. Is this a bug, or am I missing something obvious?
Thank you in advance!