< Back to IRCAM Forum

Rhythm Interpolation with Rests

Hello!
I’m trying to create an interpolation between two rhythmic cells with rests: (-500 500 -500) => (500 -500 500). The problem occurs when the duration reaches 0 value, something that the om-quantify seems to ignore, whereby “with the given constraints, some notes are lost while quantizing”. I’m using the Profile interpolation function, which appears to be working just fine. See the attached patch.

My goal is to create a rhythmic sequence that morphs between two rhythmic cells consisting of the same number of elements, including rests (negative nums) that occasionally become full rhythm values (positive nums). I welcome your suggestions!
Thank you!

rhythmic-interpolation.omp (8.66 KB)

Hi nagymusic,

Tool a look on your patch. I don’t know profile lib, but nevertheless, the trouble in your approach is that this type of interpolation can yield zero duration which is not possible to render as a rhythm. There’s no such thing as a zero duration. So you will have to remove all zeros in order not to have the “skips”.

Best
K

Thanks! I thought that was the case, but I just wanted to check in case there might be an alternative way to do this, mainly as an experiment. In any case, filtering out “zero durations” may be a way to move my project forward.