MIDI-Counter / MIDI Chain Selector troubleshooting

Michael Pleitner's icon

Sorry, I am new to Max and desperately need help . I try to create a patch that counts a chain selector in a different track: Everytime a MIDI Note comes in, the Chain Selector should count one up.

I had no problem to create the actual counter: MIDI IN -> NOTE IN->Stripnote->Counter->Numer->LIVE.numbox

That Part works fine.

Then I tried numbox -> prepend set -> live.object (left Inpunt)

live.thisdevice -> live.path live_set tracks 1 devices 0 parameters 0 -> live.object

and get a live.object "Invalid Syntax"

can you help me???

Thank you

TFL's icon

Please consider sharing what you have so far so we don't have to rebuild your patch ourselves.

Select the relevant objects implied in your problem, then Edit > Copy compressed, then paste here.

Michael Pleitner's icon

Hi thank you for your advice!

Here are the relevant objects:

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

TFL's icon

Assuming you want to control the chain selector of the first device (must be a Rack device) on the first track of the Live set, the correct path is: live_set tracks 0 devices 0 chain_selector

and the correct message to set it is set value <chain number>

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

Michael Pleitner's icon

Thank you so much! It works like a charm now!