Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (55) Code (54) Doc (1) SCDoc ↗ Forum ↗ Google ↗
  1. modulate pattern keys with arbitrary envelopes by 0-2U (grirgz) Code

    ( SynthDef(\ctlPoint, { |outbus, value, time, curve| var start = In.kr(outbus, 1); ReplaceOut.kr(outbus, EnvGen.kr(Env([start, value], [time], curve), doneAction: 2)); }).store; // can't Pchain the resulting patter ...

  2. Modulation sequencing by 0-2U (grirgz) Code

    Two simple ways to set a different modulation per step in a pattern ( SynthDef(\rlpf, { arg out=0, amp=0.1, gate=1, pan=0, spread=0.8, freq=200, doneAction=2, ffreq=4000, rq=0.3; var sig, sig1, sig2, sig3; sig = LFSaw.ar(freq * [1.01,1 ...

  3. distobass by 0-2U (grirgz) Code

    SynthDef(\bass, { arg out=0, amp=0.1, gate=1, pan=0, spread=0.8, freq=200, doneAction=2; var sig, sig1, sig2, sig3; freq = SinOsc.ar(freq*\fmfreq.kr(1).lag(0.3)) * \fmrange.kr(0.5).lag(0.3) * LFNoise1.kr(1/7).range(0.9,1.1) + 1 * freq; ...

  4. Molecular music box by 0-2U (grirgz) Code

    Inspired by this post http://www.kimri.org/blog/?p=487 I rewritten the algo to use more the patterns, so it's generated on the fly and it's easy to customize it =) ( TempoClock.default.tempo = 1; Pbind( \index, Pseq((0..15),inf), ...

  5. Re: Morphing Saw Bass by 0-2U (grirgz) Code

    my hobbit: adding random arrays of LFO everywhere (bonus: a glitch i don't know where it come from) ( SynthDef(\bass, { arg freq = 440, amp = 0.5, gate = 1; var snd, env, oscfreq, output; var lfo; oscfreq = {freq * LFNoise2.kr(Rand(0 ...

  6. Cleanroom by 0-2U (grirgz) Code

    ~t = 1; TempoClock.default.tempo = ~t; ( SynthDef(\ambifall3, { arg out=0, gate=1, amp=0.1, pan=0, freq=200; var sig; //thisThread.randSeed = 1923; sig = SinOsc.ar(freq); sig = Pan2.ar(sig, pan, amp); sig = ( WhiteNoise.ar + ...

  7. How to build a mixer with send bus in pattern world by 0-2U (grirgz) Code

    ( SynthDef(\simpletrackmixer, { arg out=0, amp=0.1, gate=1, pan=0, freq=200; var sig; sig = InFeedback.ar(\inbus.kr, 2); sig = sig * EnvGen.kr(\adsr.kr(Env.adsr(0.01,0,1,0.01)),gate,doneAction:2); sig = sig * \pregain.kr(1); Ou ...

  8. electric guitar by 0-2U (grirgz) Code

    ( SynthDef(\noisecomb2, { arg out, gate=1, pan=0, freq=300, amp=0.1, noiselevel=0.2, minfreq=100, decaytime=1, doneAction=2, ffreq=500, rq=0.3, spread=0.8; var sig, env; sig = WhiteNoise.ar(noiselevel); sig = sig + ClipNoise.ar(n ...

  9. mission 8 by grirgz (grirgz) Code

    This is one of the first piece of code I written when i began to learn SC (precisely, the piece number 8) ( SynthDef("piou", { arg out=0, amp=1, sustain=0.5; var ou; ou = SinOsc.ar( XLine.kr(500, 50, sustain)*SinOsc.kr(9)+1, XL ...

  10. How to generate random envelope but control it with pattern standard \dur and \legato mecanism by 0-2U (grirgz) Code

    TempoClock.default.tempo = 1.5; ( SynthDef(\plop, { arg out=0, amp=0.1, gate=1, pan=0, freq=200, sustain=1; var sig; var env = EnvGen.ar(\env.kr(Env([ 0,1,1,0 ],[1,1,1])),gate,doneAction:2); sig = SinOsc.ar(freq * ( env + 1 )); ...

prev 1 2 3 4 5 6 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow