-
... Buf(2048), in); dissonance=SensoryDissonance.kr(fft); dissonance.poll; Out.ar(0,Pan2.ar(0.1*Blip.ar(100,(dissonance.sqrt)*200))); }.play ) //different fftsize, max num peaks, own normalisation, avoid clamping by setting high value (more CPU ...
-
... 1, 0, 1); fft = FFT(b, in); mode=KeyMode.kr(fft, 2.0, 0.5); mode.poll; Out.ar(0,Pan2.ar(in)); }.play ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/Extensions/SC3plugins/SCMIRUGens/HelpSource/Classes/KeyMode.schelp link::Classes/KeyM ...
-
... 0000,10000); //gradual erosion ( SynthDef("help-sortbuf",{arg bufnum; Out.ar(0, Pan2.ar( SortBuf.ar(bufnum,LFNoise0.kr(5,50000,60000),0) ,0.0)) }).play(s,[\bufnum, b.bufnum]); ) c= Buffer.read(s,"sounds/break",20000,10000); c.copy(b); //res ...
-
... ), 1, amp, doneAction:2); z= BPF.ar(PinkNoise.ar, tuesday*(e+0.5)); Out.ar(out, Pan2.ar(z*e, pan)); }).add; SynthDef(\bas, {|out= 0, freq= 70, gate= 1, amp= 0.5, pan= 0| var e, z; e= EnvGen.kr(Env.adsr(0.01, 0.6, 0.4, 0.1), gate, amp, doneA ...
-
... mp, gate,0.1,1,c3,inp); DetectSilence.ar(son, 0.001, doneAction:2); Out.ar(out, Pan2.ar(son * 0.1, pan)); }).add; ) //Use it. ( a = Scale.new( #[0, 1, 3, 5, 7, 8, 10], 12, Tuning.new([0, 0.75, 2, 3.5, 4, 5, 6, 7, 8, 9, 10, 11]), "Custom" ); ...
-
... nvGen.kr(Env.perc(0.01, sustain), doneAction: Done.freeSelf) * amp; Out.ar(out, Pan2.ar(SinOsc.ar(freq, 0, env), pan)) }).add; ) Pdef(\x, Pbind(\dur, Pn(0.25, 3), \instrument, \gpdef)); Pdef(\y, Pchain(Pbind(\degree, Prand([5, 9, 0], inf), ...
-
... ( SynthDef(\grain, {arg globenv = 1, outbus, freq, dur, amp = 1; Out.ar(outbus, Pan2.ar(SinOsc.ar(freq, 0, Line.kr(amp, 0, dur) * globenv))) }) ); // 5 iterations a = CtkEvent(0.0, 5, 5, server: s); a.function_({arg event, group, envbus, in ...
-
... 0.0, freq=500, amp=1, cutoff=10000, rezz=1; freq = Lag.kr(freq,0.1); Out.ar(out,Pan2.ar(RLPF.ar(Saw.ar([freq,freq*2],amp),cutoff,rezz), pan)); }).add; SynthDef("envsaw",{ arg out=100, pan=0, sustain=0.5, freq=500, amp=1, cutoff=10000, rezz= ...
-
... 0.0, freq=500, amp=1, cutoff=10000, rezz=1; freq = Lag.kr(freq,0.1); Out.ar(out,Pan2.ar(RLPF.ar(Saw.ar([freq,freq*2],amp),cutoff,rezz), pan)); }).add; SynthDef("envsaw",{ arg out=100, pan=0, sustain=0.5, freq=500, amp=1, cutoff=10000, rezz= ...
-
... ; SynthDef(\wormsnd, {|out= 0, bufnum, freq= 60, amp= 0.01, pan= 0| Out.ar(out, Pan2.ar(Osc.ar(bufnum, freq, 0, amp), pan)); }).add; s.sync; syn= Synth(\wormsnd, [\bufnum, b.bufnum, \amp, 1]); s.sync; win= Window("fingerprint", Rect(100, 10 ...