-
... = TempoClock.new(~bpm/60).permanent_(false); ~whiteNotes = [// white notes index 0 to 28 36,38,40,41,43,45,47, 48,50,52,53,55,57,59, 60,62,64,65,67,69,71, 72,74,76,77,79,81,83, 84]; ~revBus = Bus.audio(s,2); ~makeSynths.v ...
-
... , 3 =~ mel scale) image.setPixels(Int32Array.fill(width * height, { |i| var index = scaleFunc.(height - (i / width) - 1).asInteger; var frame = i % width; var mag = ~fftMags[frame][index]; Image.colorToPixel(Color.gray(0, mag.l ...
-
... ClassChoice(preferSimpleUgens))}; string = "{\n\t"; arr.do({ |class,index| var name = class.asString; var args = dict[class]; string = string ++ (binopRate*(index>0).asInteger).coin.if {MCElectronique.binopStr( ...
-
... ! 2; }.asSynthDef.name_("bass").add; { | dur = 0.15, freq = 50, amp = 0.8, index = 10 | PMOsc.ar(freq, freq + 5, index, mul: amp * EnvGen.kr( Env.triangle( dur ), doneAction: 2 )) ! 2; }.asSynthDef.name_("bazz").add; ) ( Ppar ...
-
... alue = Array.fill(numharm, {0.0}); multiSlider.isFilled = true; multiSlider.indexThumbSize = 13.0; multiSlider.gap = 4; /*multiSlider.action = {multiSlider.value.do({arg value, count; spectrum[count].set(\amp, value); [value, cou ...
-
... ge = range.reverse; var temp = array.copy; range.postln; range.do({|item, index| array[item] = temp[reverseRange[index]]; }); array; }; var octRand = {|array| var rand = rrand(0, array.size-1); array[rand] = array[rand] ...
-
... 0}); if (~n == []) { ~n = nil; }; */ } ); note_getter = { | index | Plazy { if (~n.isNil) { Pseq([Rest(1)]); } { ~n[index] ?? (~n[0] ?? Pseq([Rest(1)])); }; }; }; n0 = note_getter.(0); ...
-
... uestions on the list is about handling very large sound files with BufRd. BufRd indexes into the buffer using a single-precision float, which supports buffers only up to 2**24 frames (a bit more than six minutes at 44.1 kHz). This approa ...
-
... [0].x,~allPoints[0].y); Pen.moveTo(startPoint); ~allPoints.do({ | pt, index | if ((index > 1), { var prevPoint = ~allPoints[index-1]; Pen.fillColor = "000000"; Pen.alpha_(index.linlin(0, ~allPoints.size, 1, 0)); ...
-
... he sources at: MIDIClient.sources // and connect using MIDIIn.connect( source_index ) MIDIIn.connect; // show incoming control data ~control = { arg src, chan, num, val; [chan,num,val].postln; }; MIDIIn.addFuncTo(\control, ...