-
... ffset, doneAction:2); env = EnvGen .kr( Env .perc(attack, sustain, 0.2)); sig = SinOsc .ar(freq, 0, env); sig = DelayC .ar(sig, sd * 4, offset); OffsetOut .ar(out, sig); }, [ \ir , \ir , \ir , \ir ]).send(s); ) ( Routine { loop { s.sendBund ...
-
... rg server; SynthDef("sine", { arg out=0, freq=110.0, amp=0.1; OffsetOut.ar(out, SinOsc.ar(freq, 0, amp).dup); }).send(server); }); OSCBundle.new.add([ "/s_new", "sine", 2000, 1, 1, 'freq', 1000, 'amp', 0.25 ]).syncedSend(~slaves[0],1); OSCB ...
-
... , MouseY .kr(1.5, 5).poll, 1, 200 * 2pi) * 0.2 }.play x.release // f fed with a SinOsc with frequency coupled to tMul by an integer factor, // mu movement can tilt over the waveform ( SynthDef ( \hopf , { |out, freqFactor = 1, srcAmp = 1, m ...
-
... midicps - freq; below = (freq.cpsmidi - vibratoDepth).midicps - freq; vibrato = SinOsc.kr(vibratoSpeed).range(below, above); // this is the basic sound source in = Saw.ar(Lag.kr(freq) + vibrato); // amplitude envelope env = Env.asr(att, amp ...
-
... e - note how the peak measured power changes with frequency var in, chain; in = SinOsc.ar(MouseY.kr(100, 1000, 1), 0, MouseX.kr(0,1)); chain = FFT(b.bufnum, in); Out.ar(0, in * 0.1); Out.kr(0, (FFTPower.kr(chain) * 0.66667).poll(label:"Sine ...
-
... r, { arg value=150, pan=0; var maxfreq=10000, minfreq=50; Out.ar(0, Pan2.ar(SinOsc.ar(exp(log(maxfreq)-((log(maxfreq)-log(minfreq))*value/~maxValue)), 0, 0.01), pan, 1)); }).send(s); ); ) ( ~maxIndex=10; z=40; w=Window("Confett ...
-
... Thread.randSeed = 1000000000.rand.debug('seed'); var gen = [LFNoise2,LFNoise0,SinOsc,LFPulse,LFSaw]; var sig = Splay.ar({ var i = 4.exprand(40).asInteger; Median.ar( 3.exprand(18), EnvGen.ar( Env( // wave form [ ...
-
... ustain, AmpCompA.kr(freq)*amp), doneAction: Done.freeSelf); Out.ar(out, Pan2.ar(SinOsc.ar(freq), pan, env)) }).add; ) ( a = Plambda( Pseq([ Pfindur(5, Ppar([ Pbind(\note, Plet(\x, Prand([1, 5, 1, [10, 14]], inf)), \dur, 8/3, \pan, -1), Pbin ...
-
... Def ( \Docs_FreqMonitor , { var freq,snd; freq= LFNoise0 .ar(2, 400, 650); snd= SinOsc .ar(freq,0,0.2); Out .ar(0,snd); Out .kr(b.index,freq); // output the frequency to a control bus }).play; r= Routine { { // Set the value of the StaticTe ...
-
... .perc(0.03, sustain), 1, doneAction:2); 5.do { var d; d = exprand(0.01, 1); u = SinOsc .ar(d * 300, u, rrand(0.1,1.2) * d, 1) }; Out .ar(out, Pan2 .ar( SinOsc .ar(u + 1 * freq, 0, amp * env), pan)); }).store; s.boot; ) ( Pdefn ( \deg , Pseq ...