-
... Instance Methods Inherited instance methods Examples // examples: ( { var mod = SinOsc.kr(Line.kr(1, 10, 10)); SinOsc.ar(LinLin.kr(mod, -1, 1, 100, 900)) * 0.1 }.play; ) // modulating destination values. ( { var mod = LFNoise2.ar(80); SinOs ...
-
... er (see Poll helpfile) // postln returns only the UGen itself (a MulAdd here) { SinOsc.ar(SinOsc.kr(0.2, 0, 300, 400).postln) * 0.1 }.play; // poll traces the values { SinOsc.ar(SinOsc.kr(0.2, 0, 300, 400).poll) * 0.1 }.play; // using a lab ...
-
... 10)) * 0.1 }.play; // amplitude modulation: { LFPar.kr(XLine.kr(1, 200, 10)) * SinOsc.ar(440) * 0.1 }.play; // used as both Oscillator and LFO: { LFPar.ar(LFPar.kr(3, 0.3, 200, 400)) * 0.1 }.play; // used as phase modulator (behaves like a ...
-
... first you've already seen some results of, Function-plot: { PinkNoise.ar(0.2) + SinOsc.ar(440, 0, 0.2) + Saw.ar(660, 0.2) }.plot; ⧉ ✔ This makes a graph of the signal produced by the output of the Function. You can specify some arguments, s ...
-
... ting one here) {Pan2.ar(Gendy4.ar(initCPs:2))}.play //used as an LFO ( {Pan2.ar(SinOsc.ar(Gendy4.kr(2,4,SinOsc.kr(0.1,0,0.49,0.51),SinOsc.kr(0.13,0,0.49,0.51), 3.4,3.5, SinOsc.kr(0.17,0,0.49,0.51), SinOsc.kr(0.19,0,0.49,0.51),10,10,50, 350) ...
-
... , 0.0001) a.set(\thresh, 0.1, \lag, 0.5) a.free b.free //-- a= {RedDestroyer.ar(SinOsc.ar([400, 404]), SinOsc.ar(0.5, 0, 0.25, 0.25), Saw.ar(8)*0.1)}.play a.free //-- a= {RedDestroyer.ar(SinOsc.ar([400, 404]), SinOsc.ar(1/3, 0, 0.25, 0.5), ...
-
... Instance Methods Inherited instance methods Examples // compare: ( { var mod = SinOsc.kr(Line.kr(1, 10, 10)); SinOsc.ar(mod * 400 + 500) * 0.1 }.play; ) ( { var mod = SinOsc.kr(Line.kr(1, 10, 10)); SinOsc.ar(LinExp.kr(mod, -1, 1, 100, 900) ...
-
... Inherited instance methods Examples // a stereo signal, both channels at 0dB { [SinOsc.ar(440), SinOsc.ar(440)] }.play // using Balance on a stereo signal with the position parameter at 0, effectively the same sound but both channels at -3d ...
-
... nthDef("help-copyPhase", { |out = 0| var inA, chainA, inB, chainB, chain; inA = SinOsc.ar(SinOsc.kr(SinOsc.kr(0.08, 0, 6, 6.2).squared, 0, 100, 800)); inB = WhiteNoise.ar(0.2); chainA = FFT(LocalBuf(2048), inA); chainB = FFT(LocalBuf(2048), ...
-
... //////////////////////////////////////////////////////// For example, compare { SinOsc.ar(500, 0, 0.5) }.scope; ⧉ ✔ to { SinOsc.ar(500, 0, 0.5).distort }.scope; ⧉ ✔ The .distort message modulates the SinOsc to create more partials. //////// ...