-
... pos=1, sustain=0.01, pan| var snd = HPF.ar((LPF.ar((PlayBuf.ar(1, q.buffer, Line.ar((rate*BufRateScale.kr(q.buffer)), (rate*BufRateScale.kr(q.buffer)*bend), sustain), 1, pos, 0, 2)), 20000)),20); var env = EnvGen.ar(Env.sine(su ...
-
... f)}!8,123).tanh))}// #sc140 // 04 SynthDef(\,{|f,j|Out.ar(0,LFTri.ar(f!2)/8*Line.ar(2,1,j,1,0,2))}).add;29.do{|i|Pbind(\instrument,\,\f,(i+1)%9*88,\dur,i+1/9,\j,i/99).play} // 05 - nasty for cpu ~8k ugens, ~40% on my machine d=Dust; ...
-
... (1, c, BufRateScale.kr(c), loop: 1); // pitch source - random polyphonic line in2 = Saw.ar(LFNoise0.ar(1!3).exprange(100,5000)).mean; chain = FFT(LocalBuf(fftsize), in, wintype:1); chain2 = FFT(LocalBuf(fftsiz ...
-
... st scale degree (like in "movable do" solfege), simply add -1 to the end of the line. // The example below is in Eb Major ( Pbind( \scale, Scale.major, \degree, Pseq([1, 2, 3, 4, 5, 6, 7, 8]) - 1, \root, 3, // Eb Major \dur, 1/2 ...
-
... i couldn't test this code on my synths, the CC part was tested. // running this line will show all your MIDI ins and outs on the console // find the number of the output interface you want to use MIDIClient.init; // select the midi out ...
-
... se = LPF.ar(WhiteNoise.ar(1),6000); osc = HPF.ar(noise,2000); //env = Line.ar(1, 0, 0.1); env = EnvGen.kr(Env.perc(0.01,0.05), doneAction: 2); out = (osc * env); Out.ar([0,1],out*amp) }).add; ) ( Ppar([ P ...
-
... Sample Machine v1. Don't forget to update the paths to the audio samples on lines 23-26. Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License: http://creativecommons.org/licenses/by-nc-sa/3.0/ */ ( Ser ...
-
... rq: In.kr(q) ); Out.ar(0, signal ! 2) }).add; SynthDef(\line, { arg start, end, dur, bus; var env = Env([start, end], [dur]); var signal = EnvGen.kr(env, doneAction: 2); Out.kr(bus, signal ! bus.numCha ...
-
... scale = that.scale; radius = that.radius * scale; // Draw outline Pen.line(that.ox@that.oy,that.x@that.y); // not in qt... if((GUI.scheme == "CocoaGUI") and: (radius > 5.0), { Pen.setShado ...
-
... o({ |pos, index| if ((index > 0), { Pen.fillColor = "000000"; Pen.line( Point(~allPoints[index-1][0], ~allPoints[index-1][1]), Point(pos[0], pos[1])); Pen.stroke; }); }); }); ) // part two: perform squiggle ( s ...