-
... superclass: UGen Phasor is a linear ramp between start and end values. When its trigger input crosses from non-positive to positive, Phasor's output will jump to its reset position. Upon reaching the end of its ramp Phasor will wrap back to ...
-
... urn structurally related: Pswitch1 see also: Demand // example ( { var a, freq, trig; a = Dswitch1 ([1, 3, MouseY .kr(1, 15), 2, Dwhite (0, 3, 2)], MouseX .kr(0, 4)); trig = Impulse .kr( 3 ); freq = Demand .kr(trig, 0, a) * 30 + 340; SinOsc ...
-
... oding-techniques ( Ndef(\bird).addSpec(\dur, [0.01, 1]); Ndef(\bird).addSpec(\trig, [0, 1, \lin, 1]); Ndef(\bird, {|dur = 1| var freqEnv, env, wEnv, src; var startFreq = \startFreq.kr(1000); var endFreq = \endFreq.kr(4000); v ...
-
... eom The arguments can be a number or any other ugen // example ( { var a, freq, trig; a = Dgeom (1, 1.2, 15); trig = Impulse .kr( MouseX .kr(1, 40, 1)); freq = Demand .kr(trig, 0, a) * 30 + 340; SinOsc .ar(freq) * 0.1 }.play; ) ( { var a, f ...
-
... ted: Pwhite , WhiteNoise see also: Demand // example // Dwhite ( { var a, freq, trig; a = Dwhite (0, 15, inf ); trig = Impulse .kr( MouseX .kr(1, 40, 1)); freq = Demand .kr(trig, 0, a) * 30 + 340; SinOsc .ar(freq) * 0.1 }.play; ) // Diwhite ...
-
... methods Instance methods Inherited instance methods Examples Classes | UGens > Triggers'>Triggers | UGens > Buffer'>Buffer Phasor : UGen : AbstractFunction : Object A resettable linear ramp between two levels. Source: Trig.sc Description P ...
-
... Ported to SuperCollider by Mads Kjeldgaard. Class Methods AnalogBassDrum. ar ( trig: 0 , infsustain: 0.0 , accent: 0.5 , freq: 50 , tone: 0.5 , decay: 0.5 , attackfm: 0.5 , selffm: 0.25 ) Arguments: trig Trigger the drum with a signal abov ...
-
... d class methods Instance Methods Inherited instance methods Examples ( { var d, trig; d = Dswitch([ Dwhite(3, 4, 2), Dwhite(0, 1, 2), Dseq([1, 1, 1, 0], 2) ], Dseq([0, 1, 2, 1, 0], 2)); trig = Impulse.kr(4); SinOsc.ar( Demand.kr(trig, 0, d) ...
-
... twice, whereas Drand chooses any value in the list // example ( { var a, freq, trig; a = Drand ([1, 3, 2, 7, 8], inf ); trig = Impulse .kr( MouseX .kr(1, 400, 1)); freq = Demand .kr(trig, 0, a) * 30 + 340; SinOsc .ar(freq) * 0.1 }.play; ) ...
-
Instr([\cymbals, \tibetanCymbals2],{ arg trig=0.0, freqScale = 1, timeScale = 1, decay=0.001, freqOffset=300; var amps, freqs, freqsDetune, ringTimes; var lFreqs, rFreqs, rTimes; freqs = #[2913, 2916.1, 2940, 2942, 2973, 2978, 6796, 6832, 6 ...