-
... t = false; defs = UMapDef.loadAllFromDefaultDirectory .collect(_.synthDef).flat.select(_.notNil); UMapDef.loadOnInit = true; ULib.servers.do({ |srv| if( srv.class == LoadBalancer ) { if( srv.servers[0].isLocal ) { defs.do(_.justWriteDefFile ...
-
... ") } size { ^this.notes.size; } *choose { |size = 16| var loop = this.chooseFromSelected { |x| (x.size == size) }; if(loop.isNil) { "No known chord with size %".format(size).warn }; ^loop } *chooseFromSelected { |selectFunc| selectFunc = se ...
-
... keWindow; s.boot; ) ⧉ ✔ Start the oscilloscope showing all the channels for the selected order of the b-format. ( // try different orders up to 5 ~order = 5; ~hoaNumChannels = (~order+1).pow(2); s.scope(~hoaNumChannels); ) ⧉ ✔ Let's try som ...
-
... .adapt(calibrateWin); if(SGUI.currentTheme!=\dark, { calibrateWin.view.children.select{|v| v.isKindOf(Slider)}.do{|v| v.background= Color.grey(0.7725, 0.5); }; }); calibrateWin.front; CmdPeriod.doOnce({calibrateWin.close}); calibrateWin.vie ...
-
... utton from the bottom row crossfader remains the same no matter which pages are selected. For demonstration purposes, it has desc files for both kinds of hierarchical orders: element types on top and pages on top. // Look for devices MKtl.f ...
-
... | if (ev.type == \set) { // filter just the params we are interested in ev = ev.select{ |val, key| k.paramsToRecord.includes(key) }; // rescale if rescale is on ev = k.rescaleEvent(ev); // map to the objects out specs ev = ev.collect{ |val, ...
-
... / intermediate value \patternKey , Prand ([ \up , \down ], inf ), // pattern is selected and pan applied here \pattern , Pfunc { |ev| Pbindf (ev.dict[ev.patternKey].value, \pan , -1) }, \delta , Pwhite (1, 5, inf ) * 0.125, \method , \par ) ...
-
... ct({ |pair| if(pair[0] != pair[1], { pair[0].asInteger }, { nil }) }); if(margs.select({ |i| i.notNil }).size > 0, { this.midiConnect(uid: margs[0], chan: margs[1], num: margs[2], slot: v[0]); }, { this.midiConnect(slot: v[0]); }) }, 0, { t ...
-
... fundamental note and chord type from the list in ChordsDefinition where you can select triads, sevenths and ninth chords among others. For example // C minor chord [0,3,7,12] a = Harmony.create(0,"m") // A major chord [9,13,16,21] b = Harmo ...
-
... var obj; obj = vw.object; if( obj.class == Function ) { if( obj.def.sourceCode .select({ |item| [ $ , $\n, $\r, $\t ].includes(item).not }) .size > 2 ) { vws[ \val ] = obj; vws[ \setLabel ].value; action.value( vws, vws[ \val ] ); } { vws[ ...