-
... uts a 3 channel signals: Channel[0] is the audio rate function. Channel[1] is a pulse width oscillator at the front edge of the function (Front of Cycle - FOC). The oscillator is 1 while the function is rising and 0 while it is falling or n ...
-
... 5, 0, width); // Emulate six unsynched LFOs driving six comparators for a multi-pulse chorus var oscs = 6; var scaler = 1/oscs; var lfo1 = LFTri.ar(modFreq * 1.51); var lfo2 = LFTri.ar(modFreq * 1.11); var lfo3 = LFTri.ar(modFreq * 1.31); v ...
-
... 200@300); ) ( { # f , w = SplineGen (b,0,loop:true).xyKr(MouseY.kr(0.1,20),32); Pulse .ar(f.clip(40,500),w.clip(0.0,1.0),0.4).dup }.play ) b.interpolate(32).flop.plot2
-
... f ( "help-SelectL" ,\ arg out=0;\ \ var a,cycle;\ a = [\ SinOsc .ar,\ Saw .ar,\ Pulse .ar,\ K2A .ar(0) // silence \ ];\ cycle = a.size * 0.5;\ Out .ar(out,\ SelectL .ar( LFSaw .ar(1.0,0.0,cycle,cycle),a) * 0.2\ )\ \).play;\ \ ) \ \ \ Here u ...
-
... = { var sig, chain, onsets, pips; // A simple generative signal sig = LPF .ar( Pulse .ar( TIRand .kr(63,75, Impulse .kr(2)).midicps), LFNoise2 .kr(0.5).exprange(100, 10000)) * Saw .ar(2).range(0, 1); // or, uncomment this line if you want ...
-
... rces: Oscillators. LF - "Low Frequency" Unit Generators. LFPar, LFCub, LFTri, Impulse, LFSaw, LFPulse, VarSaw, SyncSaw geometric waveforms, not band limited. will cause aliasing at higher frequencies. LFPar , LFCub , LFTri , LFSaw , Impulse ...
-
... , gate = 1, amp = 0.1| var sig; sig = EnvGen.ar(Env.adsr, gate, doneAction:2) * Pulse.ar(freq, 0.25, 0.75); Out.ar(out, (sig * amp).dup); }).add; ) // or ( Instr.new([\harpsi], { |freq = 440, gate = 1, amp = 0.1| var sig; sig = EnvGen.ar(En ...
-
... freq = vib*freq; //freq = freq.lag(t); sig = Select.ar(2.rand,[ Pulse.ar([freq,freq*(1+dtune),freq*(1-dtune)], LFNoise2.kr(t,0.5,0.5), 0.1).sum, Saw.ar([freq,freq*(1+dtune),freq*(1-dtune)]).sum ]); sig = s ...
-
... setnMsg(0, t) ).postln ); { var index, in, out, f0, fdiff; var bufnum = b; in = Pulse .ar( MouseX .kr(t.minItem, t.maxItem)) * 0.1; f0 = Pitch .kr(in).at(0); index = IndexInBetween .kr(bufnum, f0); fdiff = index.frac * ( Index .kr(bufnum, i ...
-
... modeling of a vibrating string, using a delay line (CombL) excited by an intial pulse (Impulse) // To make it a bit richer, I've combined two slightly detuned delay lines // "accelerate" is used for a pitch glide, and "sustain" changes the ...