Skip to content
mohayonao edited this page Dec 7, 2013 · 1 revision
# examples

Class Methods

SynthDef([name], func, [rates], [prependArgs])

SynthDef (freq=440, amp=0.5, trig=1)->
  Out.ar(0, SinOsc.ar([freq, freq * 1.02]) * Decay.kr(trig, "2sec", mul:amp))
.play()

Instance Methods

send() / add()

play([target], [args], [addAction])

Clone this wiki locally