Send a list to an object in a bpatcher
Hi,
I have a bpatcher, which is made with .js, and inside there is an object (a route with an inlet and an outlet).
How can I send a list to that route object? Everything was made with .js so they are all assigned variables within my code, and also scripting names. Sorry, I am just having a slow day. Thanks
How about a receive object connected to route? Send/receive are global so you can send lists from anywhere. Or you can create a value object connected to route in the bpatcher and input the lists in a value object of the same name in a parent patcher.
Nice.
So in terms of message formatting is it is then as simple as:
var n = this.patcher.newdefault(100, 100, "receive");
n.message("list", 54, 45, 454);
// or n.message("list", [54, 45, 454]);