-
... , and a = 1 a normal sinewave results. // default initial params { FBSineN .ar( SampleRate .ir/4) * 0.2 }.play(s); // increase feedback { FBSineN .ar( SampleRate .ir, 1, Line .kr(0.01, 4, 10), 1, 0.1) * 0.2 }.play(s); // increase phase mult ...
-
... hRatioStream //); /* kr rate players whose output is within pchRatio for use in sampler modulations. this is a gateway instrument, allowing the entire degree and scale library to be used with samplers */ Instr([\pchRatio, \StreamKrDur], { a ...
-
... } // each subclass should implement timeDuration numFrames { ^file.numFrames } sampleRate { ^file.sampleRate } numChannels { ^file.numChannels } preloadData { arg startAt=0,endAt; file.preloadData(startAt,endAt) } tempo { ^file.tempo } tem ...
-
... } // each subclass should implement timeDuration numFrames { ^file.numFrames } sampleRate { ^file.sampleRate } numChannels { ^file.numChannels } preloadData { arg startAt=0, endAt; file.preloadData(startAt, endAt) } tempo { ^file.tempo } t ...
-
... t_( this.headerFormat ) .sampleFormat_( this.sampleFormat ) .numChannels_( 1 ) .sampleRate_(this.sampleRate) }); numDigits = numChannels.asString.size; outFiles.do({ |f, i| f.openWrite( "%.%".format( pth.format( (i+1).asStringToBase( 10, nu ...
-
... d instance methods Examples // default initial params { GbmanL.ar(MouseX.kr(20, SampleRate.ir)) * 0.1 }.play(s); // different initial params { GbmanL.ar(MouseX.kr(20, SampleRate.ir), -0.7, -2.7) * 0.1 }.play(s); // wait for it... { GbmanL.a ...
-
... d instance methods Examples // default initial params { GbmanN.ar(MouseX.kr(20, SampleRate.ir)) * 0.1 }.play(s); // change initial params { GbmanN.ar(MouseX.kr(20, SampleRate.ir), -0.7, -2.7) * 0.1 }.play(s); // wait for it... { GbmanN.ar(M ...
-
... ntrol', buffer, ratio); } } + SimpleNumber { calcPVRecSize {arg frameSize, hop, sampleRate; var rawsize, tmp; sampleRate = sampleRate ?? {Server.default.sampleRate}; rawsize = (((this * sampleRate) / (frameSize)).ceil * frameSize); ^rawsize ...
-
... xamples s.sendMsg(\b_allocRead, 10, "sounds/a11wlk01.wav"); c=Buffer.alloc(s, s.sampleRate * 0.2, 1) // buffer for rise/decay shape - multiple of sr helps prevent clicks, i think. ( var y, h; y=Signal.hanningWindow(s.sampleRate * 0.4); // t ...
-
... , formatDict; classvar <>defaultInst = \wvst0; var <signal, <name, <numFrames, <sampleRate; var <xings, <lengths, <fracXings, <fracLengths, <amps, <maxima, <minima; var <numXings, <minSet, <maxSet, <avgLength, <sqrAvgLength, <minAmp, <maxAm ...