-
... nthDef(\kick, {|out| var sig = SinOsc.ar(XLine.ar(start: 600,end: 50, dur: 0.1, doneAction: Done.freeSelf))*0.5; Out.ar(out, Pan2.ar(sig)); }).add; SynthDef(\hh, {|out| var sig = WhiteNoise.ar*EnvGen.kr(Env.perc(releaseTime: \release.kr(0.2 ...
-
... without a running server this method can be used. To run it (internally this is done by -play as well). . fadeTime . fadeTime = dt set the fadetime of all proxies as well as the default fade time . clock . clock = aClock set the clock of al ...
-
... the synth. send by default releases the last synth. if the synth frees itself (doneAction 2) spawn can be used. // first hit cmd-period. ~z.play; // monitor. this starts also the synth, if the group wasn't playing. ~z = { SinOsc .ar( ExpRa ...
-
... it can rescale parameter values by shift, scale, invert. AutoLoop - still to be done, records movements of one slider as an semi-autonomous loop. Class Methods . new make a new instance, with a key and a function to evaluate on playback. In ...
-
... below. It's often more practical to pass control specs as SynthDef metadata as done in Ex. 1a of Buffer Granulation Exercise Control your own (sustained) SynthDef with VarGui, either use SynthDef metadata or VarGui's argument 'synthCtr' fo ...
-
... Rand (430, 800), Rand (430, 800)], 0, 0.2) * EnvGen .kr( Env .asr(1,1,1), gate, doneAction:2) ) }); ) // once the SynthDef is sent, it can be assigned by name. // using this method, a gate argument should be // provided that releases the sy ...
-
... for all the melodic lines to end str.size.do{ |i| ~locks[i].wait; }; "Done".postln; }; // Unused ~finish = { }; /* Utility. If this instance of the pad generator is not already generating/playing something, ...
-
... (97..122) ++ (48..57) ++ $_.ascii ++ 127; states = Dictionary[ // matchItem is done on unicode value from keystroke // arrow keys, pass to default action of the view who has focus now (63232..63235) -> { |instance, view, char, modifiers, u ...
-
... ffer.sampleRate; dur.postln; BufRd.ar(1, w.buffer, Line.ar(startFr, endFr, dur, doneAction: 2)) }.play; ) // loop buffer segments with a Phasor: ( x = { arg start = 0, end = 128, playRate = 1; BufRd.ar(1, w.buffer, Phasor.ar(0, playRate * B ...
-
... Field A TextField that let's the user define a custom ControlSpec . This can be done in various ways: providing a regular ControlSpec : ControlSpec(20, 20000, \exp, 0.0, 440, " Hz") ) providing the name of a predefined spec as a Symbol : \f ...