-
... but it will pick up that note from any port, any channel }, num: 60); ) // when done ~noteOnResp.remove; Triggering a pattern by signal amplitude Triggering a pattern based on audio amplitude is a bit trickier -- not because it's harder to ...
-
... Rand (200.0, 400.0), // frequency between 200 and 400 Hz 0, Line .kr(0.2, 0, 1, doneAction:2)) // frees itself ) }).play(s); ) x.free; Clocks, such as SystemClock , provide a way to schedule things at arbitrary points in the future. This is ...
-
... , num, veloc| notes[num].release; }); q = { on.remove; off.remove; }; ) // when done: q.value; The MIDIIn help file contains a more elaborate example. SuperCollider does not have a built-in class to handle this automatically. However, dewdr ...
-
... i // replace NodeProxyEditor , ProxyMonitorGui ProxyMixer NdefMixer still to be done: (ProxyChain) ProxyChainGui (PxPreset) PxPresetGui (maybe SoftSet) Creation *new (object, numItems, parent, bounds, options, makeSkip) Create a new JITGui ...
-
... ain=1, amp=1, pan; var env, u=1; env = EnvGen .kr( Env .perc(0.03, sustain), 1, doneAction:2); 3.do { var d; d = exprand(0.01, 1); u = SinOsc .ar(d * 300, u, rrand(0.1,1.2) * d, 1) }; Out .ar(out, Pan2 .ar( SinOsc .ar(u + 1 * freq, 0, amp * ...
-
... 4. beatsPerBar_(newBeatsPerBar) sets the number of beats per bar. This must be done from within the scheduling thread, e.g. t.schedAbs(t.nextBar, {t.beatsPerBar_(3)}); bar returns the current bar . See bars2beats for returning beat of curr ...
-
... 1000, 0, 966.35247802734 ] [ /tr, 1000, 0, 629.31628417969 ] o.remove; // when done, you need to clean up the OSCresponderNode If you need to track multiple values, you can store them in a collection of arrays and differentiate them by ass ...
-
... d into Class Methods and Instance Methods. Detailed general explanations can be done at the top of the document or at the top of each relevant section. It is often appropriate to document getters and setters or other closely related methods ...
-
... 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 ...
-
... 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 ...