Skip to content

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 Pd and go to ToolsFind Externals. Search for jsobj and install it. Then create an object with declare -lib jsobj -path jsobj. Finally, use jsobj or any other object from jsobj.


Similar


    Comments

    Contributors