-
... nthDef ( \in_grain_test , { arg gate = 1, amp = 1, envbuf; var pan, env; // use mouse x to control panning pan = MouseX .kr(-1, 1); env = EnvGen .kr( Env ([0, 1, 0], [1, 1], \sin , 1), gate, levelScale: amp, doneAction: 2); Out .ar(0, Grain ...
-
... 0.1, 0.02, 0.4, 1.1], [ \lin , \exp , -6, \sin ]).plot; Out .ar(0, sin * // use MouseX to index into the InterplEnv to control amps IEnvGen .kr(env, MouseX .kr(0, env.times.sum)) * EnvGen .kr( Env .asr(0.01, 1, 0.01), gate, doneAction: 2); ...
-
... ping child views and widgets. While they accept key actions, many do not accept mouse clicks or drags. The exception is SCTopView and its subclasses. Class Methods Inherited class methods Instance Methods Accessing Instance and Class Variab ...
-
... 16), 0, read).lag(0.01) * [1, 1.01] ) * 0.1 }.play; ) // write into buffer with mouse clicks ( { var val = MouseY .kr(1000, 200, 1); // cursor y pos controls frequency var pos = MouseX .kr(0, BufFrames .kr(b) - 1); // cursor x position cont ...
-
... ctFunction : Object Respond to the state of a key Source: MacUGens.sc See also: MouseButton , MouseX , MouseY Description Respond to the state of a key. NOTE: Note that this UGen does not prevent normal typing. It therefore may be helpful t ...
-
... grouping widgets in a window. While it accepts key actions, it does not accept mouse clicks or drags. Creation / Class Methods *new (parent, bounds) parent - The parent view. bounds - An instance of Rect , or a Point indicating width@heigh ...
-
... ~hoaNumChannels); ~hoaSignal.source = {HOAEncoder.ar(~order, WhiteNoise.ar(1), MouseX.kr(-pi, pi), 0 )}; ~hoaSignal.fadeTime = 1; ) // execute this line to monitor the signal starting with bus 0, then watch the oscilloscope ~hoaSignal.play ...
-
... methods of its own. NOTE: In Cocoa GUI, this view accepts key actions, but not mouse clicks or drags. Class Methods Inherited class methods Instance Methods Inherited instance methods Examples Coordinate System Containers use relative coor ...
-
... y({ 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 ...
-
... w.ar(120)); // to be filtered chain2 = FFT(b, PlayBuf.ar(1, z, 1, loop: 1)); // mouse x to play with floor. chain1 = PV_SpectralMap(chain1, chain2, 0.0, freeze, MouseX.kr(-1, 1), 1); out = IFFT(chain1); Out.ar(0, out.dup); }).play(s, [\sndB ...