Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2937) Code (123) Doc (1095) Help (322) Quark (1383) Plugin (14) SCDoc ↗ Forum ↗ Google ↗
  1. Color Picker, pretty version by simon (Dindoléon) Code

    ... 0; var sv_slider = UserView(); var helper = UserView(); var binded_function = nil; var margin; // Slider half dead zone // HSV to Color function var hsv_to_color = { | hsv | var color = Color( 0, 0, 0 ); var ...

  2. Monzo function by elirosenkim (eli.rosenkim) Code

    function takes in collection as argument, and returns the ratio from the resultant monzo // https://en.xen.wiki/w/Monzo //Monzo notation of JI ratios is often used in combination with Vals for temperament theory. I wrote this not for tempe ...

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

    ... ill not work. Firstly, it will expect the environment as first argument of each function, second, it won't find a function like ~start_sound from within the call context. Here is a way to convert an environment as needed. */ ~construc ...

  4. polynom by scornaz (scornaz) Code

    ( var genPolynom = { arg depart ... l; var function = "{arg x; %% }".format( depart, l.collect({ arg v, i; " + (% * ( x div: % ))".format(v, i + 1) }).join ); function.compile().value; }; var un = genPolynom. ...

  5. chaos gen modular function for modular pseudo ugen prototyping by tiagmoraismorgado (tiagmoraismorgado) Code

    chaos gen modular function for modular pseudo ugen prototyping ( ~chaos={ var signal, myFrequency, frequencyMin=0.1, frequencyMax=30, myAmplitude, amplitudeMin=0.01, amplitudeMax=0.6, myPhase, phaseMin=0, phaseMax=1.5; myFrequency = Ar ...

  6. if-then-else alternative to Platform.case by lightrate (LightRate) Code

    ... ute: if( thisProcess.platform.asSymbol == 'an OSXPlatform', { // true function }, { // false function } )

  7. LFDNoise Modular version by tiagmoraismorgado (tiagmoraismorgado) Code

    a draft of a modular function for LFDNoise sctochastically selection. i shall be turning this into a pseudo ugen, using high level classes abstraction layer. ( ~lfd={ var signal, myFrequency, frequencyMin=0.1, frequencyMax=30, myAmplitud ...

  8. Function to extract audio from youtube + example usage by gosub (gosub) Code

    Helper function to extract audio from a youtube video, and save it to a file. Note: Linux/OSX/Unix only (uses .unixCmd), needs yt-dlp to be installed, the download procedure is synchronous // Helper function to extract audio from a youtu ...

  9. function vars/args as dictionary by vividsnow (vividsnow) Code

    shortcuts to get function variables/arguments state as dictionary // variables ({ var aa = 3, bb = aa + 1, cc = 5; { |d v| d.inject((), { |a i k| a[i] = v[k] }) }.(thisFunctionDef.varNames, this.getBackTrace.vars); }.()) // argumen ...

  10. 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 ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow