jsobj
jsobj is a helper wrapper for pdjs that loads and executes a JavaScript file, allowing Pd messages such as bangs, floats, lists, and named calls to invoke JavaScript functions. Create it with a script filename and optional arguments, as in jsobj jsobj-help.js arg1 arg2; those arguments are available in JavaScript through the jsarguments property, and compile recompiles the source.
AI Generated
This content was generated with the assistance of AI. If you notice any errors, please report them or submit a fix using Submit. Check the prompt used here.
- Download via Deken.
Open
Pdand go toToolsFind Externals. Search forjsobjand install it. Then create an object withdeclare -lib jsobj -path jsobj. Finally, usejsobjor any other object fromjsobj.