-
... or thumbHeight are typically used for only one dimension. x and y are used for mouse clicks. Take a look at a similar SC widget to see what the standard instance variables are. 2. Define the viewClass to SCUserView This is mandatory. You m ...
-
... usage. E.g. the name of an X-axis of a joystick or the horizontal movement of a mouse has the name \X . These usage names are standardized by manufacturers and are looked up in usage tables based on the information coming from the device. I ...
-
... as a compile string to disk, saves the array with it. ( // modal space - jmc // mouse x controls discrete pitch in dorian mode Patch({ arg scale; var mix; mix = // lead tone SinOsc.ar( ( DegreeToKey.kr( scale.bufnumIr, MouseX.kr(0,15), // m ...
-
... .1)); [source1, signal]; }.play; ) // not so sucessful with this test sound: // mouse y is difficulty, mouse x is threshold ( { var source1, detect, difficulty, rate, trig, n = 20; rate = LFNoise1 .kr(0.3).exprange(1, 5); difficulty = Mouse ...
-
//springs interconnected2. monster //with mouse controlling mid point //with simple sounds mapped to each object. ( s.waitForBoot{ var width= 640, height= 480, wgrav, w, world, n= 18, objs, sprs, syns, cent= RedVector2D[width/2, height/2]; ...
-
//springs interconnected2. monster //with mouse controlling mid point //with simple sounds mapped to each object. ( s.waitForBoot{ var width= 640, height= 480, wgrav, w, world, n= 18, objs, sprs, syns, cent= RedVector2D[width/2, height/2]; ...
-
... /* uncomment this line to control wavetable interpolation with horizontal mouse position instead of a noise generator */ //sig = MouseX.kr!2; SendReply.kr(Impulse.kr(40), '/mouse', sig); 0 }.play(target:h); s.sy ...
-
... er.ar(Dust.ar(20, Line.kr(0, 1, 4)), 0.999) * 1500 + 200, 0, 0.2 ) }.play; ) // mouse x controls decay, center of the ( { var decay; decay = MouseX.kr(0.99, 1.00001).min(1.0); SinOsc.ar( PeakFollower.ar(Dust.ar(20), decay) * 1500 + 200, 0, ...
-
... 0); detect = PV_JensenAndersen .ar( FFT ( LocalBuf (2048), source1), threshold: MouseX .kr(0.1,1.0)); SinOsc .ar([440, 445], 0, Decay .ar(0.1 * detect, 0.1)); }.play; ) // using test sound: // mouse y is difficulty, mouse x is threshold ( { ...
-
//discrete world - explosions //with mouse controlling repulsive object location ( var width= 640, height= 480, w, wgrav, world, n= 50, rep, pixelSize= 4, wn= width/n, hn= height/n; //--world w= RedWindow("discrete world - explosions", Rect ...