bpatcher and javascript
I'm sorry if this has been covered, but I wasn't able to find any definitive answer to this through searches. How does one dynamically create bpatcher objects while being able to set the "Patcher File" attribute using javascript?
I am currently using a non-javascript solution involving scripting messages being sent to thispatcher, but this is unwieldy and I would like to move away from it. Any help would be appreciated.
I have the exact same question.... but it seems like this answer is out of date--you don't need a compiler for javascript do you?
function add() {
var myobj = this.patcher.newobject("bpatcher");
//load a patch into the bpatcher
myobj.replace("yourfilename.maxpat"); // name and extention of the patches
}