Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2836) Code (566) Doc (808) Help (347) Quark (1105) Plugin (10) SCDoc ↗ Forum ↗ Google ↗
  1. core-synth-hacks-02 Quark

    ... ls| var name = format("dirt_sample_%_%", sampleNumChannels, ~dirt.numChannels); SynthDef(name, { |out, bufnum, sustain = 1, begin = 0, pan = 0, speed = 1, endSpeed = 1| var sound, rate, phase, scratch; // playback speed rate = Line.kr(speed ...

  2. SPlayFileDisk Quark

    ... e % not readable".format(this.class.name, path).warn; }); } //--private prCreateSynthDefs { channels.do{|n| SynthDef((this.class.name++"_"++n).asSymbol, {|out= 0, buf, gate= 1, amp= 1, rate= 1, loo= 0, atk= 0.01, rel= 0.05, cur= -4| var env ...

  3. blip1 Quark

    SynthDef("blip1", {arg out = 0, freq = 25, numharm = 10, att = 0.01, rel = 1, amp = 0.1, pan = 0; var snd, env; env = Env.perc(att, rel, amp).kr(doneAction: 2); snd = Blip.ar( freq: freq * [1, 1.01], numharm: numharm, mul: env ); snd = Leak ...

  4. AddingASynthDef Quark

    // add a new synthdef so everyone gets it: ( SynthDef(\kabelScahden, { |out, freq=50, sustain=1, amp = 1| var h, n, m, k, trig, hum; hum = { trig = Dust.kr( 7 ** LFNoise1.kr(0.3) ); h = ToggleFF.kr(CoinGate.kr(0.4,trig)) * RLPF.ar(LFPulse.a ...

  5. snare1 Quark

    SynthDef("snare1", {arg out = 0, amp = 0.1, sinfreq = 180, att = 0.01, rel = 0.2, ffreq = 2000, pan = 0; var snd1 = WhiteNoise.ar(amp); var snd2 = SinOsc.ar(sinfreq,0,amp); var env = Env.perc(att, rel).kr(doneAction: 2); var mix = HPF.ar(sn ...

  6. sc3-dot.help Quark

    ... s than inputs. In.ar(4,4) // The .dot method writes the unit generator graph at SynthDef to a // file using the dot graph language. a = SynthDef.new("sc3-dot") { | bus=0, freq=440 | var e = EnvGen.kr(Env.perc, levelScale: 0.3, doneAction: 2 ...

  7. EQspecs Quark

    ... ltiEQ { // container for specifications for an EQ bank // creates an individual synthdef for each band and allows placing on server // H. James Harkins, Jan 2003 - jamshark70@dewdrop-world.net // based on Joseph Anderson's Regalia-Mitra EQ ...

  8. bassWarsaw Quark

    SynthDef("bassWarsaw", { |freq = 440, gate = 1, amp = 0.5, slideTime = 0.17, ffreq = 1100, width = 0.15, detune = 1.005, preamp = 4| var sig, env; env = Env.adsr(0.01, 0.3, 0.4, 0.1); freq = Lag.kr(freq, slideTime); sig = Mix(VarSaw.ar([fre ...

  9. RedMst Quark

    ... .stop; RedMst .clear; //--more advanced example with 7 pbind tracks and custom synthdefs ( s.waitForBoot{ RedMst .clear; //start afresh - remove tracks RedMst .clock= TempoClock (150/60); //set master clock RedMst .quant= 4; //--synths Syn ...

  10. Warp0 Quark

    ... . 4 = cubic interpolation (more computationally intensive). Examples: s.boot; ( SynthDef ( \warp , { arg buffer = 0; var out, filelength, env; env = EnvGen .kr( Env ([0.01, 1, 1, 0.01], [0.1, 14, 0.9], 'exp' ), doneAction: 2); //warp factor ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow