-
... \SimpleHarmonicPing, { |out, freq, amp, sustain, pan| var snd = BLowPass4.ar(Saw.ar(freq), freq*Line.kr(2, 1, sustain/4), 1); snd = snd * EnvGen.ar(Env.perc(0.01, sustain), doneAction:2); OffsetOut.ar(out, Pan2.ar(snd, pan, amp)) ...
-
... this is working s = Server.local; s.boot; // play on a private bus p = Patch({ Saw.ar * 0.2 }); b = Bus.audio(s); p.play(bus: b); // read from that bus and play main out e = PlayerEffectSocket.new; e.setInputBus(b); e.play; // but no effec ...
-
... s In this example we take a "flat" sound (white noise) and an "unflat" sound (a sawtooth wave) and mix them together bandwise using [PV_BinWipe]. With the spectrum divided into three bands you should be able to see the results. s.boot; b = ...
-
... if the condition ugen is 0 / 1 ( { if( LFNoise1 .kr(1.0,0.5,0.5) , SinOsc .ar, Saw .ar ) }.play ) ADVANCED: the functions will be inlined, which plucks the code from the functions and uses a more efficient jump statement. { if( 6 == 9,{ "h ...
-
... Window .new.front; menu= PopUpMenu (w, Rect (10,10,90,20)) .items_([ "Sine" , "Saw" , "Noise" , "Pulse" ]); funcs=[ { SinOsc .ar(440,0,0.3)} , { Saw .ar(440,0.3)} , { WhiteNoise .ar(0.3)} , { Pulse .ar(440,0.2,0.3)} ]; b= Button (w, Rect ( ...
-
... plitude. numChans and orientation are as in PanAz . { SplayAz.ar(5, [SinOsc.ar, Saw.ar], 0, 1) }.plot; ⧉ ✔ Class Methods SplayAz. ar ( numChans: 4 , inArray , spread: 1 , level: 1 , width: 2 , center: 0.0 , orientation: 0.5 , levelComp: tru ...
-
... 4.insp; [1,2,3].insp; PageLayout.insp; SynthDef("yawn",{ arg freq=100; Out.ar(0,Saw.ar * LFPulse.kr(3)) }).insp; ⧉ ✔ Each time you .insp something a snapshot is taken and added to the sidebar of the InspManager. The InspManager is like a we ...
-
... env = Env.adsr(0.07, 1, 0.9, 0.1).kr(doneAction:2, gate: gate); output = LFSaw.ar(oscfreq, mul: lfo.value.range(0,1)); output = RLPF.ar(output, (env*freq) + 1*freq * lfo.value.range(1/4,2), lfo.value.range(0.1,1)); output = Splay.a ...
-
... nv.perc(attackTime: att, releaseTime: kRel, level: kAmp, curve: curve).kr; in = Saw.ar(freq: Lag.kr(in: freq, lagTime: lag) * vibrato, mul: env); in = in + WhiteNoise.ar(kEnv); va = BBandPass.ar( in: in, freq: [ 600, 1040, 2250, 2450, 2750 ...
-
... , 2, 0, 0, 2] ++ (0 ! 16+2)) ]) ) * trigger; harp = Saw.ar(Lag.ar(root, 0.15), Decay.ar(finger, LFNoise1.ar(0.4, 0.3, 0.8), 0.2)); mouth = RLPF.ar( harp, Lag.ar( Demand.ar(finger, 0, ...