-
... ).string_( "spec" ); ~spec = PopUpMenu .new(~flow, 60@20) .items_( Spec .specs.select({ |x| x.isKindOf( ControlSpec )}).keys.asArray.sort) .action_({ |v| ~minbox.spec = Spec .specs.at(v.item).postln; ~minbox.refresh }); ~spec.valueAction = ...
-
... mc, autoGui: ~autoGui, extraFx: ~extraFx, userprep: { ~drumID = ~drumID.asArray.select { |key| if(~available[key].isNil) { "BP(%): Drum ID % is not known.".format( ~collIndex.asCompileString, ~drumID.asCompileString ).warn; false } { true } ...
-
... }); slg.formatMsg(r,m); }) }); }) }).resizeToFit } formatMsg { |r,msg| var cmd,selector; cmd = ServerLog.cmdString(msg[0]); selector = ""; cmd.do({ |char| if(char.isAlpha,{ selector = selector ++ char; }); }); selector = ("cmd_"++selector) ...
-
... xtOp == \sd } { minIndices.isInteger if: { yielder.() } } { nextOp == \d } { // select the receiver of logical difference difIndex.isNil.if { nextDifIndex = 0 }{ nextDifIndex = difIndexStream.next; nextDifIndex.isNil.if { ^inval }; }; (minI ...
-
... f 21, neither the numerator or the denominator will be larger than 21. For this selection method, we also need to specify how many ratios we want in our tuning (and how many of those we want in our scale). ``` t = d.limitedJustScale(21, 11, ...
-
... er| // returns all buffers if server == nil if( server.notNil ) { ^this.buffers.select({ |item| item.server == server }) ? #[]; }; ^this.buffers; } currentBuffer { |server| var buf; buf = this.currentBuffers(server).last; if( buf.notNil ) { ...
-
... , connect = 1| var env = \env.kr(0 ! 40); // enough for 10 breakpoints env[0] = Select.kr(connect > 0, [env[0], In.kr(outbus, 1)]); ReplaceOut.kr(outbus, EnvGen.kr(env, 1, levelScale, levelBias, time, doneAction: 2)); }).perform(Library.at( ...
-
... \shiftRange; // default dict[\foundIndex] = foundIndex; // index or nil // find selected dot: if (foundIndex.notNil) { // "foundIndex: %\n".postf(foundIndex); dict[\moveMode] = \single; } { // no dot index found, so try borders if (x.absdif ...
-
... eak and store volume levels: m.getHalo.vols = (); // modal functions: apply for selectedSlots m.getHalo.selectedSlots = List[]; // 4 SOUND BUTTONS: m.addNamed(\sndButs, m.elAt(\bt, (0..3))); m.getHalo.sndButs = m.elAt(\sndButs); // soundbut ...
-
... ctor.detect(fft[\mag], fft[\phase]); // Filter by frequency range peaks = peaks.select { |p| (p[\freq] >= lowestFreq) && (p[\freq] <= highestFreq) }; // Track partials (tracker carries full history per partial) newActiveTracks = peakTracker ...