-
... actions slightly differently. In Cocoa dragging begins as soon as you click the mouse. In Swing, you must move the mouse before dragging commences. To trigger a process with Swing, you must drag a very short distance. Why is dragging involv ...
-
... (s,2048,1); ( { // Example - vary mixture of white noise and pure tone with the mouse var in, chain, crest; in = XFade2.ar(WhiteNoise.ar, SinOsc.ar, MouseX.kr(-1,1)); chain = FFT(b.bufnum, in); Out.ar(0, in.dup * 0.1); crest = FFTCrest.kr(c ...
-
... er interfaces for JITLib style objects! Ndef(\mic).gui; // 2 - Interfaces - the mouse // mouse control of pitch: { SinOsc.ar(MouseX.kr(20, 2000, 1)) * 0.1 ! 2 }.play; // mouse theremin - pitch and volume! { SinOsc.ar(MouseX.kr(20, 2000, 1)) ...
-
... sin_grain_test , { arg gate = 1, amp = 1, envbuf; var pan, env, freqdev; // use mouse x to control panning pan = MouseX .kr(-1, 1); // use WhiteNoise and mouse y to control deviation from center pitch freqdev = WhiteNoise .kr( MouseY .kr(0, ...
-
... efine a drawing function for SCPen 5. Define typical widget methods 6. Override mouseActions 7. Define default key actions 8. Define default drag and drop actions Custom view template NOTE: This document only applies to Cocoa GUI . Subclass ...
-
... ec.unmap( inArray ); } spec_ { |newSpec| spec = newSpec.asSpec; view.refresh; } mouseEditSelected { |newPoint, mod| var pt; // returns true if edited if( mod.isKindOf( ModKey ).not ) { mod = ModKey( mod ? 0); }; switch( editMode, \move, { p ...
-
... = Buffer.sendCollection(s, ~treedata.flat, 5); ~foundbus = Bus.control(s, 3); ~mousebus = Bus.control(s, 2); // lang-side cache of values which we'll poll from the server: ~mousepos = [0.5,0.5]; ~nearests = [0,1,2]; ); ( w = Window.new("po ...
-
... \fm_grain_test , { arg gate = 1, amp = 1, envbuf; var pan, env, freqdev; // use mouse x to control panning pan = MouseX .kr(-1, 1); // use WhiteNoise and mouse y to control deviation from center pitch freqdev = WhiteNoise .kr( MouseY .kr(0, ...
-
x mouse position allows us to 'scratch' 10 seconds of input // vinil 10 // Esta cosa tiene un delay de maximo 10 segundos. La posicion X controla el tiempo de delay. // nos permite hacer una especie de 'scratch' como el de los djs con lo ...
-
... 1, -0.3, 0.3)), 0.001, 0.3 ) * Mix.ar(Pulse.ar([80, 81], 0.3)); // apply gate (mouse x sets treshold) Compander.ar(z, z, thresh: MouseX.kr(0.001, 1), slopeBelow: 10, slopeAbove: 1, clampTime: 0.01, relaxTime: 0.01 ) }.play; ) ⧉ ✔ Compresso ...