Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (164) Code (23) Doc (29) Help (6) Quark (106) SCDoc ↗ Forum ↗ Google ↗
  1. Using_Voicer Doc

    ... on the gate parameter. gate is normally set to 0 at the end of the note, so we Latch it when applying to the amplitude. ( SynthDef(\moogy, { |out, freq = 440, detun = 1.008, gate = 1, ffreq = 2000, gain = 2, fEgAmt = 4, pan = 0, freqlag = ...

  2. SpeedLim Doc

    ... 0x per second) s.waitForBoot { synth = { var trig = Impulse.kr(50); var mouse = Latch.kr(MouseY.kr(0, 1, 0, 0), trig); SendReply.kr(Changed.kr(mouse), '/mouseY', mouse); Silent.ar(1) }.play; }; // Receive them all, but consume them more slo ...

  3. Squiz Doc

    ... fraccent = ((centroid - locent) / (hicent - locent)).min(1).max(0); fraccentl = Latch.kr(fraccent, Onsets.kr(chain)); Out.kr(0, fraccentl); // fraccent.poll; //heaviness = MouseX.kr(0,1); //heaviness2 = MouseY.kr(0,1); heaviness = LFPar.kr( ...

  4. NoCoastConfig Doc

    ... ted class methods Instance methods makeWindow setDevice arpOn arpOff arpTrad arpLatch legatoOn legatoOff midiCh1 midiCh2 midiChA_CV_Note midiChA_CV_Vel midiChA_CV_Mod midiChA_CV_LFO midiChB_CV_Note midiChB_CV_Vel midiChB_CV_Mod midiChB_CV_L ...

  5. Voicer Doc

    ... (sig * amp).dup }); ) ⧉ ✔ If you want the instrument to be velocity-sensitive, Latch the gate argument to get the velocity: ( SynthDef.new("harpsi", { |out = 0, freq = 440, gate = 1, amp = 0.1| var sig; amp = amp * Latch.kr(gate, gate) * 0 ...

  6. MasterFX Doc

    ... -> { |in, bits=16, downsamp=2| var krushed = in.round(0.5 ** bits); var down = Latch.ar(in, Impulse.ar(SampleRate.ir / downsamp.max(2))); // below 1/2 downsamp, do xfade: blend(in, down, (downsamp - 1).clip(0, 1)); }, 1, ( \bits: [16, 1], ...

  7. Live_Granulation Doc

    ... ion = 4| var inSig, env, numFrames = BufFrames.kr(envBuf), startTrig, grainDur, latchedTrigRate, latchedStartTrig, latchedOverlap, pan; inSig = In.ar(in, 1); // reduce feedback inSig = DelayC.ar(LPF.ar(inSig.tanh, 2000), 0.1, 0.01); startTr ...

  8. OFX_OutputFX Doc

    ... er -> { |in, bits=16, downsamp=2| var krushStep = 0.5 ** (bits + 1); var down = Latch.ar(in, Impulse.ar(SampleRate.ir / downsamp.max(2))); // below 1/2 downsamp, do xfade: blend(in, down, (downsamp - 1).clip(0, 1)) .round(krushStep); }, 1, ...

  9. MainFX Doc

    ... er -> { |in, bits=16, downsamp=2| var krushStep = 0.5 ** (bits + 1); var down = Latch.ar(in, Impulse.ar(SampleRate.ir / downsamp.max(2))); // below 1/2 downsamp, do xfade: blend(in, down, (downsamp - 1).clip(0, 1)) .round(krushStep); }, 1, ...

  10. TabletView Doc

    ... LPF.ar(Mix.ar(p),freq * ffreqInterval.midiratio,rq) * EnvGen.kr(Env.adsr, gate, Latch.kr(gate,gate)) },#[ nil, [[-48,48,\linear,1]], [[-48,48,\linear,1]], [[-48,48,\linear,1]] ]); p = Patch.new([ 'minimoog', 'loose' ],[ nil,nil,nil,nil,nil, ...

prev 1 2 3 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow