Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (90) Code (10) Doc (32) Help (10) Quark (37) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. PitchShiftPA Quark

    ... [ch])))}); grainPos = (delayWritePhase / BufFrames.kr(localbuf)) - (freqPhase / BufDur.kr(localbuf)); //scaled to 0-1 for use in GrainBuf if(timeDispersion.isNil, { trigger = Impulse.ar(grainFreq); }, { trigger = Impulse.ar(grainFreq + (LFN ...

  2. Convolution2 Doc

    ... onds. Right after the recording (trigPeriod gets delayed by the buffer duration BufDur , using the TDelay UGen) the two convolution UGens alternatively update their kernels (using two triggers convTrigs). At the frequency of the kernel upda ...

  3. granbuf Quark

    ... e.kr(sndbufvar), trig).round(1); var filepos = Phasor.ar(0, 1 / SampleRate.ir / BufDur.kr(sndbuf2) * scanspeed, 0, 1); var filepos2 = filepos + WhiteNoise.ar(posvar); var ratekr = 1.25 ** WhiteNoise.kr (ratevar) * rate; var panpos = WhiteNo ...

  4. WarpIn Quark

    ... , 1, 0.0001], [0.1, 0.9], [4, -4]), timeScale: dur, doneAction: 2); buflength = BufDur .kr(buffer); warp = 0.5; // read in stereo ... can be any number of channels BUT these must match the // number of channels in the buffer out = WarpIn .a ...

  5. loopSoundFile Quark

    ... le.kr( 1 ); sig = PlayBufCF.ar( numChannels, bufnum, rate, Dwhite( *loopDur * ( BufDur.ir( bufnum ) / rate) ), Dwhite( *loopStart * BufFrames.ir( bufnum ) ), loop, crossfade, 4 // 4 voices ); UMixOut.ar( 0, sig * \level.ukr( 1, \amp ), 0, t ...

  6. loopSoundFile Quark

    ... le.kr( 1 ); sig = PlayBufCF.ar( numChannels, bufnum, rate, Dwhite( *loopDur * ( BufDur.ir( bufnum ) / rate * BufRateScale.ir( bufnum ) ) ), Dwhite( *loopStart * BufFrames.ir( bufnum ) ), loop, crossfade, 4 // 4 voices ); UMixOut.ar( 0, sig ...

  7. BufRd Help

    ... ) * BufFrames .ir(0)) }.play; // original duration { BufRd .ar(1, 0, LFSaw .ar( BufDur .ir(0).reciprocal).range(0, BufFrames .ir(0)) ) }.play; //use a phasor index into the file { BufRd .ar(1, 0, Phasor .ar(0, BufRateScale .kr(0), 0, BufFra ...

  8. BufEnvir Doc

    ... ll putSeries atAll getAll alloc read cue readAll cueAll fft fftsize zero bufnum bufDur bufFrames bufFrames rateScale server clear doWithUpdate playBuf rec Inherited instance methods Examples Classes (extension) | Live Coding BufEnvir Extens ...

  9. Warp1 Doc

    ... fer.read(s, ExampleFiles.apollo11); { var pointer = Phasor.ar(0, SampleDur.ir / BufDur.ir(b) * XLine.kr(1, 0.25, 20)); var sound = Warp1.ar(1, b, pointer, 1, 0.3, -1, 16, Line.kr(0, 1, 40), 4); Pan2.ar(sound, pointer * 2 - 1, 0.25) }.play ) ...

  10. startup21-clientfft Quark

    ... during comparisons, find and fix afterward ~iMadeMixer = false; ~numBufs = 5; ~bufDur = 10; ~recording = false; ~quant = 1; ~onsetRejectLimit = 0.15; // minimum time between onsets ~minPeak = 0.175; // reject a recording if its peak <= thi ...

prev 1 2 3 4 5 6 7 8 9 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow