-
... p: 0.1, div: 0.5).play; */ ( SynthDef('dirac', { arg out=0, amp=1.0, pan=0; var trig; trig = Impulse.ar(1); FreeSelf.kr(trig); OffsetOut.ar(out, Pan2.ar(trig * amp, pan)) }, [\ir, \ir, \ir]).add; ); ( // main grain, classic gabor. SynthDef( ...
-
... \ampTest, input: { Ndef.ar(\thatSound) }, callback: { |result| result.postln }, triggerFunction: { Impulse.kr(10) } ); ) // instead of a sound function, you can also pass in an Ndef directly. ( That.amp( name: \ampTest, input: Ndef(\thatSou ...
-
... e); // Receive and Sample the feedback fbIn = Latch.ar( in: (LocalIn.ar + 1)/2, trig: Impulse.ar( freq: sampleRate)); fbIn = (fbIn * notes.abs * env).round(1); fbIn = (fbIn * interval).midiratio; // Make The Sound snd = LFTri.ar( freq: freq ...
-
// wslib 2010 // // the lang-side counterpart of SendTrig and SendReply // /* // example 1: x = { SendTrig.kr( Impulse.kr(1), 10, WhiteNoise.kr ) }.play; ReceiveTrig( x, _.postln ); x.free; // automatic removal // example 2: r = ReceiveTrig ...
-
... ', {arg freq=3 -> [0.01, 100, \exp], decayTime=0.025 -> [0.0001,0.1, \exp]; var trig; trig = Decay.kr(Impulse.kr(freq), decayTime); Gate.ar(\in, trig)} ], [ 'cut2', {arg freq=3 -> [0.01, 100, \exp], decayTime=0.025 -> [0.0001,0.1, \exp]; va ...
-
... ); y.release; v = Voicer(1, Syn(\default), [pan: Plug({ LFDNoise3.kr(1) })]); v.trigger1(440); v.release(440); v.trigger1(440); v.trigger1(660); v.release(660); v.nodes[0].initArgs s.sendMsg(\n_trace, 1000) // slurs? ( ( keys: #[master, rvb ...
-
... ignals are passed to SC as blocks, so there is some latency between when e.g. a trigger happens at the analog audio input, and when it is detected with e.g. a Trig Ugen. While this latency can be set directly with some utility software for ...
-
... small values are quite noticable) // voice (changes harmonics) // rate (impulse trigger rate) ( SynthDef(\supergrind, {|out, pan, freq, sustain, accelerate, detune=0, voice=0, rate=1, speed=1| var env, trig, loop; freq = (freq * DirtFreqSca ...
-
... nels, setting); } initRandomPanner {arg server, channels, setting; var volSpec, trigfreqSpec, strengthSpec, params, s; s = server ? Server.default; // mono SynthDef(\xiiRandompanner1x2, { arg inbus=0, outbus=0, trigfreq=10, strenght=0.81; v ...
-
... rg // ensures that array field setting is done in parallel to // other settings triggered by the event. ( // continously subtract and add 7 overtones p = Pbind ( \type , \rest , \dur , 0.2, \otAmp , Pstutter (7, Pseq ([0,1], inf )), \amp , ...