Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (55) Code (54) Doc (1) SCDoc ↗ Forum ↗ Google ↗
  1. tri-o emulation by 0-2U (grirgz) Code

    I just saw this controller https://gaojiafeng.wordpress.com/2014/02/11/tri-o-2014/, not a bad idea, but no need to have real rotating discs ;) Adapting this code for use with a regular midi controller should be fairly easy ( var w, h = 700 ...

  2. kick feedback by 0-2U (grirgz) Code

    ~bus = Bus.audio(s,2); ( ~name = \kickfb; SynthDef(~name, { |out=0, amp=0.1, pan=0, release=0.26, fratio=1.5, freqpan=0.01, spread=0.8, timeScale=1| var env0, env1, env1m, son; //freqpan = [-1,0,1] * freqpan; freqpan = [1,0, ...

  3. Sound file position selector GUI by 0-2U (grirgz) Code

    Sometime you want to play a certain part of a sound file, but you must provide the Synthdef with the starting and ending buffer frame number. It's nice to be able to select it graphically. <Space> play the selected part (or till the end if ...

  4. A simple bus routing matrix with GUI by 0-2U (grirgz) Code

    ( // init busses (change ?? to !? to init again) ~busses = ~busses ?? { ~matrix_in_count = 8; ~matrix_out_count = 4; ~matrix_ins = ~matrix_in_count.collect({ arg idx; var bus = Bus.audio(s,2); Ndef(\matrix).set(( \in++idx ).a ...

  5. wobble bass by 0-2U (grirgz) Code

    ( SynthDef(\wobble, { arg out=0, amp=0.1, gate=1, pan=0, spread=0.8, freq=200, doneAction=2; var sig, sig1, sig2, sig3; sig1 = LFSaw.ar(freq * 1 + (0.04 * [1,-1])); sig2 = LFSaw.ar(freq * 0.99 ); sig3 = LFSaw.ar(freq * 1 ); si ...

  6. stutter and tape stop fx by 0-2U (grirgz) Code

    ( Ndef(\stutter).quant = 1; //~bus = BusDef(\stutter, \audio); ~bus = Bus.audio(s, 2); ); ( ~bufsize = 2; // in seconds Ndef(\stutter, { arg choose=0, time=2, tapetime=2, stutter=4, attack=0.001, decay=0.001, tapelevel=0.7; var ...

  7. Homopolar generator (head end power for electronic train heating) by 0-2U (grirgz) Code

    ( ~t = ~t ? 1; Ndef(\fx).put(0, { arg amp=0.1; var sig; var freq; var freq2; var pan; var sig1, sig2, sig3, sig4, sig5, sig6, sig7, sig8; var cond = Line.kr(-1,1,64); var mix, index; var env1; env1 = EnvGen.kr(Env([0,2 ...

  8. parser for (simplified) abc score notation by 0-2U (grirgz) Code

    A simple parser for the (simplified) abc score notation. http://abcnotation.com/wiki/abc:standard:v2.0#the_tune_body Features: - 4 octaves : C, C c c' - note dur: c2 c/ c/2 - rest: can use _ in addition to z and x - chords: [ceg] - ...

  9. City by 0-2U (grirgz) Code

    ( SynthDef(\scagrain, { arg out=0, amp=0.1, gate=1, pan=0, freq=200, fspread=0.1; var sig; var sig1, sig2, sig3, sig4, sig5, sig6, sig7, sig8; var xfreq = freq * ((0..7)/7 - 0.5 * fspread + 1); xfreq = xfreq * XLine.kr(1,2,2); s ...

  10. fm generated melody by 0-2U (grirgz) Code

    I'm sure it's a well known technique, but I found this by accident and I'm amazed by the cool jazzy basslines generated from nowhere // base concept { arg freq = 74; SinOsc.ar(freq * [1,1.000001] * ( 1 + ( SinOsc.ar(freq * LFPulse.kr(2, ...

prev 1 2 3 4 5 6 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow