-
... | SinOsc.ar( 440 * (2 ** [a, b, c, d].lag(0.1))).sum * 0.1 }).play; Ndef(\four).gui; // add the destination z.addDest(\four, Ndef(\four)); z.destsDict; // set values : // as no paramMap and specs were given, // param names and values are se ...
-
... on.names; -> [ abd, ag, bd, be, bt, ca, cas, ch, cl, cow, cp, cr, cr2, cy, esn, gui, hag, hb, hc, hft, hh, hmt, hq, ht, hti, hwb, jb, lag, lb, lc, lft, lgui, lmt, lt, lti, lwb, lwi, ma, mb, mc, mcl, mhc, ms, mt, oc, oh, ohc, os, ot, ph, ri, ...
-
... f the parameters /// most simple mapping - button on/off k = MKtl( 'rnnd0' ); k.gui; s.boot; SynthDef( \testSynth, { |out=0,on=0| Out.ar( out, SinOsc.ar( 440, 0, on * 0.1 ) ) } ).add; x = Synth.new( \testSynth ); k.elementAt( \bt, 1 ).actio ...
-
/////////////// really basic History setup: /* // make a history GUI window History.makeWin; }; // tell the Histoy class to share code via oscgroup: History.forwardFunc = { |code, result| "send code to shared history ...".postln; q.oscRoute ...
-
... beat } relocate { arg beat, q=4; model.gotoBeat(beat, q); } save { model.save } gui { arg parent, bounds; // detect and front //var open; //open = model.dependants.detect(_.isKindOf(MxGui)); //if(open.notNil and: { open.isClosed.not }, { // ...
-
... .collect{ |hot| Color (hot, 0, 0)}; ~som.loadToFloatArray(action: { |arr| { w = GUI .window.new( "SOM nodes" , Rect (200, 800, 600, 600)); // SCWindow (0,3..arr.size-1).do{ |index| GUI .staticText.new(w, Rect ( (arr[index] +1 * 300 ), (arr[ ...
-
... t; cellSize = cell; this.changed([\switchSpace]); /* this.fastResetCamera; */ } gui{ arg x, y; GameLoopGUI(this, x, y); } guiClose{ GameLoopGUI.instance.clear; } world{ ^entManager } play{ arg rate; if (mainRoutine.isNil, { if(rate != nil, ...
-
... edalNodes = IdentitySet.new; }); } mapGlobal { arg name, bus, value, spec, allowGUI = true; // maps name to a kr bus in every node var gc; if(globalControls[name].isNil) { globalControls.put(name, gc = VoicerGlobalControl.new(name, bus, thi ...
-
... east(3, 7) and: { Platform.ideName == "scqt" }); // common helper funcs // when GUI window is front, /bars.(...) should NOT affect current document Library.put(\clLivecode, \setupbars, \guiIsFront, false); /** Chucklib-livecode: A framework ...
-
... w; path = path.asString; path.dump; new=super.new; new.makeView(layout,minWidth,GUI.skin.buttonHeight); new.view.action_({new.doAction}); new.path_(path); ^new } path_ { arg p; subject = p.asString; this.initOneState(PathName(subject).fileN ...