-
... freq - frequency in Hertz { FSinOsc .ar(800, 0.0, 0.25) }.play; { FSinOsc .ar( XLine .kr(200,4000,1),0.0, 0.25) }.play; // loses amplitude towards the end { FSinOsc .ar( FSinOsc .ar( XLine .kr(4,401,8),0.0, 200,800),0.0, 0.25) }.play;
-
... .6 | var env, gen, uuu, lfmod, for, sig, bal, ruin, out; lfmod = { LFDNoise3.ar(XLine.kr(1, 6, 2), XLine.kr( 0.001, 1, 2, 4), 0.501) }; uuu = Vowel(\u, \soprano) * distort.lag(1); for = Formants.ar( [ffreq.lag(0.4) * freqDev.reciprocal.lag( ...
-
... 0, 0.5) }.play; // modulate the frequency with an exponential ramp { SinOsc.ar(XLine.kr(2000, 200), 0, 0.5) }.play; // more complex frequency modulation { SinOsc.ar(SinOsc.ar(XLine.kr(1, 1000, 9), 0, 200, 800), 0, 0.25) }.play; // phase mo ...
-
... ethods Inherited instance methods Examples // modulating the frequency { Saw.ar(XLine.kr(40, 4000, 6), 0.2) }.play; // two band limited sawtooth waves through a resonant low pass filter { RLPF.ar(Saw.ar([100, 250], 0.1), XLine.kr(8000, 400, ...
-
... pulse .ar(1), 0.01, 0.001) }) // used as an envelope { Decay2 .ar( Impulse .ar( XLine .kr(1,50,20), 0.25), 0.01, 0.2, FSinOsc .ar(600)) }.play; // compare the above with Decay used as the envelope { Decay .ar( Impulse .ar( XLine .kr(1,50,20 ...
-
... // shifting a 100Hz tone by 1 Hz rising to 500Hz { FreqShift.ar(SinOsc.ar(100), XLine.kr(1, 500, 5), 0, [0.1, 0.1]) }.play(s); // shifting a complex tone by 1 Hz rising to 500Hz { FreqShift.ar(Klang.ar(`[[101, 303, 606, 808]]), XLine.kr(1, ...
-
... Hz wave { LFPulse .ar(50) * 0.1 }.play; // modulating frequency: { LFPulse .ar( XLine .kr(1, 200, 10), 0, 0.2, 0.1) }.play; // amplitude modulation: { LFPulse .kr( XLine .kr(1, 200, 10), 0, 0.2) * SinOsc .ar(440) * 0.1 }.play; // used as bo ...
-
... LFNoise quantizes time steps at high freqs, LFDNoise does not: { LFNoise1 .ar( XLine .kr(2000, 20000, 8), 0.1) }.scope; { LFDNoise1 .ar( XLine .kr(2000, 20000, 8), 0.1) }.scope;
-
... /////////////////////////////////////// // Linear-to-exponential equivalences: "XLine.ar == Line.ar.linexp" -> {XLine.ar(0.01, 10, 1) - Line.ar( 0, 1, 1).linexp(0,1, 0.01, 10)}, "XLine.kr == Line.kr.linexp" -> {XLine.kr(0.01, 10, 1) - Line. ...
-
... ne : UGen : AbstractFunction : Object Line generator. Source: Line.sc See also: XLine Description Generates a line from the start value to the end value. Class Methods Line. ar ( start: 0.0 , end: 1.0 , dur: 1.0 , mul: 1.0 , add: 0.0 , done ...