-
BufDur current duration of soundfile in buffer superclass: BufInfoUGenBase returns the current duration of soundfile *kr(bufnum) *ir(bufnum) the .ir method is not the safest choice. Since a buffer can be reallocated at any time, using .ir w ...
-
... .5, 0.2, 0.1], inf); TGrains .ar(2, Impulse .ar(trate), b, rate , MouseX .kr(0, BufDur .kr(b)), dur, Dseq([-1, 1], inf), 0.1, 2); }.scope(zoom: 4); ) ( { var b = 10, trate, dur, clk, pos, pan; trate = MouseY .kr(8,120,1); dur = 12 / trate; ...
-
... .ar( 1, bufnum, BufRateScale .kr(bufnum) * rateScale ) * EnvGen .kr( Env .sine( BufDur .kr(bufnum))) ) }).load(s); ) ( // test the synthdef ... does it work? (yes, it's fine. it plays on the left channel) Synth ( "aMonoSamplePlayer" , [ \bu ...
-
... .ar( 1, bufnum, BufRateScale .kr(bufnum) * rateScale ) * EnvGen .kr( Env .sine( BufDur .kr(bufnum))) ) }).load(s); ) ( // SynthDef をテストする ... 動く?(はい、大丈夫。左チャンネルで再生する。) Synth ( "aMonoSamplePlayer" , [ \bus , 0, \bufNum , b]); ) ( // コンポーネントの再 ...
-
... nds. Right after the recording ( trigPeriod gets delayed by the buffer duration BufDur , using the TDelay UGen) the two convolution UGens alternatingly update their kernels (using two triggers convTrigs ). At the frequency of the kernel upd ...
-
... g4 round scaleneg sqrdif sqrsum sumsqr thresh trunc wrap2 InfoUGens BufChannels BufDur BufFrames BufRateScale BufSampleRate NumRunningSynths SampleDur SampleRate Synth-Controlling-UGens see overview: Synth-Controlling-UGens Control DetectSi ...
-
... ) * BufFrames .ir(0)) }.play; // original duration { BufRd .ar(1, 0, LFSaw .ar( BufDur .ir(0).reciprocal).range(0, BufFrames .ir(0)) ) }.play; //use a phasor index into the file { BufRd .ar(1, 0, Phasor .ar(0, BufRateScale .kr(0), 0, BufFra ...
-
... 200,1); dur = 4 / trate; TGrains .ar(2, Impulse .ar(trate), b, 1, MouseX .kr(0, BufDur .kr(b)), dur, 0, 0.1, 2); }.scope(2, zoom: 4); ) ( { var trate, dur, clk, pos, pan; trate = MouseY .kr(8,120,1); dur = 12 / trate; clk = Impulse .kr(trat ...
-
... UFRATE (unit->mRate->mBufRate) BUFRATE always returns the control rate. #define BUFDUR (unit->mRate->mBufDuration) BUFDUR is the reciprocal of the control rate. ____________________________________________________________________ Pointer al ...
-
... s.boot; ( SynthDef ( \help_Buffer_copy , { arg out=0, buf; Line .ar(0, 0, dur: BufDur .kr(buf), doneAction: 2); // frees itself Out .ar(out, PlayBuf .ar(1, buf)); }).add; ) ( b = Buffer .read(s, "sounds/a11wlk01.wav" ); c = Buffer .alloc(s ...