-
... cay=0.01, attack=0.0001,sustain=0.1, famt=3, ffreq=1000, hdur=0.1| var snd, trig, decay; trig = Impulse.ar(0); decay = Decay2.ar(trig, attack, impdecay) * 1; snd = Mix(Ringz.ar(decay, freq*[1,2], sustain)); snd = snd + Mix(S ...
-
... endBundle(nil, [\c_getn, bus.index, bus.numChannels], [\n_set, synth.nodeID, \t_trig, 1]); }.loop }).play(SystemClock); { this.gui(layout) }.defer; } freq_ { arg f; freq = f; } free { updater.stop; // if there's a gui, drop it this.dependan ...
-
Simple amplitude trigger using Onsets, Amplitude and SendReply for sending triggers to sclang from SoundIn. ( // Simple amplitude trigger SynthDef(\ampTrigger, { |in| var snd = SoundIn.ar(in); var chain = FFT(LocalBuf(512), snd); ...
-
SetResetFF set-reset flip flop SetResetFF.ar(trig, reset) When a trigger is received the output is set to 1.0 Subsequent triggers have no effect When a trigger is received in the reset input, the output is set back to 0.0 One use of this is ...
-
... endBundle(nil, [\c_getn, bus.index, bus.numChannels], [\n_set, synth.nodeID, \t_trig, 1]); }.loop }).play(SystemClock); this.gui(layout); } freq_ { arg f; freq = f; } free { updater.stop; // if there's a gui, drop it this.dependants.do({ ar ...
-
... ************************************/ SynthDef(\IkedaClick, { arg out = 0, t_trig = 0, centerFreq = 15000, rq = 0.9, amp = 25, pan = 0, level = 1; var env, noise, sig; env = EnvGen.ar(Env.perc(0.001, 0.00001 * LFNoise1.kr(4).abs, 1, ...
-
... elp ( MIDIIn.connectAll; SynthDef(\SimpleSynth, { arg out = 0, freq = 1000, t_trig = 0, level = 0.2; var sig, env; env = EnvGen.kr(Env.adsr(releaseTime: 240), t_trig, doneAction: 0); sig = SinOsc.ar(freq, 0, env * le ...
-
... Come Out" by Steve Reich. It explores ryhtmic aspects created by phasing, retriggering, and pitch shifting. It "detours" the original audio message available here http://www.freesound.org/people/ERH/sounds/34667/ in which a ...
-
... var dry, loopgate, time, grainlength, grainframes, subcycles, cycles, grains, trigcounter, grainstart, grainend, rlvl, xfade, playenv, prelevelenv, env, player, phase, grainer, fx; // controls loopgate and rlvl trigcounter = Pulse ...
-
RunningMax track maximum level RunningMax.ar(in, trig) Outputs the maximum value received at the input. When triggered, the maximum output value is reset to the current value. in - input signal. trig - A trigger resets the output value to t ...