//create & connect a sine to output
//frequency of 180 and detune of 120
__().sine({frequency:180,detune:120}).dac(.25);
//create a sine with a frequency of 360
__().sine(360).connect("dac");
//one more sine - default frequency of 440
__().sine().connect("dac");
//start all sines
__("sine").start();
Square
//create & connect a square to output
//frequency of 180 and detune of 120
__().square({frequency:180,detune:120}).dac(.10);
//create a square with a frequency of 360
__().square(360).connect("dac");
//one more square - default frequency of 440
__().square().connect("dac");
//start all squares
__("square").start();
Sawtooth
//create & connect a sawtooth to output
//frequency of 180 and detune of 120
__().saw({frequency:180,detune:120}).dac(.15);
//create a sawtooth with a frequency of 360
__().saw(360).connect("dac");
//one more sawtooth - default frequency of 440
__().saw().connect("dac");
//start all sawtooths
__("saw").start();
Triangle
//create & connect a triangle to output
//frequency of 180 and detune of 120
__().triangle({frequency:180,detune:120}).dac(.25);
//create a triangle with a frequency of 360
__().triangle(360).connect("dac");
//one more triangle - default frequency of 440
__().triangle().connect("dac");
//start all triangles
__("triangle").start();