Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (6350) Code (371) Doc (2094) Help (653) Quark (3183) Plugin (49) SCDoc ↗ Forum ↗ Google ↗
  1. Formant filter using the Vowel Quark by julianrohrhuber (julian.rohrhuber) Code

    A function to get the n loudest partials, or all partials louder than a threshold, for a formant filter using Klank and Vowel // a function to get the n loudest partials for a formant filter using Klank and Vowel // needs the Vowel quark ...

  2. Boids Example by shouhei (xffff) Code

    Example of BoidRoids in use // quick example to show use of BoidRoids class ( var numboids, boids, run, w, m, boidcolour, maxvel; numboids = 100; run=true; boids=BoidRoids(numboids); boids.separation(0.5); boids.alignment(0.3); ...

  3. Re: sloth canons [Pattern Extension] by tomdugovic (tom.dugovic) Code

    Save this as an extension and recompile class library. You can now use `Psloth([0,1,0], 10)`, for example, instead of declaring a new routine for each pattern. I didn't persist the use cases, as this should be saved as a `.sc` file. Plea ...

  4. rough draft final by mason-mccormack (Mason McCormack) Code

    // ================================= // A4 - musc-115-granular // GRANULAR SAMPLING // ================================= /* The code below is exactly what we built in class. You will need a MONO sample. */ // make sure to boo ...

  5. mpd18UseCase -- FRP style by lfsaw (LFSaw) Code

    ... or output //using .enOut, then that action will not be performed. This is also useful //for dynamic event switching where we might want to use an event stream only at //some times q.startSynths = { |i, freqs, sources| IO{ q.synth ...

  6. mousetheremin by justinwenloyang (justinwenloyang) Code

    Simple mouse theremin for Designing Digital Music and Interaction //PLACE MOUSE CURSOR ON EACH OF THE NUMBERS IN ORDER AND HIT CMD-RETURN ( // 1): // Initialize var currMidiNum, noteNames, octaves, screenRes, yres; ~pitchLo = \a0; ~ ...

  7. Converting an environment in a prototype object by julianrohrhuber (julian.rohrhuber) Code

    /* I often like to write out a library as an environment, like: ~start_sound = { |freq, amp| <...> }; ~start_high_pitch_sound = { |amp| ~start_sound.(14000, amp) }; … and then use loadRelative to load that library. This, however ...

  8. Nested ifs in a SynthDef by 38nonprivate (38nonprivate) Code

    A short, silly example of using if in a SynthDef. Using Select is generally a better thing to do. ( { var noise, out; noise = LFNoise0.kr(8); out = if( noise > 0.0, if(noise > 0.5, if(noise > 0.9, WhiteNoise.ar(0.2), Pulse.ar(60 ...

  9. Sending a Sysex Message by hemsinlet (hems.inlet) Code

    simple example showing how to send a sysex messages // running this line will show all your MIDI ins and outs on the console // find the number of the output interface you want to use MIDIClient.init; // select the midi out you would l ...

  10. warp 1 synth by tiagomoraismorgado (tiagomoraismorgado) Code

    a simple synthdef using warp1 ugen. please use extremely large buffers with it (one hour length, or something) {Warp1.ar(2, b, [LFDNoise0.kr(MouseX.kr(0.25, 250), 1), LFDNoise3.kr(MouseY.kr(0.25, 250), 1)], [LFDNoise1.kr(MouseX.kr(0.25, ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow