-
Impulse impulse oscillator Impulse.ar(freq, phase, mul, add) Outputs non band limited single sample impulses. freq - frequency in Hertz phase - phase offset in cycles ( 0..1 ) { Impulse .ar(800, 0.0, 0.5, 0) }.play { Impulse .ar( XLine .kr( ...
-
... se two synths are started at the time when they are inserted: ~x = { Ringz .ar( Impulse .ar(1), 400, 0.05).dup }; ~y = { Ringz .ar( Impulse .ar(1), 600, 0.05).dup }; // adding a common clock: ~x.clock = TempoClock .default; ~x.quant = 1.0; ...
-
Dust random impulses Dust.ar(density, mul, add) Generates random impulses from 0 to +1. density - average number of impulses per second ( SynthDef ( "help-Dust" , { arg out=0; Out .ar(out, Dust .ar(200, 0.5) ) }).play; ) ( SynthDef ( "help- ...
-
Dust2 random impulses Dust2.ar(density, mul, add) Generates random impulses from -1 to +1. density - average number of impulses per second ( SynthDef ( "help-Dust2" , { arg out=0; Out .ar(out, Dust2 .ar(200, 0.5) ) }).play; ) ( SynthDef ( " ...
-
... add) Partitioned convolution. Various additional buffers must be supplied. Mono impulse response only! If inputting multiple channels, you'll need independent PartConvs, one for each channel. But the charm is: impulse response can be as lar ...
-
... ays, // swapping the values, the envelope turns upside down: plot({ Decay2 .ar( Impulse .ar(1), 0.001, 0.01) }) plot({ Decay2 .ar( Impulse .ar(1), 0.01, 0.001) }) // used as an envelope { Decay2 .ar( Impulse .ar( XLine .kr(1,50,20), 0.25), ...
-
... *kr(trig, rate) // using sweep to modulate sine frequency ( { var trig; trig = Impulse .kr( MouseX .kr(0.5, 20, 1)); SinOsc .ar( Sweep .kr(trig, 700) + 500, 0, 0.2) }.play; ) // using sweep to index into a buffer s.sendMsg( "/b_allocRead" ...
-
... value or -60dB. This is useful for exponential decaying envelopes triggered by impulses. in - input signal decayTime - 60 dB decay time in seconds. plot({ Decay .ar( Impulse .ar(1), 0.01) }); // used as an envelope play({ Decay .ar( Impuls ...
-
... t signal offset - sample offset within control period // example ( { var trig = Impulse .kr(MouseX.kr(1, 100, 1)); Ringz .ar(T2A.ar(trig), 800, 0.01) * 0.4 }.play; ) // compare with K2A ( { var trig = Impulse .kr(200); [ T2A .ar(trig), K2A ...
-
... this stream twice. To isolate a demand ugen, use a function : ( { var a, b, t = Impulse .kr(2); a = { Dseq ([1, 2, 3, 4, 5], inf ) } * 100; b = a + 1; Demand .kr(t, 0, [a, b]).poll(t) }.play ); Examples ( { var trig, seq, freq; trig = Impul ...