-
BufRateScale: Filter: Description Class methods kr ir Inherited class methods Instance methods Inherited instance methods Examples Classes | UGens > Buffer'>Buffer > Buffer>Info'>Info BufRateScale : BufInfoUGenBase : UGen : AbstractFunction ...
-
... o multiply the desired playback rate by (file's rate / server's rate). The UGen BufRateScale.kr(bufnum) returns this factor. See examples below. BufRateScale should be used in virtually every case. trigger - a trigger causes a jump to the s ...
-
BufRateScale buffer rate scaling in respect to server samplerate superclass: BufInfoUGenBase returns a ratio by which the playback of a soundfile is to be scaled *kr(bufnum) *ir(bufnum) the .ir method is not the safest choice. Since a buffe ...
-
... var src = OscN.ar(b, freq); BufWr.ar(src, b, Phasor.ar(Impulse.ar(resetRate), BufRateScale.kr(b) * 1, 0, BufFrames.kr(b))); src }) Ndef(\feedbacker, {|resetRate = 100, freq = 100, lowFreq = 100, rq = 0.1| var src = OscN.ar(b, freq); ...
-
... nthDef(\help_PlayBuf, { |out = 0, bufnum = 0| Out.ar(out, PlayBuf.ar(1, bufnum, BufRateScale.kr(bufnum), doneAction: Done.freeSelf) ) }).play(s, [\out, 0, \bufnum, b]); ⧉ ✔ In the above example, note how the doneAction: Done.freeSelf causes ...
-
... ++ "../AudioFiles/Nicol-LoopE-M.wav"); s.sync; a = AN({PlayBuf.ar(1, \b.kr(b), BufRateScale.kr(\b.kr(b)) * \s.kr(1), loop:1)}, [\s, 2]) }) ) p = AN({\in.ar([0, 0])}, connectionTime:1).play p << a; //\s is maintained! a.from(c, \b); a.from( ...
-
... { arg bus = 0, bufnum = 0, rateScale = 1; Out .ar( bus, PlayBuf .ar( 1, bufnum, BufRateScale .kr(bufnum) * rateScale ) * EnvGen .kr( Env .sine( BufDur .kr(bufnum))) ) }).load(s); ) ( // SynthDef をテストする ... 動く?(はい、大丈夫。左チャンネルで再生する。) Synth ( " ...
-
... tack = 0.001, decay = 0.02, outbus| var sig; sig = PlayBuf.ar(1, bufnum, rate * BufRateScale.kr(bufnum), 1, start, 0) * EnvGen.kr(Env.linen(attack, time, decay), doneAction:2); Out.ar(outbus, sig * amp); }).perform(Library.at(\ddwGlobal, \s ...
-
... akEQ.ar(BPeakEQ.ar(BPeakEQ.ar(FreeVerb.ar( BHiPass4.ar(Mix.new([ PlayBuf.ar(1,1,BufRateScale.kr(1)+rrand(0.1,1.0), Impulse.kr(rrand(25.0,100.0)), BufFrames.kr(1)/rrand(1,10),1) * EnvGen.kr(Env([0,rrand(0.1,1),rrand(0.1,1),0],[0.01,0.01,0.01 ...
-
... tack = 0.001, decay = 0.02, outbus| var sig; sig = PlayBuf.ar(1, bufnum, rate * BufRateScale.kr(bufnum), 1, start, 0) * EnvGen.kr(Env.linen(attack, time, decay), doneAction:2); OffsetOut.ar(outbus, sig * amp); }).perform(Library.at(\ddwGlob ...