-
... ce methods Examples s.boot; // Default... x = {AY.ar * 0.1}.play(s); x.free; // Mouse-controlled tones ( x = { Pan2.ar(AY.ar( tonea: MouseY.kr(10, 3900, 1), toneb: MouseX.kr(10, 3900, 1), control: 3, vola: 14, volb: 14, volc: 0, mul: 0.1 )) ...
-
... allow for simulated holding down // (button polyphony) when playing with just a mouse. q.buts = 4.collect { |i| 4.collect {|j| Button(q.mpdwin, Rect(i * 80 + 5, 240 - (j * 80) + 5, 75, 75)) .states_([ ["dest" + (i + (j * 4)), Color.black], ...
-
... r scale = Scale.choose.postln; SinOsc.ar( ( DegreeToKey.kr( scale.as(LocalBuf), MouseX.kr(0, 15), // mouse indexes into scale scale.stepsPerOctave, 1, // mul = 1 60 // offset by 72 notes ) + LFNoise1.kr([3, 3], 0.04) // add some low freq st ...
-
... ard params lead to high level output // reasonable adaption with sine source // mouse left turns source down, but oscillator still keeps frequency // move mouse to right to turn source on again ( x = { var ratio = Demand.ar( Impulse.ar(3), ...
-
... var bounds, <focusedPoint; var <>currentDragPoint, draggingXY, draggingOutlet, mouseDownPoint, isDown=false; var <selected, hovering, dragging; var points; var <>ioHeight=10, <>faderHeight=80.0; var <>dragOn=4; // pixel distance to initiat ...
-
... ard params lead to high level output // reasonable adaption with sine source // mouse left turns source down, but oscillator still keeps frequency // move mouse to right to turn source on again ( x = { var ratio = Demand .ar( Impulse .ar(3) ...
-
... 512 sound file samples from cursor // bug somewhere here, always requires two mouse clicks to work... // why?? sfselDisp.value = loadDisp.value(cursorFrame); 0.0001.wait; sfselDisp.refresh; // make fft and plot spectrum fftD ...
-
... ; harmo_text.align = \center; harmo_text.string = "Harmo"; harmo_text.acceptsMouse = false; harmo_view.action = {arg multi; var index = multi.index; var value = multi.currentvalue; if( value < 0.025, { value = 0 } ); harmo_spe ...
-
... with the random number generation- causes periodicities { Pan2.ar(Gendy2.ar(a: MouseX.kr(0.0, 1.0), c: MouseY.kr(0.0, 1.0))) }.play ( { Pan2.ar( Normalizer.ar( RLPF.ar( RLPF.ar( Gendy2.ar( a: SinOsc.kr(0.4, 0, 0.05, 0.05), c: SinOsc.kr(0.3 ...
-
... -similar in sclang and inside synthdefs s.boot { SinOsc .ar( EaseInOutExpo .kr( MouseX .kr)*500+500, 0, 0.1)}.play a.collect{ |x| EaseInOutExpo. (x)}.plot //--rates are flexibe when used inside synthdefs { SinOsc .ar( EaseInAtan. ( SinOsc . ...