-
... , q.numChans); // in = in.round(0.5 ** bits); // down = Latch.ar(in, Impulse.ar(SampleRate.ir / downsamp.max(2))); // // ReplaceOut.ar(0, down); // }).add; // // // only works the first time ... sorry // q.fxNames = q.fxNames ?? { SynthDesc ...
-
... times must be larger than the duration of a control cycle. With default values sampleRate = 44100 Hz and blockSize = 64, this equals ca. 0.00145 sec. If you go below, the fade mechanism is messed up and you get jumps and clicks. Accordingl ...
-
... -2pi * ( ( 100000 / ( rho * \distanceFilter.kr(0).cubed ) ) .clip(0,10000000) / SampleRate.ir ) ).exp ); env = UEnv.kr( extraSilence: ( ( rho / WFSBasicPan.speedOfSound ) * (1 - latencyComp) ) + 0.12 ); input = input * env; input = panner.a ...
-
... s var <numFrames; var <>editMode; // nil (no gui), \seconds classvar <>useServerSampleRate = true; // override stored samplerate for duration display *new { |numChannels = 1, numFrames, editMode| ^super.newCopyArgs( numChannels, numFrames, ...
-
... applySmoothSkin .action_({ |vw| vws[ \val ].numFrames = (vw.value * vws[ \val ].sampleRate).asInteger; action.value( vw, vws[ \val ] ); } ).resize_(5) .fps_( 1000 ) .clipLo_( 128 / 44100 ) .clipHi_( 60 * 60 ); vws[ \updateViews ] = { vws[ \ ...
-
... ion: 2); }.play ) // this half waveset clearly shows the effect // (tested with samplerate 44100) s.scope x = { ZeroXBufRd .ar(b, z, nil , 220, rate: 0.1) * 2 }.play // adjust zeros, also works with arrays of Buffers // you can apply it whi ...
-
... ames = sf.numFrames.asInteger; chans = sf.numChannels.asInteger.max(1); sr = sf.sampleRate.asFloat; raw = FloatArray.newClear(frames * chans); sf.readData(raw); sf.close; mono = FloatArray.newClear(frames); frames.do { |i| mono[i] = raw[(i ...
-
... sg]) }; }; z = Server(\nrt, options: ServerOptions.new.numOutputBusChannels_(2).sampleRate_(44100)); a = Score.new; protect { a.add([0, ['/d_recv', SynthDescLib.at(\default).def.asBytes]]); x = Syn.basicNew(\default, [ freq: Plug { XLine.kr ...
-
... ioBuf = buf; loadedSampleMeta[\dur] = buf.duration; loadedSampleMeta[\sr] = buf.sampleRate; loadedSampleMeta[\frames] = buf.numFrames; loadedSampleMeta[\channels] = buf.numChannels; refreshInfo.(if(timeSlider.notNil) { timeSlider.value ? 0. ...