-
( Alga.boot({ AlgaSynthDef(\test, { SinOsc.ar(\freq.ar([440, 441])) * EnvGen.ar(Env.perc(0.01, 1), doneAction:2) }).add; s.sync; b = AlgaNode({SinOsc.kr([1, 2]).range(10, 1000)}); a = AlgaPattern(( def: \test, dur: 1, freq: Pwhite(400, 1000 ...
-
... Methods Inherited instance methods Examples // indexing into a fixed table ( { SinOsc.ar( Index.kr( LocalBuf.newFrom([200, 300, 400, 500, 600, 800]), LFSaw.kr(2.0).range(0, 7) ), 0, 0.5 ) }.play; ) // with mouse control ( { SinOsc.ar( Inde ...
-
... env4 = Env.perc(att, rel * 1.5, inputLevel, curve: \lin).kr; osc4 = SinOsc.ar(freq) * 6.7341546494171 * modIndex * env4; osc3 = SinOsc.ar(freq * 2, osc4) * env3; osc2 = SinOsc.ar(freq * 30) * 0.683729941 * env2; o ...
-
... der: z.sliderView) y.setAmps(exprand(0.1, 1.0), exprand(0.01, 0.4)); Ndef(\x, { SinOsc.ar(0.13).abs * BrownNoise.ar }); x = NdefGui(Ndef(\x)); y = PrePostView.forNdefGui(x); y.setAmps(exprand(0.1, 1.0), exprand(0.01, 0.4)); ProxyMeter.check ...
-
... ; // a SynthDef a = SynthDef ( \test , { arg out = 3, freq = 100; Out .ar(out, SinOsc .ar(freq))}) ; z = SynthDefAutogui ( \test ) ; // Separate gui call a = SynthDef ( \test , { arg out = 3, freq = 100; Out .ar(out, SinOsc .ar(freq))}) ; ...
-
... her sine that controls panning, copied 8 times Pan2.ar(SinOsc.ar(freq2*(10+25.rand), 0, Lag.ar(LFSaw.ar(Rand(0.025, 1))+1*0.5))*0.125, SinOsc.ar(1/timA[0])) }); st = st+1; / ...
-
... dex; trig = Impulse .kr(6); index = TWindex .kr(trig, [w1, w2, w3]); Out .ar(0, SinOsc .ar( Select .kr(index,[400, 500, 600]), 0, 0.2 ) ) }).play; ) a.setn(0, [0,0,1].normalizeSum); a.setn(0, [1,1,1].normalizeSum); a.setn(0, [1,0,1].normali ...
-
... ); ) ( SynthDef ( "help-magBelow" , { arg out=0, bufnum=0; var in, chain; in = SinOsc .ar( SinOsc .kr( SinOsc .kr(0.08, 0, 6, 6.2).squared, 0, 100, 800)); chain = FFT (bufnum, in); chain = PV_MagBelow (chain, 10); Out .ar(out, 0.5 * IFFT ( ...
-
... ([Color.black, Color.green, Color.blue]); ) ( // use input amplitude to control SinOsc frequency { SinOsc.ar( Amplitude.kr( Blip.ar(3, 20) * LFNoise1.kr(0.1).range(0, 1), MouseX.kr(0.001, 1, 1), MouseY.kr(0.001, 1, 1), 1200, 400 ), 0, 0.3) ...
-
... > 0.5) > 0; f = Ball .ar(sf, MouseY .kr(0.01, 20, 1), 0.01); f = f * 10 + 500; SinOsc .ar(f, 0, 0.2) }.play; ) // mouse x controls modulation rate // mouse y controls gravity ( { var f, sf, g; sf = LFNoise0 .ar( MouseX .kr(1, 100, 1)); g = ...