-
... = EnvGen.kr(envEnv,gate,doneAction:2); lfo = LFTri.kr(lfo_speed); lfo = LinLin.ar(lfo, 0, 1, lfo_amp.neg.midiratio , lfo_amp.midiratio); pitch = note.midicps; ctls = [ [0.5 * 1 * (pitch + ((7-7)/32))* lfo ...
-
... *(1+spread) (hi-lo+1).do({ |j| var mag, phase, val; var index = j.linlin(0, hi-lo, lo, hi); // only fill up lower half of spectrum: // right half later is derived from this left half to ensure a real-valued inverse f ...
-
... p = EnvGen.kr(envEnv,gate,doneAction:2); lfo = LFTri.kr(lfo_speed); lfo = LinLin.ar(lfo, 0, 1, lfo_amp.neg.midiratio , lfo_amp.midiratio); pitch = note.midicps; ctls = [ [coars1 * fine_1 * ((pitch * noteBlok1) + (( ...
-
... ur, env, amp, -3), doneAction: 2); sig = PlayBuf.ar(1, bufNum, pitch, 0, pos.linlin(0,1,0,BufFrames.kr(bufNum))) * envl; Out.ar(0, Pan2.ar(sig, pan)); }).add; s.sync; }.fork; ~pos = { rrand(0.2, 0.6) }; ~dur = { rrand(0.1, ...
-
... = Mix.ar(osc); //osc = BPF.ar(osc,TRand.ar(60,12000,imp),LFNoise2.kr(1).linlin(-1,1,0.5,1)); osc = Pan2.ar(osc,LFNoise2.kr(TRand.kr(0,4.0,gate))); env = EnvGen.ar(Env.new(bPoints,bTimes),gate:gate,doneAction:2); ...
-
... ight / ( all_groups.size - 5 ) ); slider.action = { var value = slider.value.linlin( 0, 1, subview.bounds.height - view.bounds.height, 0 ); subview.moveTo( 0, 0-value ); }; // Finally, bring the window to the front. view.front; C ...
-
... annels: 1, bufnum: 1, rate: rate, startPos: startPos.linlin(1, 10 , 0, BufFrames.kr(buffer)) ); snd = Pan2.ar(snd, panning); Out.ar(0, snd); }).add; ) ) (~granny2= ( SynthDef("granny1", {arg ...
-
... Synth("SynthesisSynergy", [ \freq, note.midicps, // converts to Hz \amp, vel.linlin(0, 127, 0, 1) // converts vel to amp 0-1 ]); ["note", note, "vel", vel].postln; }); )
-
... i] = [sources[i], freqs].flopWith{ |j, freq| Synth(q.names[j], [\freq, freq.linlin(0.0,1.0,300,2000)]) }; } }; q.stopSynths = { |i| IO{ q.synths[i].do(_.release); q.synths[i] = [] } }; q.setFreq = { |i, freqs| IO{ [q.sy ...
-
... Synth(\lfo); ~alienSynth = {Synth(\alien, [\dur, 2, \amp, 0.125, \pan, x.linlin(radius, winW-radius, -1.0, 1.0)])}; ~explosionSynth = {Synth(\explosion, [\amp, 0.3])}; //////////////////////////Sound Functions ~engine ...