-
... array. Bus *controls(arrayOfCVs, server) ( c = { arg f = 400, a = -20, pan = 0; Pan2.ar(SinOsc.ar(f, 0, a.dbamp), pan) }.play; d = Bus.controls([a,b],s); [a,b].connectToBus(d.server, d.index); Routine({ // need to make sure the synth has be ...
-
... Freq ); DetectSilence.ar(in: sig, amp: 0.0001, time: 0.1, doneAction: 2); sig = Pan2.ar(sig, pan); Out.ar(out, sig); }).add; ) // Trig it once Synth(\rongsinator, [\damping, 0.5]) // Play pattern ( Pdef('🌻', Pbind( \instrument, \rongsinator ...
-
... rand2 returns a random number from -1 to 1, used here for a random pan source = Pan2.ar(Decay2.ar(Impulse.ar(Rand(0.3, 1), 0, 0.125), 0.3, 1, SinOsc.ar(SinOsc.kr(0.2, 0, 110, freq))), Rand(-1.0, 1.0)); Out.ar(outBus, source * direct); Out.a ...
-
... ef(\src).fadeTime = 4; Ndef(\src).quant = 2; Ndef(\src, { var src = 10.collect{ Pan2.ar([HPF, LPF, ComplexRes].choose.performKeyValuePairs(\ar,[ \in, [Impulse, LFPulse].choose.ar( [4, 2, 1, 1/2, 1/3, 1/4, 1/6].choose, iphase: [0, 1/4, 1/8, ...
-
... ; ~s2 = { SinOsc.ar(740, 0, 0.1) }; ~s3 = { Pulse.ar(140, 0.2, 0.1) }; ~out = { Pan2.ar(~mix.ar(1), MouseX.kr(-1,1)) }; ~mix.read(~s1); ~mix.read(~s2); ~mix.read(~s3); //resetting the source stops reading ~mix = \default; //now you can also ...
-
... ; var env = EnvGen.kr(Env.asr(0.01, 1, 0.05), gate, doneAction: 2); Out.ar(out, Pan2.ar( ((snd * (env * amp.min(1) * reso.sqrt * 0.5)).softclip * 0.2).sum * AmpComp.kr(freq, exp: 0.2).min(2), pan + (LFNoise2.kr(10 * amp) * Line.kr(0, 1, 1)) ...
-
... 0; var window; window = Env.sine(sustain, amp * AmpCompA.kr(freq)); Out.ar(out, Pan2.ar( SinOsc.ar(freq), pan ) * EnvGen.ar(window, doneAction: Done.freeSelf) ) } ).add; SynthDef(\noiseGrain, { arg out = 0, freq=800, sustain=0.001, amp=0.5, ...
-
... ( SynthDef(\singrain, {arg freq, amp, dur, procbus, outbus = 0; Out.ar(outbus, Pan2.ar( SinOsc.ar(freq, 0, amp) * EnvGen.kr(Env.sine(dur, amp), doneAction: 2) * In.kr(procbus), // read off the overall env control of the ProcMod Rand(-1.0, ...
-
... [ Dseq([1, -1], inf), Dwhite(-1, 1) ], panType) ) * panMax * 0.999; Out.ar(out, Pan2.ar(inSig * env * amp, pan) * EnvGate.new); }).add ) // to avoid feedback use with headphones ( // start granulation (first row) before to ensure right orde ...
-
... r Mono Omni & Push Frequency spreading & Push Frequency diffusion & Push Stereo Pan2, Stereo matrix & Zoom Stereo matrix Super Stereo Ambisonic UHJ stereo Tetrahedral, aka A-format Diffuse field & Push Spaced microphones 2D & 3D surround Oc ...