-
... oise .ar(0.1 ! 2) }; // set here b[ \out ].play; // play here too b[ \out ] = { SinOsc .ar(rrand(300, 400)) ! 2 * 0.1 }; // two different tones b[ \out ] = { SinOsc .ar(300) ! 2 * 0.1 }; // same tone d.public = false ; // be private b[ \out ...
-
... fferPlot.new(b) // overdub ( SynthDef("test",{ arg out=0,bufnum=0; RecordBuf.ar(SinOsc.ar(2990*SinOsc.ar(MouseX.kr(1, 20)), 0, MouseY.kr(0, 1)!2), bufnum, 0, 1, 0); // RecordBuf.ar(LoopBuf.ar(2, y.bufnum, 1, 1, 0, 0, y.numFrames), bufnum, 0 ...
-
[ [ 'myblock', {arg freq= 200->[20,20000,\exp]; SinOsc.ar(freq); } ], [ 'blocknew', {arg freq=200 -> [20, 20000, \exp]; Pulse.ar(freq, 0.5, 0.5); } ], [ 'blocknew2', {arg freq=200 -> [20, 20000, \exp], trig=1 -> [0,1, {|val| val.round(1)}]; ...
-
... amp = 1; var freq = EnvGen.kr(Env([400, 66], [0.08], -3)), sig = Normalizer.ar(SinOsc.ar(freq, 0.5pi, punch).distort, 1) * amp * EnvGen.kr(Env([0, 1, 0.8, 0], [0.01, 0.1, 0.2]), doneAction: 2); Out.ar(0, sig ! 2); }).add;
-
... t; ( { f = LFSaw.kr(0.4, 0, 24, LFSaw.kr([8,7.23], 0, 3, 80)).midicps; CombN.ar(SinOsc.ar(f, 0, 0.04), 0.2, 0.2, 4) }.drawAndPlay )
-
... ndle.new; sd = Array.fill(100,{ |i| var d; d = SynthDef( "TestOSCBundle" ++ i,{ SinOsc.ar(400 + i,mul: 0.0001) }); b.addPrepare( ["/d_recv", d.asBytes] ) }); this.bootServer; b.doPrepare(Server.default,{ completed = true}); this.wait( {comp ...
-
... st_bird_pj, { |out=0, amp=0.1, pan=0| Out.ar(out, Pan2.ar( BPF.ar(BrownNoise.ar,SinOsc.kr(LFNoise2.kr(50,50,50),0,100,2000),0.001,10) * amp, pan))}, metadata: ( credit: "by Paul Jones, posted to sc-users mailing list 2007-04-07", tags: [\fo ...
-
... becomes the result of the previous expression. ### With UGens ```SuperCollider SinOsc.ar(440) |> LPF.ar(_, \lpf.kr(15000)) |> HPF.ar(_, \hpf.kr(20)) |> Out.ar(\out.kr(0), _); ``` A sine wave that is filtered by a low pass, then high pass, ...
-
( Alga.boot({ a = AlgaPattern(( def: { SinOsc.ar(\freq.kr(440)) * EnvPerc.ar }, dur: 1 )).play(chans: 2) }) ) //One trigger from now a.from(220, \freq, sched: AlgaStep(1)); //Two triggers from now a.replace({ Saw.ar(\freq.kr(440)) * EnvPerc ...
-
... preamp * pi/2, curve: crv).ar; // The sound being sent through everything: in = SinOsc.ar(freq: freq, mul: env); // The wavefolder: snd = SinOsc.ar(freq: 0, phase: in.mod(2pi)) * limit; snd = snd + in.tanh; // Output Stuff: snd = snd * 1/(1 ...