-
... on file part of the Unit lib default Udefs set */ Udef( \tremolo, { |speed = 1, phase = 0, amount = #[0.0,1.0], smooth = 1| var modsig, sig; smooth = smooth.max(1.0e-12); modsig = ((LFTri.ar( speed, phase * 2 ) / smooth) * 0.5pi).clip(-0.5p ...
-
... , 400), // frequency modulator Line .kr(0, 1, 15) // modulate lag time ), 0, // phase 0.3 // sine amplitude ) }.scope; ) // Compare ( var pulse; { pulse = LFPulse .kr(8.772); Out .kr(0,[ Ramp .kr(pulse, 0.025), Lag .kr(pulse, 0.025), pulse] ...
-
... mental pitch. This produces an effect similar to moving formants or pulse width modulation. The sawtooth oscillator has its phase reset when the sync oscillator completes a cycle. This is not a band limited waveform, so it may alias. ksyncF ...
-
... == (none) >> blkset 1 1 sin_(freq, 2) == radpost == Ndef('mod2', {arg freq=0.1, phase=0, mul=1, add=0; SinOsc.ar(freq, phase, mul).exprange(20.0, 20000.0) + add}); Ndef('mod2').set('freq', 2); Ndef('block1').xset('freq', Ndef('mod2')); Ndef ...
-
play{x=0; (60..100).do{|f| x=SinOsc.ar(f+[0,f], x*Line.kr(1,5,60,doneAction:2))}; cos(x+Ringz.ar(Impulse.ar(2),45,0.3,3))};
-
... - an Array of filter amplitudes, or nil. If nil, then amplitudes default to 1.0 phases - an Array of initial phases, or nil. If nil, then phases default to 0.0 freqscale - a scale factor multiplied by all frequencies at initialization time. ...
-
... . Class Methods . ar Arguments: freq Frequency in Hertz. Sampled at audio-rate. phase Phase offset or modulator in radians. Sampled at audio-rate. NOTE: phase values should be within the range +-8pi. If your phase values are larger then sim ...
-
... .ar. All we need to do is sum up a variable number of them with the appropriate phases and amplitudes. Since Saw.ar doesn't have a phase control, I implemented the phase offsets using delays. (Using BufDelay means that they all share the sa ...
-
FreqShift Frequency Shifter add FreqShift.ar(input, shift, phase, mul, add) FreqShift implements single sideband amplitude modulation, also known as frequency shifting, but not to be confused with pitch shifting. Frequency shifting moves al ...
-
... (none) >> fxset 1 1 1 sin_(freq, 1) == radpost == Ndef('mod1', {arg freq = 0.1, phase = 0, mul = 1, add = 0; {|val| val.round(0.4).midiratio }.({arg freq=0.1, phase=0, mul=1, add=0; SinOsc.ar(freq, phase, mul).range(-12.0, 12.0) + add}.(fre ...