An easy way to audition synthesis processes is to test them within a function. To do this, append a .scope or a .play message to a function. The .scope message, which works only with the internal server, displays a visual representation of a sound wave.
////////////////////////////////////////////////////////////////////////////////////////////////////
Boot (turn on) the server
Run this example, and look at the scope window.
////////////////////////////////////////////////////////////////////////////////////////////////////
Code can be transfered from a test function into a synthdef. In the following example, the code from the function (above) is the second argument to the Out ugen.
Expand a ugen to two channels with an array in any of the argument (control) slots.
Another (longer) way to write the same thing is
Expand a ugen to three channels by adding values to the array.
////////////////////////////////////////////////////////////////////////////////////////////////////
go to 12_UnaryOp_synthesis