< Back to IRCAM Forum

Group a list…

Dear Karim,

I would like to group a series of notes according to a list of numbers.

If I use (2 1 3 4 2) I would like to have ((n1 n2)(n3) (n4 n5 n6)(n7 n8 n9 n10)(n11 n12))

Thank you in advance,

Best,

Jerome

Dear Jerome,

Like this maybe?:

Screenshot_2023-08-06_15-49-51

The patch:
groupalist.omp (2.9 KB)

Best
K
PS: Next time to be sure OM users can locate your topic please don’t forget to tag it unde OpenMusic. :slight_smile: