-
... ffers prepared.".postln; }) ) // play the synth, indexing into the buffers with MouseX ( x = SynthDef("help-VOsc", { |out = 0, bufoffset = 0| // mouse x controls the wavetable position var bufindex = MouseX.kr(0, ~bufs.size - 1) + bufoffset ...
-
... play; ⧉ ✔ Changing parameters in realtime: ( // change freqs and ringtimes with mouse { var freqs, ringtimes; freqs = [800, 1071, 1153, 1723] * MouseX.kr(0.5, 2, 1); ringtimes = [1, 1, 1, 1] * MouseY.kr(0.1, 10, 1); DynKlank.ar(`[freqs, nil ...
-
... ews will only redraw when update is called). Changing the value of a view using mouse or keyboard will call the action function immediately. Class Methods Inherited class methods Instance Methods . action a Function . can be called without ...
-
... ain. Arguments: point A Point at which to show the menu. Default to the current mouse cursor position. action The action that should appear at the specified point coordinates. Should be an action contained in the menu. . title . title = tit ...
-
... and decrement the volume. This allows, for example, to simulate a LFO with the mouse. var ampSlider = GMFaderSlider() .modStep_(0.001) .modStepOperator_(\add) .modStepPixelRange_(1) ⧉ ✔ The second mod step, that is used when holding both C ...
-
... n Class methods new Inherited class methods Instance methods Interaction action mouseDownAction Graphical settings blink blinkColor blinkFontColor blinkTime string fontRatio stringRatio maxFontSize orientation svg svgRatio free Internal Met ...
-
... n Class methods new Inherited class methods Instance methods Interaction action mouseDownAction Graphical settings blink blinkColor blinkFontColor blinkTime string fontRatio stringRatio maxFontSize orientation direction svg svgRatio free In ...
-
... 2.ar(out, 0, 0.1); }.scope ) x.free; ( // Modulate the parameters by moving the mouse. Left speaker is original (modulated) sine wave, right speaker is filtered. x = { var sig, out; sig = SinOsc.ar((LFPulse.kr(0.5) + LFPulse.kr(0.33)).range ...
-
... (\test).set(\amp, 2.0); // try with narrow noise, // freq and amp controlled by mouse Ndef(\test).put(5, { BPF.ar( WhiteNoise.ar(MouseY.kr(0, 1.4).squared) ! 2, MouseX.kr(50, 10000, 1), 0.1) * 10 }); ⧉ ✔ Class Methods . ar create a DualBand ...
-
... odes nodes, and a 1D net trained on 2D input data. // This simple example takes mouse X and Y coords onscreen and prints the co-ordinate of the nearest node. // Try drawing a big sinewave across the screen, like the one plotted in the SOMTr ...