Change a lot of send in receive objects

Thinksamuel's icon

is there a way to change conveniently the send in a receive command? I have around 50 send objects and I need the corresponding receive but doing it all by hand would be quite tedious.

David Butler's icon

To dynamically send to different receive objects, use the 'forward' object.

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

To dynamically receive from different send objects, use a 'receive' object without an argument. An inlet will be created which allows you to set the send object to receive from.

Thinksamuel's icon

Thanks but that is not what I meant. I have 50 objects for example: send frequency1, send frequency2 et cetera. I have to create the corresponding receive frequency1, receive frequency2 objects. Doing that all by hand is tedious hence the question if I can somehow do it easier.

jvkr's icon

You could copy all the receive objects into an empty patcher, save it and open as text (maybe with a dedicated text editor). Then you could quickly find/replace-all.

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

you can do it easily by scripting: