< Back to IRCAM Forum

Randomly extract n-amount of midicents within range

Hello,

I would like to have a list of midicents (like the second output of a chord-object) go through a function that extracts an n-amount of pitches randomly within a range defined by min. and max. midicents.

The image is an example of what the process and result would be.

thank you

I would do something like that:

THe patch:
Patch 26.omp (4.8 KB)

Best
K

Thanks, sorry for not finding this function myself.