-
... |cmd| score.add([0.0, cmd]) }; score.recordNRT( outputFilePath: exportFileName, sampleRate: info.sampleRate, headerFormat: "W64", sampleFormat: info.sampleFormat, options: server.options, duration: info.duration, action: { buffers.do { |buf ...
-
... methods Examples s.boot; // record a sound into a buffer b = Buffer.alloc(s, s.sampleRate * 3, 1, bufnum: 1000); ( SynthDef(\record, {|out| var in, rec; in = RLPF.ar(LFSaw.ar(300 * SinOsc.kr(0.4).range(0.5, 5)), Line.kr(12000, 100, 3)); re ...
-
... tance Methods Inherited instance methods Examples s.boot; b = Buffer.alloc(s, s.sampleRate); ( { MultiTap.ar(`[0.1, 0.2, 0.3, 0.4], `[0.1, 0.2, 0.4, 0.8], Decay.ar(Dust.ar(2), 0.1, PinkNoise.ar), bufnum: b.bufnum) }.play ) ⧉ ✔ helpfile sour ...
-
... ; o.numAudioBusChannels = 2048 * 8; o.blockSize = 512 ; o.numWireBufs = 1024; o.sampleRate = 48000; s.makeWindow; s.boot; ) (~order = 3; // 1 to 3 ~cardiodOrder = 3; // 1 to 3 { HOABeamHCard2Hoa.ar(~order, HOAEncLebedev50.ar(~order, {|i| Si ...
-
... ewBasic to prevent file reading path.formatGPath.quote, numFrames, numChannels, sampleRate, startFrame, endFrame, rate, loop ] << ")" << if( this.write != true ) { ".write_(%)".format( this.write ) } { "" } << if( this.channel != 0 ) { ".ch ...
-
... size depends on the lowest processed frequency and highest formant ratio: // ((SampleRate.ir * minFreq.reciprocal * maxFormantRatio) + BlockSize.ir).roundUp; // e.g. for minFreq = 10 Hz and maxFormantRatio = 10, at 48kHz with block size of ...
-
... instance methods Examples // default initial params { LinCongC.ar(MouseX.kr(20, SampleRate.ir)) * 0.2 }.play(s); ⧉ ✔ // randomly modulate params ( { LinCongC.ar( LFNoise2.kr(1, 1e4, 1e4), LFNoise2.kr(0.1, 0.5, 1.4), LFNoise2.kr(0.1, 0.1, 0. ...
-
... ; o.numAudioBusChannels = 2048 * 8; o.blockSize = 512 ; o.numWireBufs = 1024; o.sampleRate = 48000; s.makeWindow; s.boot; ) // Lebedev 6 grid Encoding ~order = 1; // does not go higher than 1 {HOAEncLebedev06.ar(~order, WhiteNoise.ar(1.0)!3 ...
-
... instance methods Examples // default initial params { LinCongL.ar(MouseX.kr(20, SampleRate.ir)) * 0.2 }.play(s); ⧉ ✔ // randomly modulate params ( { LinCongL.ar( LFNoise2.kr(1, 1e4, 1e4), LFNoise2.kr(0.1, 0.5, 1.4), LFNoise2.kr(0.1, 0.1, 0. ...
-
... Pwhite(0.1, 0.3, inf), \start, Pwhite(0.0, b.duration - Pkey(\time), inf) * b.sampleRate, \pan, Pwhite(-1.0, 1.0, inf), \delta, Pkey(\time) * Pexprand(0.8, 1.25, inf) ); q = Pseq([ (play: { // initialization event SynthDef ...