-
... mul: env * modulator); carrier = Mix.ar(carrier); carrier = LPF.ar(carrier, Line.kr(10000, 1000, att)); Out.ar(0, Pan2.ar(carrier, pos)); }).add; SynthDef("fm1", {arg freq = 440, modfreq = 5, modindex = 10, amp = 0.1, pos = 0, gat ...
-
... umChannels)*i), bounds.width, bounds.height/numChannels)) .readOnly_(true) .drawLines_(discrete.not) .drawRects_(discrete) .canFocus_(false) .thumbSize_(thumbsize) .valueThumbSize_(1) .background_(XiiColors.lightgreen) .colors_(XiiColors.da ...
-
... rts playing proxy outputs over non-adjacent channels ; somewhat like a splitter/line mixer. // examples s.boot; p = ProxySpace.push; s.scope(8); // a 3 channel test sound ~test3 = { SinOsc.ar([2, 3, 5] * 100) * 0.2 }; // compare: play out o ...
-
... arrier, modulator, freqdev, env, modfreq; // i = d/m, so d = m*i modindex = Line.kr(modindex, 1, att); modfreq = freq / 2; freqdev = modfreq * modindex; modulator = WhiteNoise.ar(freq: modfreq, mul: freqdev); carrier = Saw.ar(fr ...
-
... ter. Grains have a triangular amplitude envelope and an overlap of 4:1, and use linear interpolation of the buffer. Class Methods PitchShift. ar ( in: 0.0 , windowSize: 0.2 , pitchRatio: 1.0 , pitchDispersion: 0.0 , timeDispersion: 0.0 , mu ...
-
... e interpolation method used for pitchshifting grains. 1 = no interpolation. 2 = linear. 4 = cubic interpolation (more computationally intensive). Examples: s.boot; ( var winenv; // a custom envelope - not a very good one, but you can hear t ...
-
... for (int x= 0; x<BUFFERSIZE2; x++) { stroke(fftArray[x]*255.0, 0, 0); line(x, height*0.1, x, height*0.9); } } */ //--supercollider code: ( var buffersize= 2048; var buffersize2= buffersize.div(2); n= NetAddr("127.0.0.1 ...
-
... ----------------------------------------------------------------- ( ~b2int= {|line| var res= List.new; var nbit= line.size; var k, j= 0; while({j<nbit}, { k= 1; while({line[j= j+1]!=$1 and:{j<nbit}}, { k= k+1; }); ...
-
... ed class methods Instance Methods Inherited instance methods Examples //run one line at a time f= BBCutBuffer(Platform.resourceDir +/+ "sounds/break.aiff",8); Post << [\length,f.length, \beatlength, f.beatlength, \events, f.eventstarts] << ...
-
... nerators are shown bij different steps on a randomly chosen scale. For the bass-line the melody is cut in half and each half is played on a different channel in half tempo. /* Cumulative pulses Imagine pulse-generators with different freq ...