-
... ,20000)) ; // generate a trigger signal for the pulsar waveform playback trig = Impulse.ar(fundfreq); pulseReader = EnvGen.ar(Env([0, 1, 0], [pulseDur, 0]), trig); // Envelope for the waveform envelope = EnvGen.ar(Env.perc(0, pulseDur, curv ...
-
... bits=16, downsamp=2| var krushStep = 0.5 ** (bits + 1); var down = Latch.ar(in, Impulse.ar(SampleRate.ir / downsamp.max(2))); // below 1/2 downsamp, do xfade: blend(in, down, (downsamp - 1).clip(0, 1)) .round(krushStep); }, 1, ( \bits: [16, ...
-
... n't create new instances of this class. An Example: ( SynthDef ( \mtFun , { arg impulseFreq, oscFreq, mul, pan, distort, decay; var trig = Impulse .ar(impulseFreq); var snd = SinOsc .ar(oscFreq, 0, Decay2 .ar(trig, 0.01, 0.2 * decay)); Out ...
-
... 0)); SinOsc.ar(0).linlin(-1, 1, 10000, 19000)) x.free a.plot(duration: 0.15) // impulse a = BBlockerProgram([\ORG, \NOT, \NOT, \NOP, \NOP, \NOP, \NOP, \NOP, \JMP, 1]); x = a.play(190); a.plot(duration: 0.001) // pulse ( var pulsewidth = 22; ...
-
... ; z.remove; // when done, you need to clean up the OSCresponderNode SendTrig.kr(Impulse.kr(1), 0, freq); // in synthdef */ // uses a delay of two blocks to avoid transient mangulation by supernova // args: \note, #[ midiPitch60 == no transp ...
-
... tion CombL .ar( // a comb filter used as a string resonator Dust .ar( // random impulses as an excitation function // an array to cause expansion of Dust to n channels // 1 means one impulse per second on average Array .fill(n, 1), 0.3 // a ...
-
... 0.3); // L and R envelopes #env1, env2 = EnvGen.kr( Env.perc(releaseTime: 0.3), Impulse.kr([5, 3]) ); // Stereo input in = [ inL * env1, inR * env2 ]; lfo = LFSaw.kr(0.1).range(0, 2pi); out = BlumRotate.ar( in: in, angle: lfo ); // compare ...
-
... lip(0, 3), array: [ LFSaw.ar(freq: osc2Control), LFPulse.ar(freq: osc2Control), Impulse.ar(freq: osc2Control); LFPulse.ar(freq: osc1Control).bitXor(LFPulse.ar(freq: osc2Control)) ]); // Oscilator Blend snd = XFade2.ar( inA: osc1, inB: osc2, ...
-
... elative to a temporal grid (see Quant ). t = Steno.new; t.quelle(\a, { Ringz.ar(Impulse.ar(1), { Rand(200, 700) } ! 2, 0.3) }); t.quelle(\b, { Ringz.ar(Impulse.ar(2),{ Rand(3000, 7000) } ! 2, 0.1) }); t.filter('&', { |input| DelayN.ar(input ...
-
... output stereo /* // EffectGUI is controllable from code: {Out.ar(20, Decay2.ar(Impulse.ar(0.5, 0.25), 0.01, 0.2, Saw.ar(222))!2)}.play {Out.ar(22, Decay2.ar(Impulse.ar(0.5, 0.25), 0.01, 0.2, Saw.ar(999))!2)}.play a = XiiDelay.new(s, 2).set ...