Simple (I hope!) midi repeater with variable velocity

leemorgan's icon

Would appreciate some help with this simple idea: all the solutions I've tried look very complex, there must me an easier way.

It's just a patch that works like a keyboard auto-repeat (i.e. a chord is held, and whilst it's held, is repeated with a regular pulse).

The complication is that I want the velocity of each hit (of each different pitch, not the whole chord) to vary randomly.

This works (see below) but before I start adding voices - how do I handle note offs?

Thanks,

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

Lee

leemorgan's icon

(I've tried searching for things called 'midi auto-play' and 'repeater' but perhaps I'm calling it the wrong thing?)

Andrew Pask's icon
leemorgan's icon

Thanks Andrew. Never used 'bag' before…

I think what I'll have to end up doing is a convoluted version of a 'poly' object, but with note-offs coming through it as well somehow. Going to be messy!

Mike S's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Makenote will deal with note offs, this should work

leemorgan's icon

THanks so much Mike - that is very elegant, and does indeed work!