-
... .round.asInt; degrees = degrees ++ index; }); degrees = degrees.sort; //degrees.post; } , { // take all of the degrees degrees = Array.series(tuning.size, 0, 1); }); ^Scale(degrees, tuning.size, tuning: tuning, name: tuning.name); } plot { ...
-
... by 2 steps (as in MIDI cc steps) MFdef('ndefVolStep').(NTMI.slots.actives[1], 2.postln); // see the function for that: MFdef('ndefVolStep').funcDict.postcs; /////////////// SOUND CHOICE and PRESET Functions: ///////////// ///// Choose which ...
-
... r dictionary of ixiQuarks: XQ.globalBufferDict // or if you have lots of pools: Post << XQ.globalBufferDict // let's look at what pools we have open: XQ.poolNames // get the buffers of a pool a = XQ.buffers('bufferPool 1') // get the select ...
-
... s.reply' and: ( msg[0] != '/info') ) { "At time %s received message % from %\n".postf( time, msg, replyAddr ) } } ); // stop posting. thisProcess.recvOSCfunc = nil; // ===================================================================== // ...
-
... trolTypes.addAll(["AA","AF"]); }, {("undefined style for accelerometer:"+style).postln; ^this;} ); controlName = "accelerometer"; }, \webview, { controlName = "webview"; }, {("did not recognize control type:"+type).postln; ^this;} ); messag ...
-
... erNode(a.server.addr, '/tr', {arg time, resp, msg; (msg[2] == group).if({msg[3].postln}) }) ); Task({ s.sendMsg(\s_new, \trig, a.server.nextNodeID, 0, group, \id, group, \val, i); i = i + 1; inf.do({ // start a new synth... run it inside th ...
-
... erNode(a.server.addr, '/tr', {arg time, resp, msg; (msg[2] == group).if({msg[3].postln}) }) ); Task({ s.sendMsg(\s_new, \trig, a.server.nextNodeID, 0, group, \id, group, \val, i); i = i + 1; inf.do({ // start a new synth... run it inside th ...
-
... copyFolder = { |orig, dest| var str = "cp -ir" + quote(orig) + quote(dest); str.postcs; unixCmd(str); }; // make some needed paths and folders ~pathToThisApp = Platform.resourceDir.dirname.dirname; ~thisAppName = ~pathToThisApp.basename.spl ...
-
... ction. For example ( a = Environment.make({ ~a = 100; ~b = 200; ~c = 300; }); a.postln; ) ⧉ ✔ creates an environment, while a.use({ ~a + ~b + ~c }).postln; ⧉ ✔ evaluates the function within that environment. valueEnvir and valueArrayEnvir W ...
-
... ().addMe(~peer2); ~addrBook1.add(~peer2); ~addrBook2.add(~peer1); ) // only one posts code when received // and we'll pass a no-op codeDumpFunc to avoid duplicates sends since we're on one machine ~codeRelay2 = CodeRelay(~addrBook2, true, c ...