Tag midi notes with a random #

chapelier fou's icon

Do you know a smart way to give a random tag (like a prefix) to incoming notes ?
The issue is to track notes so notes-off are given the same prefix than the notes-on.

chapelier fou's icon

I think I mainly got it :

Max Patch
Copy patch and select New From Clipboard in Max.

double_UG's icon

you can use the the voice "Voice Allocation Number" or "Event Number" or of borax. The Notes Off get the same number

chapelier fou's icon

It doesn't work for what I'm trying to achieve as it's not random. It's counting from 1 in ascending order.

double_UG's icon

Max Patch
Copy patch and select New From Clipboard in Max.

chapelier fou's icon

Sorry, I don't get what your patch is doing.

chapelier fou's icon

This seems to work perfectly :

Max Patch
Copy patch and select New From Clipboard in Max.