-
... to add: FFTRumble (in combination with pitch detection, energy under f0) \RMS,{Latch.kr(RunningSum.rms(input,1024),mfccfft)}, \ZCR,{Latch.kr(ZeroCrossing.ar(input),mfccfft)}, \AttackSlope,{Latch.kr(AttackSlope.kr(input)[3],mfccfft)}, \Tran ...
-
... (sig * amp).dup }); ) ⧉ ✔ If you want the instrument to be velocity-sensitive, Latch the gate argument to get the velocity: ( SynthDef.new("harpsi", { |out = 0, freq = 440, gate = 1, amp = 0.1| var sig; amp = amp * Latch.kr(gate, gate) * 0 ...
-
... s.arpOff; } { this.arpOn; } }) ,1, 0); mainLayout.add( Button() .states_([["Arp Latch"],["Arp Trad"]]) .action_({ | caller | if(caller.value == 0) { this.arpTrad; } { this.arpLatch; } }) ,1, 1); mainLayout.addSpanning( Button() .states_([[" ...
-
... -> { |in, bits=16, downsamp=2| var krushed = in.round(0.5 ** bits); var down = Latch.ar(in, Impulse.ar(SampleRate.ir / downsamp.max(2))); // below 1/2 downsamp, do xfade: blend(in, down, (downsamp - 1).clip(0, 1)); }, 1, ( \bits: [16, 1], ...
-
... n=0.0 , timeDispersion=0.0001 , lag=0.01 , windowSize=0.02 ; var freq, hasFreq, latch1, latch2, latch3, input, maxDelay=12; input = \in; #freq, hasFreq = Pitch.kr(input); latch1 = Latch.ar(freq, Impulse.kr(rate)); latch2 = DelayL.kr(Latch.a ...
-
... d2(0.5); SinOsc.ar( Linen.kr(trig,0,freq,decay) + 40 ).madd( EnvGen.kr(env,trig,Latch.kr(sine,trig)) , finger) },[ ], \audio); /* "/Volumes/Macintosh HD/Users/cruxxial/Documents/SC3docs/Music/Patches/percy3/hardisco".loadDocument.gui */ Ins ...
-
... r.ir * zeroXDiff, 0, baseX + 1); // ... need value again, correct phaseOffset = Latch.ar(phaseTrig - 1, phaseTrig); count = PulseCount.ar(phaseTrig); time = Sweep.ar(Impulse.ar(0)); env = EnvGen.ar( Env.asr(att, 1, rel, curve), (count <= le ...
-
... ustain, 2); var in = In.ar(out, q.numChans); in = in.round(0.5 ** bits); down = Latch.ar(in, Impulse.ar(SampleRate.ir / downsamp.max(2))); XOut.ar(out, env, in); }).add; SynthDef(\xf_tanh, { |out=0, gain = 10, sustain = 10| var env = EnvGen ...
-
... 75); [out, out] }); ) Tip: If you want the instrument to be velocity-sensitive, Latch the gate argument to get the velocity: SynthDef .new( "harpsi" , { arg outbus = 0, freq = 440, gate = 0; var out, amp; amp = Latch .kr(gate, gate) * 0.5 + ...
-
... 75); [out, out] }); ) Tip: If you want the instrument to be velocity-sensitive, Latch the gate argument to get the velocity: SynthDef .new( "harpsi" , { arg outbus = 0, freq = 440, gate = 0; var out, amp; amp = Latch .kr(gate, gate) * 0.5 + ...