Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (6) Code (5) Quark (1) SCDoc ↗ Forum ↗ Google ↗
  1. Stereo phase scope by 0-cM (jamshark70) Code

    Very quick-and-dirty hack to show stereo phase. Center = up (12:00). Full left = 10:30, full right = 1:30. ( b = Bus.audio(s, 2); a = { |inbus = 0| var sig = In.ar(inbus, 2); // x axis is side, oriented toward right; // y axis is mi ...

  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. Demo of Model-View-Controller design by 0-cM (jamshark70) Code

    This question comes up often: What is the best way to structure GUI code. IMO, Model-View-Controller (when done correctly) gives you the most flexibility while avoiding common bugs. But it's hard to wrap your head around it first. So, he ...

  4. Command-line SC utility for MIDI clock out by 0-cM (jamshark70) Code

    When sending MIDI clock out at a fast tempo, there may be fewer than 10 ms between clock ticks. If you're sending the clock messages from the same sclang that is sequencing musical events, any unexpectedly long-running sclang activity could ...

  5. GUI: Time-domain continuous vs sampled signals, and FFT representation by 0-cM (jamshark70) Code

    Here's a demo I cooked up for a synthesis theory class. Textbooks say that the Nyquist theorem proves there is one only one way to draw a band-limited continuous signal through a set of samples. This GUI lets you see it for yourself. In ...

  6. Polynomial Quark

    /* A number of methods for common polynomial operations. Michael Dzjaparidze, 2010. * GNU General Public License - http://www.gnu.org/licenses/gpl-3.0.html */ Polynomial[slot] : ArrayedCollection { species { ^this.class } * { arg c2; var pr ...

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow