Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3894) Code (643) Doc (1121) Help (424) Quark (1675) Plugin (31) SCDoc ↗ Forum ↗ Google ↗
  1. external-interfacing Quark

    ( SynthDef(\gendy, { |out, sustain = 1, freq = 440, pan, fratio = 0| var env, sound, gfreq1, gfreq2; gfreq1 = freq * (2 ** fratio.neg); gfreq2 = freq * (2 ** fratio); env = EnvGen.ar(Env.sine(sustain), doneAction:2); sound = Gendy1.ar(1, 1, ...

  2. strings Quark

    /* Retrieved from http://sccode.org/1-5aD */ SynthDef(\strings, { arg out, freq=440, amp=0.8, gate=1, pan, freqLag=0.2; var env, in, delay, f1, f2; f1 = freq.lag(freqLag); f2 = freq.lag(freqLag * 0.5); delay = 0.25 / f2; env = Env.asr(0, 1, ...

  3. RedMixMono Quark

    ... k RedMixMono : RedAbstractMix { *def { ^SynthDef(\redMixMono, {|inA= 0, inB= 2, out= 0, mix= 0, amp= 1, lag= 0.05| var a= In.ar(inA, 1); //mono var b= In.ar(inB, 1); //mono var z= XFade2.ar(a, b, Ramp.kr(mix, lag), Ramp.kr(amp, lag)); Repla ...

  4. RedMixStereoMono Quark

    ... eoMono : RedAbstractMix { *def { ^SynthDef(\redMixStereoMono, {|inA= 0, inB= 2, out= 0, mix= 0, amp= 1, lag= 0.05| var a= In.ar(inA, 2); //stereo var b= In.ar(inB, 1); //mono var z= XFade2.ar(a, b.dup, Ramp.kr(mix, lag), Ramp.kr(amp, lag)); ...

  5. RedAbstractModule Quark

    ... k= assoc.key; var v= assoc.value; var spec= thisdef.metadata[\specs][k]; if(k==\out, {v= \out}); //special case cvs.put(v, Ref(spec.default)); specs.put(k, spec); }; this.initMethods; forkIfNeeded{ server.bootSync; thisdef.add; server.sync; ...

  6. ZZZ Quark

    ... ls, server); } *initClass{ StartUp.add{ SynthDef(\ZZZGate, {|bus = 0, in = 1.0, out = 0| OffsetOut.ar( out, DC.ar(in: in) * In.kr(bus) ); }).add; SynthDef(\ZZZClock, { |out = 0, bus = 0, iphase = 0, width = 0.5, mul = 1.0, add = 0.0| Offset ...

  7. startup11-chordal Quark

    ... address in subclass // update method should modify the value of ~noteStream without updating anything else ~nextNotePattern = #{ |inEvent| // if there is an event, we need to move to the next chord (inEvent.size > 0).if({ ~currentChord = ~c ...

  8. ping_mh Quark

    ... ping_mh.scd */ SynthDef(\ping_mh,{arg freq=440,amp=0.2,dur=1,attack=0.001,pan=0,out=0; var sig,freq2; freq=freq*rrand(1,1.01); freq2=freq*rrand(1,1.01); e=EnvGen.ar(Env.perc(attack,dur,curve:-4),doneAction:2); sig=SinOsc.ar([freq,freq2],0,a ...

  9. UScoreList Quark

    ... me Of Life Foundation. http://gameoflife.nl Copyright 2006-2011 Miguel Negrao, Wouter Snoei. GameOfLife Unit Library: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Softwa ...

  10. UScoreList Quark

    ... me Of Life Foundation. http://gameoflife.nl Copyright 2006-2011 Miguel Negrao, Wouter Snoei. GameOfLife Unit Library: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Softwa ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow