Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (783) Code (80) Doc (245) Help (61) Quark (379) Plugin (18) SCDoc ↗ Forum ↗ Google ↗
  1. LPCFile Quark

    ... | item}, FloatArray)}, {data = collection;} ); sndfile = SoundFile.new; sndfile.sampleRate = server.sampleRate; sndfile.numChannels = 1; if(sndfile.openWrite(path), { sndfile.writeData(data); sndfile.close; }, {"Failed to write data".warn;} ...

  2. AnaUtils Quark

    ... } initLPCAna { sf = SoundFile.new; test = sf.openRead(path); test.if({ sr = sf.sampleRate; sf.close; sfDur = sf.duration; }, { ("Your soundfile at: "++path++" could not be opened").warn; }); } ana {arg nPoles = 35, frameSize = 400, hop = 0 ...

  3. satieNRT Quark

    ... |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 ...

  4. ReadWriteBufSndFile Quark

    ... 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 ...

  5. PitchShiftPARdWr Quark

    ... 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 ...

  6. XiiMorpherFilter Quark

    ... ay = [Color.red.alpha_(0.3), Color.green.alpha_(0.3)]; nyquist = Server.default.sampleRate/2; paramsHiLo = [[0,1], [0,1], [0,1]]; // range slider scale params switch(filtertype) {\empty} { this.createEmpty } {\lpf} { this.createLPF } {\bpf} ...

  7. IrDef Quark

    ... format))); Out.ar(0, Silent.ar); }.play(server); (bufAformat.numFrames / server.sampleRate).wait; bufAformat.write(afmtDir, headerFormat: "wav", sampleFormat: "int24", completionMessage:{ ("done writing" + ir.fileNameWithoutExtension ++ "_F ...

  8. sample sched simple test case Quark

    ... _(150) .numOutputBusChannels_(2) .numInputBusChannels_(30) .numWireBufs_(2048) .sampleRate_( 44100 ) .blockAllocClass_( ContiguousBlockAllocator ) .device_("JackRouter"); ~slaves = [ Server(\slave1,NetAddr("localhost", 57456),~soptions), Se ...

  9. extBuffer-copyLoop Quark

    ... Time = fadeTime.min( buf.duration ); this.copyLoopTo( buf, 0, startFrom + (this.sampleRate * fadeTime), action: { { var numChannels; numChannels = buf.numChannels; this.server.sync( nil, this.server.makeBundle( false, { SynthDef( "wslib_cf_ ...

  10. waveguideFlute Quark

    ... , afqc, atemp1, ax, apoly, asum3, avalue, atemp2, aflute1; var fdbckArray; sr = SampleRate.ir; cr = ControlRate.ir; block = cr.reciprocal; ifqc = freq; // noise envelope kenv1 = EnvGen.kr(Env.new( [ 0.0, 1.1 * ipress, ipress, ipress, 0.0 ], ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow