-
... ar start = rrand(0.0,10.0); var dur = rrand(0.1,3.0); evt = UChain(start,0,dur,\pulse, \wfsSource).fadeOut_(0.1*dur).fadeIn_(0.1*dur); evt.units[0].set(\freq,100*rrand(1,10).postln ); evt.units[1].set(\point, rrand(-5.0,5.0)@rrand(-5.0,5.0) ...
-
... ich includes sound travel through air. Latency does its measuring by generating pulses on one or several output channels, and measuring time until each pulse registers again at a given audio input. [ interpreter latency is covered in the ex ...
-
... ( var seconds = 7; { SynthDef(\ByTheThroat, {|seconds = 7| var pulse = (Pulse.ar(10, 0.5, 0.5) + Pulse.ar(35, 0.3, 0.5)); var sin1 = SinOsc.ar(LFNoise0.kr([1.2, 1.0], 1000, 1000)); var line1 = Line.kr(10, 3000, seco ...
-
... 01, sustain, sustain * release), gate, amp, doneAction: Done.freeSelf); sig = Pulse.ar([freq,freq*1.001], 0.5); sig = sig + Pulse.ar(freq*0.501, 0.01, [0,0.5]); sig = sig + Pulse.ar(freq*1.99, 0.11, [0.5,0]); sig = RLPF.ar(sig, cut, ...
-
... ,\exp]; SinOsc.ar(freq); } ], [ 'blocknew', {arg freq=200 -> [20, 20000, \exp]; Pulse.ar(freq, 0.5, 0.5); } ], [ 'blocknew2', {arg freq=200 -> [20, 20000, \exp], trig=1 -> [0,1, {|val| val.round(1)}]; Pulse.ar(freq, 0.5, 0.5) * Env.adsr.kr( ...
-
fork{y=[Blip,Saw,Pulse,SinOsc];loop{x=play{z=_.ar(rand(2000));z.(y.choose)*z.(y.choose)!2*0.4};(rand(0.2)+0.05).wait;x.free;}} Variation: fork{y=[Blip,Saw,Pulse,SinOsc];loop{x=play{z=_.ar(rand(999));z.(y.choose)*z.(y.choose)*z.(y.cho ...
-
//Pulse is the UGen. There is multichannel expansion due to the lists in the freqs. The range is a big part of the reason this sounds so deep. ( { var saw, bpf; saw = Pulse.ar( freq: [100,150], mul: LFPulse.kr( freq: [0, 0.03 ...
-
... .add(\saw -> "{Saw.ar(440)}.play") .add(\sine -> "{SinOsc.ar(440)}.play") .add(\pulse -> "{Pulse.ar(440)}.play"); }, { Object.readArchive("preferences/livecodetemplate.ixi"); }); selectedChannel = 0; win = Window("- livecoder -", Rect(point ...
-
... mple sounds. Execute the code below to save them in the Instr library. ( Instr("pulse",{ arg freq=440,width=0.5,amp=1.0; Pulse.ar(freq,width,amp) }); Instr("rlpf",{ arg audio=0.0,ffreq=6000; RLPF.ar(audio,ffreq,0.5) }); Instr("GVerb",{ arg ...
-
... ter = {arg length = 5, trig, in; var buf = LocalBuf(length); var count = PulseCount.kr(trig); Demand.kr(trig, 0, Dbufwr(in, buf, count)); Demand.kr(trig, 0, Dbufrd(buf, count + (1..length))).reverse; }; Ndef(\n1, { va ...