-
... methods Examples s.boot a= {|freq= 2, t_reset= 0| RedImpulse.ar(freq, t_reset)}.play(fadeTime:0) a.set(\freq, 1) //change frequency a.set(\freq, 1, \t_reset, 1) //change frequency and reset phase a.set(\t_reset, 1) //reset phase only a.set( ...
-
... ; Pdefn ( \y , Prand ([5, 9, 1], 2)); Pdefn ( \z , Pdefn ( \y ) * 2); ( Pdef ( \play , Pbind ( \instrument , \gpdef , \harmonic , Pnsym ( Pseq ([ \x , \x , Prand ([ \x , \y ]), [ \z , \y ], \y ], inf )).trace, \dur , 0.2, \note , 10 ) ).pla ...
-
... ents may be initialized to literals or expressions, but in the case of Function-play or SynthDef-play, they may only be initialized to literals. // this is okay: { arg a = Array .geom(4, 100, 3); a * 4 }.value; // this is not: { arg freq = ...
-
... y works inside a UGen function. { Blip .ar( Blip .kr(4, 5, 500, 60), 59, 0.1) }.play; *buildSynthDef Return the SynthDef in which the UGen is situated. { UGen. buildSynthDef.dump; Silent.ar }.play; Note: For internally used class methods, s ...
-
... object prototyping style with a dedicated PLbindefEnvironment, which also holds player methods. This Environment is itself assigned to the PLbindef's name in an Environment of choice, by default the current Environment. Setting can thus be ...
-
... SinOsc.ar( RunningMax.ar(Dust.ar(20), Impulse.ar(0.4)) * 500 + 200, 0, 0.2 ) }.play; ) // follow a sine lfo, reset rate controlled by mouse x ( { SinOsc.ar( RunningMax.kr(SinOsc.kr(0.2), Impulse.kr(MouseX.kr(0.01, 2, 1))) * 500 + 200, 0, 0 ...
-
... SinOsc.ar( RunningMin.ar(Dust.ar(20), Impulse.ar(0.4)) * 500 + 200, 0, 0.2 ) }.play; ) // follow a sine lfo, reset rate controlled by mouse x ( { SinOsc.ar( RunningMin.kr(SinOsc.kr(0.2), Impulse.kr(MouseX.kr(0.01, 2, 1))) * 500 + 200, 0, 0 ...
-
EventStreamPlayer2: Filter: Description Class methods Inherited class methods Instance methods Inherited instance methods Examples Classes (extension) | Libraries > BBCut'>BBCut EventStreamPlayer2 Extension Stream player on an ExternalClock ...
-
... Routine({ loop({ Synth.grain(\help_sinegrain, [\freq, 440]); x.next.wait; }) }).play(TempoClock.default); ) ( a = PdurStutter( Pseq(#[1,1,1,1,1,2,2,2,2,2,3,3,3,3,4,4,0,4,4], inf), Pseq(#[0.5, 1, 2, 0.25, 0.25], inf) ); x = a.asStream; Routi ...
-
... is pretty similar to the Keyboard (kslider) object in Max - basically a tool to play MIDI notes and perhaps map scales, visualise real keyboard, etc. The MIDIKeyboard does not handle any system-midi (SC has other ways of doing that), the on ...