-
/* This is a SynthDef cobbled together from some other modal percussion SynthDefs I've worked on recently. The frequencies come from a model for a square-shaped membrane clamped at the edges (see squareDrum for more on that). However, for t ...
-
... fault is 1. You cannot modulate this number by assigning it to an argument in a SynthDef. When the various output ugens ( Out , OffsetOut , XOut ) write data to a bus, they mix it with any data from the current cycle, but overwrite any data ...
-
... name. dict_(a dictionary) set the dictionary to be used // example: ( // load a synthdef s.boot; SynthDef ( "gpdef" , { arg out=0, freq=440, sustain=0.05, amp=0.1, pan; var env; env = EnvGen .kr( Env .perc(0.01, sustain), doneAction:2) * am ...
-
... for details of makeBundle's arguments. s.boot; ( // send a synth def to server SynthDef ( "tpulse" , { arg out=0,freq=700,sawFreq=440.0; Out .ar(out, SyncSaw .ar(freq, sawFreq,0.1) ) }).send(s); ) // all OSC commands generated in the funct ...
-
... ts_02 d = (); // create a new environment d.push; // push it to current // this synthdef can be changed on the fly, but the synth will // not change from this. use expression [1] for replacing a given synth ( SynthDef ( \x , { |freq=440| Ou ...
-
... e, sliderBackground: Color.grey(0.9), numNormalColor: Color.grey); // SynthDefs { SynthDef("addsynth", { arg freq = 440, amp = 0.1, gate = 1, att = 0.01, dec = 0.3, sus = 0.5, rel = 1; var snd, env; env = EnvGen ...
-
... . Inherited class methods Instance Methods Inherited instance methods Examples SynthDef("help-Stepper", { |out = 0| Out.ar(out, SinOsc.ar( Stepper.kr(Impulse.kr(10), 0, 4, 16, 1) * 100, 0, 0.05 ) ) }).play; SynthDef("help-Stepper", { |out ...
-
... odulatable lag time for all parameters. subclass responsibility . def The class SynthDef according to a standard. Inherited class methods Instance Methods . cvs Dictionary with all Ref objects. (used to be CV objects) . cvsToParam Look up S ...
-
... t more spatial. ( //Global sinusoidal envelope simulates passing of the storm SynthDef (\global, { arg uitbus, duur; Out.kr(uitbus, EnvGen.kr(Env.sine(duur, 1), doneAction: 2)) }).send(s); ) //Rain // metal sound ( SynthDef (\ ...
-
... Inherited class methods Instance Methods Inherited instance methods Examples ( SynthDef("help-LFNoise1", { arg out=0; Out.ar(out, LFBrownNoise1.ar(1000, 1, MouseX.kr(0, 5), 0.25) ) }).play; ) //use as frequency control ( SynthDef("help-LFN ...