-
... ap = 4@4; composite = CompositeView( parent, bounds.asRect.copy.moveTo(0,0) ).resize_(5); composite.addFlowLayout( margin, gap ); composite.onClose = { |vw| controller.remove; onClose.value( this ); }; scrollView = ScrollView( composite, co ...
-
... on, joiner | ^this.collectAs( function, Array ).join( joiner ); } *fillJoin { | size, function, joiner, excludeNil = true | // any output for function is accepted var array; array = Array.fill( size, function ); if( excludeNil ) { array = a ...
-
... this.prettyList); file.close; "%: stored % settings at: \n%\n".postf(this, list.size, path.cs); } { "%: file store failed...".postln; } }); } read { |path, keep = false, doneFunc| var newList; path = path ?? { this.storePath }; newList = pa ...
-
A QuNeo's Sampler melodic and expressive with different scales by sebastienclara (sebastienclara) Code
... ; var scalesIndex = 51, locMoinsUn = 1; var sampler = Array.fill(padsDegree.size, {nil}); var buffer = Buffer.read(s, Platform.resourceDir +/+ "sounds/a11wlk01.wav"); SynthDef(\looper, { arg out=0, buffer, rate=1, amp=0.5, vibFreq ...
-
... }, check: { ((~radFxButton == ["R E M O V E F I L T E R"]) and: { ~radFxSliders.size == 4 }) or: { "buttons: " ++ ~radFxButton.cs ++ ", sliders: " ++ ~radFxSliders.size } }, teardown: ~radCloseWins, gui: true ); // blkgui opens the block's ...
-
... ply| reply.value(RedMst.isPlaying); }, //at //add //remove makeWindow: {|reply, size, skin| RedMst.makeWindow(size, skin); reply.value; } )
-
... odeDumpFunc = { |str| if (str.beginsWith(Shout.tag)) { Shout(str.drop(Shout.tag.size)) } }; rect = Rect(0, 0, 1024, 80); } *makeWin { |message="Shout this!"| win = Window("Shout'er", rect).front; win.alpha_(0.7); win.view.background_(Color. ...
-
... lLookup.allFor(\hid); var foundHidden = showAllDevices.not and: { HID.available.size != postables.size }; var hiddenStr = "// HID: Some HIDs not shown that can crash the OS. See: HID.available;"; var genericHint; if (foundHidden) { hiddenSt ...
-
... layoutMargin; var maxWidth = Window.screenBounds.width; var width = argFixtures.size * (viewExtent.x + layoutGap.x) + layoutMargin.x; var height = (viewExtent.y + layoutGap.y); var numRows = (width / maxWidth).asInteger; var numViewsPerRow ...
-
... / server.sampleRate).round(0.00001); onsetsList.add(onsetFrame); if (onsetsList.size % 20 == 0) { "% has % onsets so far ...\n" .postf(buf.path.basename, onsetsList.size); }; // onsetTime.postln; } }, \bufAnalyzeOnsets).add; // start analyz ...