Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (318) Code (44) Doc (94) Help (47) Quark (130) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. MaxLocalBufs Help

    MaxLocalBufs set the maximum number of local buffers in a synth superclass: UGen This class is used internally by LocalBuf , sets the maximum number of local buffers in a synth.

  2. PV_JensenAndersen Help

    ... ource1, detect; source1 = SoundIn .ar(0); detect = PV_JensenAndersen .ar( FFT ( LocalBuf (2048), source1), threshold: MouseX .kr(0.1,1.0)); SinOsc .ar([440, 445], 0, Decay .ar(0.1 * detect, 0.1)); }.play; ) // using test sound: // mouse y i ...

  3. PV_MagSquared Help

    ... layBuf .ar(1, soundBufnum, BufRateScale .kr(soundBufnum), loop: 1); chain = FFT(LocalBuf(2048), in); chain = PV_MagSquared (chain); Out .ar(out, 0.003 * IFFT (chain).dup); }).play(s,[ \out , 0, \soundBufnum , c]); ) c.free;

  4. IndexInBetween Help

    ... rve: ~from = [1, 2, 4, 8, 16]; ~to = [0, 1, 0, -1, 0]; ( x={ IndexL .kr(~to.as( LocalBuf ), IndexInBetween .kr(~from.as( LocalBuf ), MouseX .kr(~from.first,~from.last).poll).poll).poll }.play )

  5. FFT Overview Help

    ... r you automatically. ( { var in, chain; in = WhiteNoise .ar(0.8); chain = FFT ( LocalBuf (2048), in); chain = PV_RandComb (chain, 0.95, Impulse .kr(0.4)); IFFT (chain); }.play(s); ) PV Ugens write their output data in place , i.e. back into ...

  6. PV_BrickWall Help

    ... also FFT Overview . ( { var in, chain; in = WhiteNoise .ar(0.2); chain = FFT ( LocalBuf (2048), in); chain = PV_BrickWall (chain, SinOsc .kr(0.1)); IFFT (chain) }.play; )

  7. PV_BinScramble Help

    ... yBuf .ar(1, soundBufnum, BufRateScale .kr(soundBufnum), loop: 1); chain = FFT ( LocalBuf (2048), in); chain = PV_BinScramble (chain, MouseX .kr , 0.1, MouseY .kr > 0.5 ); Out .ar(out, 0.5 * IFFT (chain).dup); }).play(s,[ \out , 0, \bufnum , ...

  8. DegreeToKey Help

    ... dorian scale play({ var mix; mix = // lead tone SinOsc .ar( ( DegreeToKey .kr( LocalBuf .newFrom(scale), MouseX .kr(0,15), // mouse indexes into scale 12, // 12 notes per octave 1, // mul = 1 72 // offset by 72 notes ) + LFNoise1 .kr([3,3] ...

  9. PV_Div Help

    ... Impulse.ar; var out = LPF .ar(son, MouseX .kr(100, 10000, 1)); var fft1 = FFT ( LocalBuf (b.numFrames), son, wintype: 1); var fft2 = FFT (b, out, wintype: 1); // As with most PV_ ugens, the result is *actually* stored in the first fft buf v ...

  10. pvcalc Help

    ... , chain, v; in = PlayBuf .ar(1, c, BufRateScale .kr(c), loop: 1); chain = FFT ( LocalBuf (1024), in); chain = chain.pvcalc(1024, { |mags, phases| //////// Try uncommenting each of these lines in turn and re-running the synth: [mags * {1.5.r ...

prev 1 2 3 4 5 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow