I would like to create object (let say unpack) with outlets equal to the specific argument (let say unpack_length). So when unpack_length = 5, unpack with 5 outlets is created.
The problem is - how to put those args in this line of code:
unpack = this.patcher.newdefault(500, 100, "unpack", "unpack_length");
I now how to split a string in js, but got no idea how to put single args in the line of code above.
Any help will be appreciated!