Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (727) Code (130) Doc (218) Help (78) Quark (287) Plugin (14) SCDoc ↗ Forum ↗ Google ↗
  1. gateTrigs Quark

    // trig inputs, gate outputs Instr([\gateTrigs,\Decay2],{ arg trig,attack=0.05,decay=0.2; var out; out = Decay2.kr(trig,attack,decay); out },[ nil,nil,nil ],\gate); Instr([\gateTrigs,\extend],{ arg trig,duration=0.2; Trig.kr(trig,duration) ...

  2. sampler Quark

    /* keeping the synth running trig input triggers the sample playback 2 separate play bufs alternate so that the envelope release overlaps the level of the trig is used for the amp */ Spec.add(\env3, EnvSpec(Env.new([0,1,1,0],[0,1,0]).releas ...

  3. samplerf Quark

    // see sampler // synth stays open and retrigs the sample multiple times Spec.add(\rqenv, EnvSpec( Env.new([ 0.194444, 0.0810185, 0.0648148, 0.444444 ], [ 0.01, 0.111111, 0.0833333 ], [ -0.583333, 3.33333, 1.66667 ], nil, nil))); Spec.add(\ ...

  4. percOrc5 Quark

    Instr([\percOrc5, \choochoo],{ arg trig=0.0,decay=0.2,noise=0.07,freq=6000,freqRange=1000; Decay.ar(Impulsar.ar(trig), decay, LFNoise0.ar(LFNoise1.kr(0.3,freqRange,freq + freqRange),noise)); },[ \trig, \decay, [0.001,0.25], [1,12000], [1,50 ...

  5. kiks Quark

    // not exactly timbaland Instr([\kiks, \hardshape,\xline],{arg trig=0.0,freq=100,decay=0.3,stickDecay=0.01, noise=1.0,drive=1.0,amp=1.0; var finger,out; finger = Decay2.ar( Impulsar.ar(trig), 0.001, stickDecay, (BrownNoise.ar(noise) + (1.0 ...

  6. 3_serversidemethods Quark

    ... efining of the sound on the server Ndef( \testSynth, { arg freq=440, amp=0.1, t_trig=1, dur=1; SinOsc.ar( freq, 0, amp ) * EnvGen.kr( Env.perc, t_trig, timeScale: dur ) } ); Ndef( \testSynth ).play; k.elementAt( \pad, 1 ).action = { arg el; ...

  7. K2ATrig Quark

    K2ATrig { *ar {|trig| ^(Trig.ar(K2A.ar(trig)>0, (SampleRate.ir).reciprocal) * Latch.ar(trig, trig)) } } K2ATrig1 { *ar {|trig| ^(Trig.ar(K2A.ar(trig)>0, (SampleRate.ir).reciprocal)) } }

  8. K2ATrig Quark

    K2ATrig LFSaw.de; PseudoUGen *ar(trig) returns a trigger ([1, 0, 0, 0, 0, 0, 0, ... ] * amp) at audiorate s.boot; SynthDef(\k2aTrTest, {|out = 0, t_trig = 0| Out.ar(out, K2ATrig.ar(t_trig))}).send(s) x = Synth(\k2aTrTest) x.set(\t_trig, 0.2 ...

  9. percOrc4 Quark

    ... these are from jmc examples // and are thus GPL Instr([\percOrc4, \tabla],{arg trig=0.0, impulseToNoise=0.5,fingerToDrum=0.5,freqScale=1.0,freqOffset=0.0,timeScale=1.0; var finger, tabla; finger = Decay2.ar( Impulsar.ar(trig), 0.001, 0.01, ...

  10. ServerPatternTriggering5 Quark

    ... (\freq.kr([440, 441])); var env = EnvGen.ar(Env.perc(releaseTime: \dur.kr(1)), \trig.kr(0), doneAction: Done.pauseSelf); OffsetOut.ar(\out.ir(0), x * env * \amp.kr(0.5)); }).add; //Writes to the correct busses... This allows for interplatio ...

1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow