Transposing midi delay - how to include note-offs?

leemorgan's icon
delay1.maxpat
Max Patch

Hi - how do you delay a midi signal that has a transposed note in it?

I've been messing around with join / buddy etc. because I'm assuming (wrongly?) that the note offs aren't syncing up because the pitch is going though a pipe object. But even with two identical pipes, or with trying to pack them into a list, and delaying that, doesn't work.

Can I get any advice on the right way to do this apparently simple thing?

Many thanks!

Lee

Source Audio's icon

Simple thing ?

You generate random length and transposition values

on EACH midi input, no matter if it is a note on, note off, pich bend,

aftertouch ... etc ?

how do you want to keep trace of notes that you transposed, in order to turn them off ?

then - is this wanted so ?

I mean inverted - 6 ?

You MUST insert clip 0 127 to avoid out of range midi values.

double_UG's icon

i usual make it this way. xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

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

Source Audio's icon

just a small typing correction ...

would it not be a bit simpler like this :

for multipe transpositions, I'd use vexpr

leemorgan's icon

Thanks both - great solutions, and has taught me so much.

Lee