-
... h=2.0; var whiches; inputs = inputs.dereference; whiches = PanAz.ar(inputs.size,SinOsc.ar(0.0,add:1.0),bipolar,width); ^Mix.new( inputs.collect({ arg sound,i; sound * whiches.at(i) }) ) } *kr { arg inputs, bipolar,width=2.0; var whiches; in ...
-
... =2.0; var whiches; inputs = inputs.dereference; whiches = PanAz.ar(inputs.size, SinOsc.ar(0.0, add:1.0), bipolar, width); ^Mix.new( inputs.collect({ arg sound, i; sound * whiches.at(i) }) ) } *kr { arg inputs, bipolar, width=2.0; var whiche ...
-
... erc(attackTime: att, releaseTime: rel, level: 0.5, curve: curve).kr; drumMode = SinOsc.ar(freq: freq * 0.53, mul: drumModeEnv); drumMode = drumMode + SinOsc.ar(freq: freq, mul: drumModeEnv); drumMode = drumMode + PMOsc.ar( carfreq: Saw.ar(f ...
-
... bodyAmp = EnvGen.ar(Env.linen(0.005, 0.1, 0.3), doneAction: 2); body = SinOsc.ar(bodyFreq) * bodyAmp; popFreq = XLine.kr(750, 261, 0.02); popAmp = EnvGen.ar(Env.linen(0.001, 0.02, 0.001)) * 0.15; pop = SinOsc.ar(popF ...
-
sctweets, iffy sines play{a=SinOsc;b=432;c=0.61538;a.kr(0.125).if(a.kr(0.25).if(a.ar(b),a.ar(b*c)),a.ar(b*c*c),a.ar(b*c*c*c))}// #supercollider
-
... 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 ...
-
... var pulse = (Pulse.ar(10, 0.5, 0.5) + Pulse.ar(35, 0.3, 0.5)); var sin1 = SinOsc.ar(LFNoise0.kr([1.2, 1.0], 1000, 1000)); var line1 = Line.kr(10, 3000, seconds); var sin2 = SinOsc.ar(line1); var out = pulse * sin1 * sin2 * ...
-
... //also works in control rate b= Buffer.alloc(s, 1000, 1); a= {|fb= 1, rate= 1| SinOsc.ar(RedOverdub.kr(b, SinOsc.kr(0.1).exprange(100, 1000), MouseButton.kr, fb, rate:rate), 0, 0.2)!2}.play; a.set(\fb, 0.8) a.free b.free ⧉ ✔ helpfile sourc ...
-
... nce Methods Inherited instance methods Examples ( { var in, fft, chroma; //in = SinOsc.ar(440,0,0.1); in= SoundIn.ar; fft = FFT(LocalBuf(2048), in); chroma=Chromagram.kr(fft); chroma.poll; Out.ar(0,Pan2.ar(in)); }.play ) //n TET display n= ...
-
... 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 ...