-
... { if(x.beginsWith("--func")) { // somehow we need to run this twice x["--func".size()..].compile().(); }; }; }; var t = "{ \"f\": \"--func{|x| 42;}\" }"; var o = JSONlib.convertToSC( t, customDecoder: f ); o.postln; this.assertEquals( o[\f ...
-
... ethods in Color to generate useful visual transforms. you can change font face, size, color Dragging You can drag boxes to other boxes and implement that as moving, copying, layering, connecting to or whatever you like. You cannot drag view ...
-
... e); } setLEDs { |val = 1 ... indices| listenAddr.sendMsg("/manta/leds", indices.size, *(indices ++ val)); } }
-
... / /serial/buffer/<channel> // integer argument (1 – 2048) sets the input buffer size for the specified serial <channel> (1 – 4) // /serial/timeout/<channel> // the timeout of the input buffer for the specified serial <channel> (1 – 4) is se ...
-
... cmd-. to stop all nodes // start again ~out.play; ⧉ ✔ feeding back (one buffer size delay) ~out = { SinOsc.ar([220, 330], ~out.ar(2).reverse * LFNoise2.kr(0.5, 4pi), 0.4) }; // there is no immediacy: hear the buffer size cycle ~out = { Imp ...
-
... t. You may specify a different channel here -- for instance, if you have a full-size keyboard without many continuous controllers, and another device with several knobs, the socket can receive notes from the keyboard, and you can create con ...
-
... be aware that by default sound files are only analysed for n*serverOptions.blockSize<SoundFile.duration please look at the trimDuration argument for details.) A simple example: ( a = SoundFileAnalysis.new; // add some custom sound analysis ...
-
... ); } paramShift { |step = 1, scene=1| var numActive = pxEditors[scene].editKeys.size; var maxOff = (numActive - 8).max(0); var parOffset = (parOffsets[scene] + step).wrap(0, maxOff); parOffsets[scene] = parOffset; pxEditors[scene].highlight ...
-
... ; var wcnt; if(num == midiRotateWindowChannel, { { wcnt = GUI.window.allWindows.size; if(XQ.globalWidgetList.size > 0, { chosenWidget = val % wcnt; GUI.window.allWindows.at(chosenWidget).front; XQ.globalWidgetList.do({arg widget, i; if(widg ...
-
... esponds. See SCView . returns: [ \bounds , \visible , \enabled , \canFocus , \resize , \background , \minWidth , \maxWidth , \minHeight , \maxHeight , \value , \font , \states , \focusColor ] defaultGetDrag The method called by default when ...