Send a list to an object in a bpatcher

    Apr 07 2014 | 11:39 pm
    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

    • Apr 08 2014 | 12:38 am
      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.
    • Apr 08 2014 | 12:44 am
      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]);