Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (81) Code (15) Doc (23) Help (9) Quark (31) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. PitchShiftPARdWr Quark

    ... hase is audio rate! PitchShiftPAWr { *ar { arg in, bufnum=0; var phase; phase = BufWr.ar(in, bufnum, Phasor.ar(0, 1, 0, BufFrames.kr(bufnum))); ^phase } } PitchShiftPARd { *ar { arg phase=0, bufnum=0, trackingFreq = 440, synthFreq = 440, fo ...

  2. IrDef Quark

    ... ileNameWithoutExtension ++ "_Flu.wav file in" + ir.pathOnly ++ "Flu").postln; { BufWr.ar(FoaDecode.ar( PlayBuf.ar(4, bufWXYZ, loop: 0, doneAction: 2), MoscaUtils.b2a()), bufAformat, Phasor.ar(0, BufRateScale.kr(bufAformat), 0, BufFrames.kr( ...

  3. xf-bufFun Quark

    ... .ar(ot[0], ot[1], SinOsc.kr( (Amplitude.kr(in).squared * 2), 0, 3 ).wrap2(1) ); BufWr.ar( in*newLvl.squared.min(1).lag(0.5) + (ot * oldLvl.lag(0.7).cubed), buf, phaW); // loop rec into the buf ot * amp });

  4. TestChannelLayout Quark

    ... In.ar(0, numChans) * env; // from the first output channel index to numChans-1 BufWr.ar( MovingAverage.rms(input), buffer, env * numSamples, // how many samples will be written loop: 0 ); // no need to have an Out }).add; server.sync; // c ...

  5. PhasorTJ Doc

    ... us types of tape jitter, primarily for reading/writing buffers with BufRd resp. BufWr . Class Methods . ar . kr Arguments: freq frequency of phase end end value jitter jitter amount jitterFreq jitter frequency jitterType jitter type, one of ...

  6. LocalBuf Help

    ... old data: // slowly overwrite data with noise ( { var buf = LocalBuf (2048, 2); BufWr .ar( WhiteNoise .ar(1.dup), buf, LFNoise0 .ar(530).range(0, BufFrames .kr(buf))); PlayBuf .ar(2, buf, MouseX .kr(1, 2), loop: 1) * 0.1 }.play ) // avoid t ...

  7. UGens Help

    ... asor Frequency Domain FFT Convolution PV_ConformalMap Buffer Manipulation BufRd BufWr DiskIn DiskOut Index WrapIndex PlayBuf RecordBuf PingPong TGrains Binary Operators BinaryOpUGen (overview) + - * / ** absdif amclip atan2 clip2 difsqr exc ...

  8. FreeSelfWhenDone Help

    ... src) Some UGens, such as PlayBuf, RecordBuf, Line, XLine, EnvGen, Linen, BufRd, BufWr and the Buffer delay UGens set a 'done' flag when they are finished playing. FreeSelfWhenDone will free the enclosing synth when this flag is set to true. ...

  9. PitchShiftPA Quark

    ... lect({LocalBuf(bufSize, 1).clear}); delayWritePhase = numChannels.collect({|ch| BufWr.ar(in[ch], localbuf[ch], Phasor.ar(0, 1, 0, BufFrames.kr(localbuf[ch])))}); grainPos = (delayWritePhase / BufFrames.kr(localbuf)) - (freqPhase / BufDur.kr ...

  10. crude ringbuffer recording by lfsaw (LFSaw) Code

    ... e.kr(buf), start: 0, end: BufFrames.kr(buf), resetPos: 0 ); BufWr.ar( inputArray: Mix([ input * recLevel * recEnable * gain, BufRd.ar(1, buf, wrPhasor, 1) * ((recEnable * preLevel) + (1- recEnable)) ]), ...

prev 1 2 3 4 5 6 7 8 9 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow