Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (319) Code (20) Doc (125) Help (18) Quark (155) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. pitch tracker utility by 0-4w (defaultxr) Code

    This is a small utility i wrote to make it easy to detect the pitch of incoming audio (i.e. your voice into your mic). I recommend binding the execution of "~pitchTrack.();" to a keyboard shortcut in your editor/IDE. It's incredibly conveni ...

  2. Decode %hex encoded characters by 0-cM (jamshark70) Code

    A quick utility function for decoding UTF-8 characters in %hex codes (such as for web URLs). Save the code into a .sc file in your Extensions/ directory, recompile, and then: "%E5%A4%A7%E5%AE%B6%E5%A5%BD".decodeHex; -> 大家好 This proba ...

  3. some missing string operations: split on regex; replace regex; between regex by 56228375 (56228375) Code

    some useful string operations which appear to be absent in sclang // note: first install quark https://github.com/shimpe/scstringext // using Quarks.install("https://github.com/shimpe/scstringext"); // then you should be be able to r ...

  4. Method help re-ordering utility by 0-7r (jamshark70) Code

    If you have a large class with a lot of methods, you probably want to sort the methods in the auto-generated SCDoc template into an order that's meaningful for the end user (related methods grouped together, more important methods toward th ...

  5. List expander and contractor function by moncrey (moncrey) Code

    useful for expanding or reducing arrays by 2^x. I would like to know if there is a more concise way to write this! Any suggestions? (duplicate post, sorry! forgot to log in!) ( b = {|x,y| var arr = List[]; case {y % x ...

  6. Buffer Plotter by simon (Dindoléon) Code

    This is a setup that allows you to plot a Synth() output, using a buffer. See https://scsynth.org/t/what-is-the-best-way-to-plot-a-synth/5160 . s.boot; ( var bufferSize = s.sampleRate * 1; // Buffer size is fixed. s.sampleRate * seconds ...

  7. [SIMPLE] Random Pad Generator by checco-ruseo (Checco Ruseo) Code

    ... phore. ~locks = List[]; ~executing = false; // Utility. Translate Symbols arrays to Strings ~symbolsArrayToString = { |arr| var res; if( arr.size == 0 ) { res = arr.asString; } { ...

  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. Close in Counters of the Fourth Mind by melliott (melliott) Code

    Utilizing some Ar's, Kr's, and Pbinds, we can find ourselves in a counter of the fourth mind. ( SynthDef(\closeN, { |out=0, freq=440, gate=1| var son = BPF.ar(in: WhiteNoise.ar(20!2), freq: freq, rq: 0.005, ...

  10. Sound file chunks: Workaround for single-precision buffer indexing by jamshark70 (jamshark70) Code

    One of the common questions on the list is about handling very large sound files with BufRd. BufRd indexes into the buffer using a single-precision float, which supports buffers only up to 2**24 frames (a bit more than six minutes at 44.1 k ...

1 2 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow