Open the debugging console and look at the script.js file for usage examples.

You must have input and output devices on channel 0 for the examples to work.