Send audio from one device to another instance of the device on the same track

Blair's icon

I want to be able to send audio from the first instance of a device to any other instance within the instrument / effect thingy. BUT I only want it to send / receive for that track, so if I had multiple instances on another track it would not receive any sound from other audio/midi tracks. Any ideas?

Wil's icon

checkout help files for send~ and receive~

here is send to different subpoatcher

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

here is sending to the same subpatcher

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


Blair's icon

thanks, i am also wondering how to tell if a m4l device is the first instance of itself within the current effect rack but I will ask in a separate post right now.

Rivanni's icon

The last number of the path will tell you: live_set tracks 0 devices 0

I made an example patch that loops through all devices in a track. When it finds a device with a specific name, it searches for the path with the lowest number on the end.

It prints the path and id of the first instance of a device.

Perhaps it can be done in a simpler way, but when tucked away in a sub-patch, who knows? ;)

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