-
... y wing // The adjustable parameters in the pd patch can be controlled by the mouse movement: // MouseX is controlling the wing-frequency, MouseY is controlling the wing-resonance. ( SynthDef(\houseflyWing, { |out=0| var sig, down ...
-
... dicUpdater(QtGUI, \cursorPosition); ~updater.connectTo({ |obj, changed, value| "Mouse position has changed to: %".format(value).postln; }); ) ~updater.stop.releaseDependants; ⧉ ✔ helpfile source: /tmp/scquark_hs/Connection/HelpSource/Classe ...
-
... ] and [FincoSprottS] Examples using just the x value: // Vary the freq with the mouse { FincoSprottL .ar( MouseX .kr(20, SampleRate .ir)).poll(2) * 0.3 }.play(s); // Vary the parameter "a". // NB the parameter affects the amplitude, so this ...
-
... Slider var bounds = this.bounds; ^(bounds.width-1).reciprocal } // (6) override mouseActions mouseDown{ arg x, y, modifiers, buttonNumber, clickCount; var newVal; // this allows for user defined mouseDownAction mouseDownAction.value(this, x ...
-
... roc. ICMC07, Copenhagen, 25-31 August 2007 Examples s.boot; // Play it with the mouse... x = { MoogFF .ar( WhiteNoise .ar(01.1), MouseY .kr(100, 10000, 1), MouseX .kr(0, 4)) }.play(s); x.free; // Mmmm, throbby x = { MoogFF .ar( Pulse .ar([4 ...
-
... ample for matching with a generic desc by hand: d = MKtlDesc.loadDescs("generic-mouse").first; m = MKtl.find(\hid); // we found an optical mouse with an hid ID, so make an MKtl, m = MKtl('m', 'hid_5_usb_optical_mouse'); // generic-mouse des ...
-
... to previous/next cue left/right arrow works only when cues are added/loaded Use mouse wheel/vertical two-finger drag to zoom in/out, and shift + mouse wheel or horizontal two-finger drag to scroll. Class Methods . new (describe method here) ...
-
... Dreset ( Dseries (0, 2, inf ), Drand ([0, 0, 0, 1], inf )); freq = Duty .kr(1/ MouseX .kr(1, 40, 1), 0, a) * 30 + 340; SinOsc .ar(freq) * 0.1 }.play; ) // reset when mouse button is pressed ( { var a, freq; a = Dreset ( Dseries (0, 2, inf ...
-
... (by Eric Skogen) // first boot the server s.boot; // Saw freq is controlled by mouse X position // BBandPass filter is controlled by // FormantTable data (frequencies, resonances, amplitudes) ( SynthDef(\formantVoice, { arg f = #[ 400, 750 ...
-
... erate random values. see also: LFDNoise0 , LFNoise1 , LFDNoise3 // try wiggling mouse quickly; // LFNoise frequently seems stuck, LFDNoise changes smoothly. { SinOsc .ar( LFNoise1 .ar( MouseX .kr(0.1, 1000, 1), 200, 500), 0, 0.2) }.play { S ...