Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... trigger = \trigger.tr; output = Select.kr( Peak.kr( trigger), [ DC.kr( point ), Latch.kr( point, trigger ) ]); output = output.varlag( \time.kr(0.0) ); UMapOut.kr( output, false ); }) .canUseUMapFunc_({ |unit, key, umapdef| unit.getSpec( ke ...

  2. feedbackPad3 Quark

    ... causes those effects a bit more. This time,the feedback is first downsampled by Latch.ar, at a frequency of sampleRate, then scaled and rounded to a number of notes, all a specific number of semitones apart. This gets put back into the freq ...

  3. defTrig Quark

    ... e. (So, if you want to use the trigger value as an amplitude scaler, you should latch it: Latch.kr(t_trig, t_trig) .) For every item in the objects array, one synth node is created when you play the process. Where PR(\defPerc) used the ~def ...

  4. defTrig Quark

    ... e. (So, if you want to use the trigger value as an amplitude scaler, you should latch it: Latch.kr(t_trig, t_trig) .) For every item in the objects array, one synth node is created when you play the process. Where PR(\defPerc) used the ~def ...

  5. decimator Quark

    ... llider is currently running at. These changes are done in this SynthDef through Latch.ar (a sample-and-hold) and .round, respectively. I've also added a pair of low pass filters at the beginning and end of these sections, as a very basic si ...

  6. 3b_adding_sound_processes Quark

    ... 3.kr(modRate!2, fmodDepth).midiratio, LFDNoise3.kr(modRate!2), ); var passAmp = Latch.ar(CoinGate.ar(passprob, snd), snd); snd * passAmp * amp; });

  7. Block Quark

    ... ack=0.01 , decay = 0.3 , sustain= 0.5 , release = 1 , octMul=1 ; var cps; cps = Latch.ar(freq*octMul, trig); SinOsc.ar(cps,phase,mul) * EnvGen.kr(Env.adsr(attack, decay, sustain, release), trig); }], ['blipenv', {arg trig = 1 , freq=440 , n ...

  8. delay Quark

    ... kr( value, timeScale * 2, time ); delayed = Select.kr( Line.kr(0,1,time) >= 1, [Latch.kr( value, Impulse.kr(0) ), delayed] ); UMapOut.kr( delayed ) } ) .category_( \filter ) .setSpec( \time, [ 0, 2, \lin, 0, 0.1 ] ) .setSpec( \timeScale, Li ...

  9. delay Quark

    ... kr( value, timeScale * 2, time ); delayed = Select.kr( Line.kr(0,1,time) >= 1, [Latch.kr( value, Impulse.kr(0) ), delayed] ); UMapOut.kr( delayed ) } ) .category_( \filter ) .setSpec( \time, [ 0, 2, \lin, 0, 0.1 ] ) .setSpec( \timeScale, Li ...

  10. TimeStretch2 Quark

    ... r((sig[0]*sig[1]), fftSize/2)/RunningSum.ar((sig[0]*sig[0]), fftSize/2); rVal = Latch.ar(sum, DelayC.ar(trig1+trig2, (3*fftMax/2)-(3*fftSize/2)+BlockSize.ir/SampleRate.ir, fftMax-fftSize+BlockSize.ir/SampleRate.ir)).clip(-1,1); rVal = Delay ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow