-
... erLib, import, use, remove. ~radTest.("own-effect", setup: ["start 2"], code: { SynthDefFile.write('filter', 'radtest_myfx', {arg volume = 0 -> [-20, 20]; \in * volume.dbamp; }, "radtest effect"); 1.wait; Radicles.cW.callFunc("imp UserLib") ...
-
... DISocket(0, v); // default device, channel 0 k.free; // Pitch-bend requires the SynthDef to support it ( SynthDef(\pb, { |out, freq = 440, gate = 1, pb = 1, amp = 0.1| var sig = Mix(Saw.ar(freq * pb * [1, 1.003])) * amp, eg = EnvGen.kr(Env. ...
-
... { arg ... theInputs; inputs = theInputs; ^this.initOutputs(3, rate); } } */ /* SynthDef(\test, {var vocbuf = 1, lpbuf = 0; var errval, origrms, cps, noise, blip, pitch, hasPitch, in, out, rms2; in = LPF.ar(PlayBuf.ar(1, vocbuf, loop: 1), 5 ...
-
... q, 440 * ratio]); 0.25.wait; }); routine.stop; }).play(TempoClock.default); }); SynthDef(\GMPercSine, { |amp = 0.25, freq = 440| var snd = SinOsc.ar(freq, mul: amp); snd = snd * EnvGen.kr( Env.perc, doneAction: Done.freeSelf ); Out.ar(0, sn ...
-
... // Default volumes of instruments are high for saturation and distortion. ( SynthDef(\polyswingsym,{ arg kickv=1500, frqkick=45, deckick=16, pkick=4, bwkick=0.01, divkick=1, snrv1=40, decsnr=15, frqsnr=222, divsnr=2, hhv=50, d ...
-
... globalBufferDict.keys.asArray[0]); // load first pool }); } initAll { // CREATE SYNTHDEFS // if ( buffer == nil ) { buffer = XQ.globalBufferDict.at(poolName)[0][bufferPop.value] }; boxes.size.do ({ arg i; try { var srate = 44100; var synthd ...
-
... = true; scopeBar.focus; win.front; CmdPeriod.add({this.free}); } makeScopeDef{ SynthDef(\collidingscope, { |in, bufnum| ScopeOut2.ar(In.ar(in, 2), bufnum); }).send(app.server); } openBufferView{|bufnum| var bufferView = CollidingBufferGUI. ...
-
... schedmidi.value({ midiout.polyTouch(chan, note, val) }) } { // match dirt_gate SynthDef amplitude scaling ~amp = ~amp.value * pow(~gain.min(2) + ~overgain, 4); sustain = ~sustain = ~sustain.value; if(~uid.notNil and: { midiout.notNil }) { ...
-
... rigger_(true) .action_({ |index| Synth(\GMPercSine, [\freq, freqs[index]]); }); SynthDef(\GMPercSine, { |amp = 0.25, freq = 440| var snd = SinOsc.ar(freq, mul: amp); snd = snd * EnvGen.kr( Env.perc, doneAction: Done.freeSelf ); Out.ar(0, sn ...
-
... hanks to Paul for his feedback! Check his work at http://www.paulnasca.com/ ( SynthDef(\paulstretchMono, { |out = 0, bufnum, envBufnum, pan = 0, stretch = 50, window = 0.25, amp = 1| // Paulstretch for SuperCollider // Based on the Pa ...