-
... tions have to be calculated in language, "; rateString = (rate == \audio).if { "sampleRate" }{ "controlRate" }; // for multi-step procedures we need the first values (resp. arrays of values) dt0 = dt0 ?? { s = Server.default; dtRate = s.not ...
-
... take into account FFT delay inSigDelayed = DelayL .ar( inSig, 0.1, bufSize / s.sampleRate - (s.options.blockSize / s.sampleRate) ); OffsetOut .ar(out, mix * sig + ((1 - mix) * inSigDelayed)); }).add; t = topEnvironment.push; a = Bus .audio ...
-
... undfile); chNum = a.numChannels; //[\chNum, chNum].postln; dur = (a.numFrames/s.sampleRate); // get the duration - add / chNum a.close; buffer = Buffer.cueSoundFile(s, soundfile, 0, chNum); // play it task = Task({ inf.do({ if(chNum == 1, { ...
-
... reView.snapActive = true; }; scoreView.snapH = (1/[inf, ULib.servers[0].options.sampleRate ? 44100 / ULib.servers[0].options.blockSize, 1000,100,10,32,16,12,8,6,5,4,3,2,1])[ v.value ]; }); SmoothButton( header, size@size ) .label_( "Q" ) .r ...
-
... ate and Sweep + modulo implements repetitions localPhase = Sweep.ar( localTrig, SampleRate.ir * localRate ) % (localZeroXDiff * localRate) * localDir.sign + localPhaseOffset; localSndBufIndex = Demand.ar(localTrig, 0, sndBufIndex[i]); local ...
-
... T( // oscFilePath: nil, outputFilePath: filename.postln, // inputFilePath: nil, sampleRate: sRate.postln, headerFormat: headerFormat, sampleFormat: format.postln, options: ServerOptions().numOutputBusChannels_(numChans).postln, duration: du ...
-
... ultiplier, \left, ((endPoint.x.min(startPoint.x)/680)*myTempBuffer.numFrames)/s.sampleRate, \right, ((endPoint.x.max(startPoint.x)/680)*myTempBuffer.numFrames)/s.sampleRate, \ratelow, ((endPoint.y.max(startPoint.y)/340) - 1).abs+0.5, // 680 ...
-
... eOffset, 0.004, warp: \linear); oscPhase = Phasor.ar(0, f * 6.283185307179586 / SampleRate.ir, initPhase, 6.283185307179586, initPhase) + ph; sine = cos(oscPhase) * a; noise = BPF.ar(WhiteNoise.ar((a * 1.5).lag(0.025)), f.clip(30, 12000), 0 ...
-
... = 2048 * 8; o.memSize_(8192 * 10); o.blockSize = 512 ; o.numWireBufs = 1024; o.sampleRate = 48000; s.makeWindow; s.boot; s.scope(4); ) // HOA Encoder ( ~order = 5; s.scope((~order+1).pow(2)); {HOAEncoder.ar(~order, WhiteNoise.ar(1.0), az: ...
-
... ostin(\ide, \doln); //Info about buffers: [tag, numChannels, bufnum, numFrames, sampleRate, path] BufferSystem.bufferInfo.postin(\ide, \doln); BufferSystem.tags; BufferSystem.globVarArray; BufferSystem.fileNames; //get buffer with tag Buffe ...