-
... n a very different output. Compare these two examples: ( { SinOsc.ar( Hasher.kr(MouseX.kr(0, 10).round(1), 300, 500) ) * 0.1 }.play; ) ( { SinOsc.ar( Hasher.kr(MouseX.kr(0, 10).round(1) + 0.0001, 300, 500) ) * 0.1 }.play; ) // Output stays ...
-
... ce Methods Inherited instance methods Examples // vary frequency { StandardL.ar(MouseX.kr(20, SampleRate.ir)) * 0.3 }.play(s); ⧉ ✔ // mouse-controlled param { StandardL.ar(SampleRate.ir/2, MouseX.kr(0.9, 4)) * 0.3 }.play(s); ⧉ ✔ // as a fre ...
-
... * 500 + 200, 0, 0.2 ) }.play; ) // follow a sine lfo, reset rate controlled by mouse x ( { SinOsc.ar( Peak.kr(SinOsc.kr(0.2), Impulse.kr(MouseX.kr(0.01, 2, 1))) * 500 + 200, 0, 0.2 ) }.play; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCol ...
-
... icon if no copy func keydown action enable/disable x/y dragging other modifiers mouse move action so control drag can be used to change size could do zooming as well but fonts do not scale well */ UserViewObjectsManager { var <>view,<>bound ...
-
... ({ PitchShift .ar( SoundIn .ar([0,1]), // stereo audio input 0.1, // grain size MouseX .kr(0,2), // mouse x controls pitch shift ratio 0, // pitch dispersion 0.004 // time dispersion ) })) ( // use PitchShift to granulate input - USE HEADPH ...
-
... age({ |...args| args.postln }, \X, deviceInfo: b); a.free b = HIDProto.newType(\Mouse, \GenericDesktop); a = HIDFunc.usage({ |...args| args.postln }, \X, deviceInfo: b); a.free; b = HIDProto.newProduct("USB Mouse", "Logitech"); a = HIDFunc. ...
-
... hView.xyView ) .put( \select, { editView.selected = pathView.selected }) .put( \mouse_hit, { editView.apply( true ) }) .put( \edited, { |obj, what ...moreArgs| if( moreArgs.includes( \no_undo ).not ) { editView.object = pathView.object; }; ...
-
... nstead of modeling the squiggle with math formulas you can also just draw it by mouse, record it and then play it back (after optionally transforming it) to drive some synths. // part one: record squiggle ( // start time var startTime = ...
-
... ce Methods Inherited instance methods Examples // vary frequency { StandardN.ar(MouseX.kr(20, SampleRate.ir)) * 0.3 }.play(s); ⧉ ✔ // mouse-controlled param { StandardN.ar(SampleRate.ir/2, MouseX.kr(0.9, 4)) * 0.3 }.play(s); ⧉ ✔ // as a fre ...
-
... drop returns and accepts a Point, describing the current x and y value. All the mouse actions ( action , mouseDownAction , and mouseUpAction ) receive the following arguments: view the view x subpixel location in view y subpixel location in ...