-
... - 0.02, 0.01], \sin), doneAction: 2); //Line.kr(1, 1, dur, doneAction: 2); in = PlayBuf.ar(1, soundBufnum, BufRateScale.kr(soundBufnum), startPos: start * BufSampleRate.kr(soundBufnum), loop: 0) * env; // note the window type and overlaps.. ...
-
... e and trigger at the same time, which leads to applications such as crossfading PlayBufs and different kinds of granulation, using a buffer or not. NOTE: As interface and conventions of DX ugens are nearly identical, I didn't double example ...
-
... e and trigger at the same time, which leads to applications such as crossfading PlayBufs and different kinds of granulation, using a buffer or not. NOTE: As interface and conventions of DX ugens are nearly identical, I didn't double example ...
-
... ns/blob/master/noisy.scd }).add; //INCLUDE A SAMPLER SynthDef(\sampler_PlayBuf, { //A really simple sampler based on PlayBuf and midi ratios |out=0, pan=0, buf=0, midiratio=2, amp=1.0, pos=0.0, atk= 0.001, sus = 0.01 rel=1.0| ...
-
... [key].add("control" -> PopUpMenu(z, 70@20) .items_(["none", "env", "k-buffer", "playbuf", "diskin", "LFNoise0", "LFNoise1", "LFNoise2", "SinOsc", "Impulse", "LFSaw", "LFPar", "LFTri", "LFCub"]) .action_({arg me; me.value; }); ); paramDict[k ...
-
... buffer = Buffer.read(s, ~that_example_file_path); ) ( Ndef(\input, { |rate = 1| PlayBuf.ar( numChannels: ~that_buffer.numChannels, bufnum: ~that_buffer, rate: BufRateScale.kr(~that_buffer) * rate.lag(1), loop: 1 ); }) ) // ================= ...
-
... m << ", "; item.streamAsInputUGen(key, stream, decomp); }; stream << ")"; } } + PlayBuf { streamCode { |key, stream, decomp| this.streamNameAndRate(stream); stream << "(" << channels.size; inputs.do { |item, i| stream << ", "; item.streamAs ...
-
... ##### // from AVA: ( SynthDef(\samp, {|out=0, buf=0, amp=0.3, rate=1| var snd = PlayBuf.ar(1, buf, rate, doneAction: 2); var env = EnvGen.kr(Env.linen(0.02, BufDur.ir(buf)/rate-0.04, 0.02)); snd = HPF.ar(snd*amp, 106) * env; Out.ar(out, snd ...
-
... beepvol=0.0, lock=0; var trackb,trackh,trackq,tempo; var source, beep; source= PlayBuf.ar(2,~source.bufnum,1.0,1,0,1); //see AutoTrack help file #trackb,trackh,trackq,tempo=AutoTrack.kr(Mix(source), lock); beep= SinOsc.ar(1000,0.0,Decay.kr ...
-
... latform.resourceDir.openOS +/+ "sounds/a11wlk01.wav"); ( Ndef(\input, {|rate=1| PlayBuf.ar(b.numChannels, b, BufRateScale.kr(b) * rate.lag(1), loop: 1); }).play(vol: 0.1); ) // now create a synth which feedsback itself via a BPF ( Ndef(\tha ...