Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (513) Code (102) Doc (171) Help (75) Quark (148) Plugin (17) SCDoc ↗ Forum ↗ Google ↗
  1. ZeroXBufRd Doc

    ... 4/5, 1.25 = 5/4), // so playback will not be faster than writing. ( { var src = PlayBuf.ar(1, b, BufRateScale.ir(b)); // write zero crossings, but no need to overwrite sound buffer ZeroXBufWr.ar(src, b, z, startWithZeroX: 1, writeSndBuf: fa ...

  2. Shepard Doc

    ... eY.kr(2, -2); var intvs, amps; #intvs, amps = Shepard.kr(5, slope, 12, shift); (PlayBuf.ar(b.numChannels, b, intvs.midiratio, loop: 1) * amps).sum * 0.2 ! 2 }.scope; ) // to do - SynthDef and pattern example... ⧉ ✔ helpfile source: /tmp/scq ...

  3. FFT-Overview Doc

    ... d); ( { var inA, chainA, inB, chainB, chain; inA = LFSaw.ar(100, 0, 0.2); inB = PlayBuf.ar(1, d, BufRateScale.kr(d), loop: 1); chainA = FFT(LocalBuf(2048), inA); chainB = FFT(LocalBuf(2048), inB); chain = PV_MagMul(chainA, chainB); // write ...

  4. LevelIndicator Doc

    ... e, imp, delimp, mul = 1; imp = Impulse.kr(10); delimp = Delay1.kr(imp); colum = PlayBuf.ar(1, b, BufRateScale.kr(b), loop: 1) * mul; // measure rms and Peak SendReply.kr(imp, '/levels', [Amplitude.kr(colum), K2A.ar(Peak.ar(colum, delimp).la ...

  5. PG_Cookbook01_Basic_Sequencing Doc

    ... , start, time = 1, stretch = 1, amp = 1, attack = 0.01, decay = 0.05| var sig = PlayBuf.ar(1, bufnum, rate: stretch.reciprocal, startPos: start), eg; sig = PitchShift.ar(sig, pitchRatio: stretch); eg = EnvGen.kr(Env.linen(attack, time, deca ...

  6. CutStream3 Doc

    ... beepvol=0.0, lock=0; var trackb,trackh,trackq,tempo; var source, beep; source= PlayBuf.ar(1,~source.bufnum,1.0,1,0,1); //see AutoTrack help file #trackb,trackh,trackq,tempo=AutoTrack.kr(source, lock); beep= SinOsc.ar(1000,0.0,Decay.kr(trac ...

  7. Tartini Doc

    ... sample tracking SynthDef("pitchFollow1",{ var in, amp, freq, hasFreq, out; in = PlayBuf.ar(1,c.bufnum, loop:1); amp = Amplitude.kr(in, 0.05, 0.05); # freq, hasFreq = Tartini.kr(in); out = Mix.new(VarSaw.ar(freq * [0.5,1,2], 0, LFNoise1.kr(0 ...

  8. RedSampler Doc

    ... cription Nothing fancy. This class just loads soundfiles into RAM and then uses PlayBuf to play them back. It uses the same interface as RedDiskInSampler (except for numFrames which is is not implemented here). Class Methods Inherited class ...

  9. Exercise_12_HOA_NRT_using_scores_and_SynthDefs Doc

    ... ignal = NodeProxy.new(s, \audio, ~hoaNumChannels); ~hoaSignal.source = { HPF.ar(PlayBuf.ar( ~hoaSoundFile.numChannels, ~hoaSoundFile, loop:1 ), 50) }; ~hoaSignal.fadeTime = 1; ) ⧉ ✔ If the ~decoder from above is still there, let's connect ( ...

  10. Buffer_Granulation Doc

    ... s in this regard. Alternatively SynthDefs for single grains can be defined with PlayBuf or BufRd in order to control the whole buffer granulation process from language side, using Patterns, Tasks or Routines. What is the best way? To a larg ...

prev 11 12 13 14 15 16 17 18 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow