Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1070) Code (249) Doc (326) Help (124) Quark (363) Plugin (8) SCDoc ↗ Forum ↗ Google ↗
  1. BeatClockPlayer Quark

    ... tempoFactor ^SynthDef(this.defName, { arg i_tempoIndex=0, out = 0; Out.kr(out, Impulse.kr(In.kr(i_tempoIndex) * (tempoFactor.value * 0.25), mul: mul.value)) }) } defName { ^("BeatClockPlayer" ++ tempoFactor.asString) } synthDefArgs { // sy ...

  2. marimba1 Quark

    /* This SynthDef uses BPF in a manner similar to DynKlank. BPF gets hit with an impulse (Saw.ar(0)), and outputs a sine wave with a sharp attack, and a decay and amplitude both determined by rq. Modified by Bruno Ruviaro and Josh Mitchell J ...

  3. SCDrawServer Quark

    ... ], [ dur ], 'linear' ), 1, amp, 0, 1, 2); sig = Pluck .ar( WhiteNoise .ar(1.0), Impulse .kr(0), freq.reciprocal, freq.reciprocal, dur, 0.25); sig = Pan2 .ar(sig, pan); Out .ar(0, sig*env); }).load(server); spot = { arg perc, dict; var x, y, ...

  4. Fb Quark

    ... / Karplus-Strong style plucked string algorithm (see also Pluck ) ( { var sig = Impulse .ar( 0 )! 2 ; // stereo input - feedback will expand to two channels var freq = 200 ; sig = FbL ({ arg fb; LPF .ar( LeakDC .ar(fb), 8000 )* 0.99 +sig;}, ...

  5. cheappiano Quark

    ... hammer; var hammer, snd, detune, delay; freq = freq.cpsmidi; hammer = Decay2.ar(Impulse.ar(0.001), (breakdown + 1) * 0.008, (breakdown + 1) * 0.04, LFNoise2.ar([2000, 4000].asSpec.map(amp), 0.25)); snd = Mix.ar(Array.fill(3, { arg i; detune ...

  6. etude Quark

    ... bpm=120, att=0.002, dcy=0.05, ffreq=5000, reso=2, amp=0.2, mod=0.2; var metro = Impulse.ar(bpm/60); var env = Decay2.ar(metro, att, dcy); var sig = GrayNoise.ar(amp.dup); sig = env * sig; ffreq = ((mod*env+1) * ffreq).clip(20, 20000); sig = ...

  7. DurInterpolationProofOfConcept Quark

    ... .1) * 0.5 }, dur: Pfunc { ~dur.next } )).play(chans:2); //Click b = AP(( def: { Impulse.ar(0) }, dur: 1 )).play(chans:2); //Scale over a set number of beats ~change_clock_tempo = {|clock, tempo, beats=1| var oldDur = ~dur; var newDur = 1.0 ...

  8. oscillOrc Quark

    ... rg freq=440,amp=1.0,iphase=0.0,width=0.5; LFPulse.ar(freq,iphase,width,amp) }, \impulse,{ arg freq=440,amp=1.0,iphase=0.0; Impulse.ar(freq,iphase,amp) }, \varsaw,{ arg freq=440,iphase=0.0,width=0.5,amp=1.0; VarSaw.ar(freq,iphase,width,amp) ...

  9. default-synths Quark

    ... e variable ~dirt, you can livecode these synths. */ ( // modulated band limited impulse ( SynthDef(\imp, { |out, sustain = 1, freq = 440, speed = 1, begin=0, end=1, pan, accelerate, offset| var env, sound, rate, phase; env = EnvGen.ar(Env.p ...

  10. that-intro Quark

    ... ~that_amplitudeDef.(\ampTrack, { Ndef.ar(\input) }, { |event| event.postln }, { Impulse.kr(2) }); // like this you can also make a "hand triggered" analysis: ~that_amplitudeDef.(\ampTrack, { Ndef.ar(\input) }, { |event| event.postln }, { \t ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow