-
... mpare that we have all the specs, except globals like \amp: Ndef(\beatX).controlKeys Ndef(\beatX).getSpec.keys Ndef(\beatX).gui; Ndef(\beatX).play; */ Ndef(\beatX).addSpec(\bpm, [12, 1200, \exp, 1]); Ndef(\beatX).addSpec(\att, [0, 0.1, 5]); ...
-
// requires wslib & TabbedView quarks // wslib 2009 MasterEQ { classvar <>eq; // dict with all variables classvar <window; classvar <>prefsPath; *initClass { prefsPath = Platform.userAppSupportDir +/+ "eq-prefs.txt"; } *new { |numCha = (2), ...
-
... ections. good for live-coding // available pools *poolNames { ^globalBufferDict.keys.asArray.sort; } // bufferlist with buffers AND selections *bufferList {arg poolname; if(poolname.isString, {poolname = poolname.asSymbol}); if(globalBuffer ...
-
// put up a new clothesline and schedule some items ( ~player = Clothesline.new; ~player.addAllScores("".resolveRelative); ~player.schedAllArrays([ [\this, 1.0, 4], [\more, 2.5, 5.0], [\more, 7.5, 8.0, \more2], // alias [\that, 3.0, 4.5], [ ...
-
... findWebColor { arg table; var array = []; table = table ?? { Color.web }; table.keysValuesDo({ |key, value| if( value == this ) { array = array.add(key) }; }); ^array.sort; } *webNameIndex { arg name = 'white', table; table = table ?? { Col ...
-
... 0.25, pan: -0.5)); The initValues should be a dictionary with control names as keys. (key: value, key: value) is a shortcut syntax. Not all controls need be specified--values not assigned here will take the default from the MixerChannelDef ...
-
... 0.25, pan: -0.5)); The initValues should be a dictionary with control names as keys. (key: value, key: value) is a shortcut syntax. Not all controls need be specified--values not assigned here will take the default from the MixerChannelDef ...
-
... s = requiredFields.collectAs({ |f| f -> "Missing." }, IdentityDictionary); data.keysValuesDo { |field, content| field = field.asSymbol; if (content.isKindOf(String)) { content = content.stripWhiteSpace(); }; if (this.respondsTo(field)) { fi ...
-
... = q ? (); q.origSynthDefs = q.origSynthDefs ?? { SynthDescLib.global.synthDescs.keys }; // load other synthdef libs explicitly in startup, e.g. // "allesAnAlle.scd", "_FXLib.scd"; // (~libsPath +/+ "allesAnAlle.scd").loadPaths; "allesAnAlle ...
-
// first example of support for a roli keyboard: /* this raises a good question for mktl! like the qunexus, the roli keyboard uses expression polyphony as suggested by Roli: n midi channels get used dynamically every new key starts on the n ...