Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (764) Code (64) Doc (175) Help (16) Quark (509) SCDoc ↗ Forum ↗ Google ↗
  1. Radial loudness meter by snappizz (snappizz) Code

    ... var center, wedge; center = size@size * 0.5; wedge = { |l1, l2, color| Pen.color = color; Pen.addAnnularWedge(size@size * 0.5, size*0.4, size*0.45, (pi/2) + (1.5pi*l1), 1.5pi*(l2 - l1)); Pen.fill; }; // These levels and ...

  2. Sketch Pad by elifieldsteel (eli.fieldsteel) Code

    ... g; view.refresh},{} ); }; //mouse drag redefines userview drawFunc //Pen draws line from old point to current point //then sets old point equal to current point view.mouseMoveAction = { |v, x, y, mod| view.drawFunc = { P ...

  3. Damped Driven Double Pendulum Sonification and Visualization by xavieredavenport (xavieredavenport) Code

    ... run ctrl+. to stop Version 1. A little toy physics simulation of a double pendulum with damping and drive. The math is a little inconsistent in SuperCollider when dealing with numbers super small and super large, especially when trig ...

  4. Synchronous control bus visualizer using the shared memory interface by rukano (rukano) Code

    ... u.clearOnRefresh = false; u.drawFunc = { var width = u.bounds.width; // Pen.fontColor Pen.stringAtPoint("Click on a zone to pause or resume the oscillator", Point(0,0)); Pen.fillColor = Color(1, 1, 1, 0.1); Pen.fillRect(u.b ...

  5. KickandBass by scottintokyo (Scott L Simon) Code

    ... 2){TempoClock.default.tempo = 60/60;}; }); u.drawFunc = { Pen.fillColor = Color.red; Pen.color = Color.white; pt.x=mx; pt.y=my; 100.do{|i| Pen.moveTo(pt); pt.x = sin(u.frame*0.1. ...

  6. Granular display by tommaisey (tommaisey) Code

    ... , window, fileView, grainView, granary, displayGrain; soundFile = SoundFile.openRead(Platform.resourceDir +/+ "sounds/a11wlk01.wav"); buffer = Buffer.readChannel(s, soundFile.path, channels: [0]); { SynthDef(\grain, { |bufNum = 0 ...

  7. FFT additive oversampling (graphical demo of the sampling theorem) by 0-7r (jamshark70) Code

    ... unds.height, width = bounds.width, scaleY = height * (0.5 - scale), scaleX; Pen.color_(Color.gray(0.7)) .moveTo(Point(0, scaleY)).lineTo(Point(width, scaleY)) .moveTo(Point(0, height - scaleY)).lineTo(Point(width, height - scaleY)) ...

  8. Generating Graphics and Music From The Dragon Curve by 56228375 (56228375) Code

    ... twice with some randomness yields a kind of 2-voiced minimal music.This code depends on the Panola quark and the LSystem quark. Install them with Quarks.install("https://github.com/shimpe/panola"); and Quarks.install("https://github.com/s ...

  9. snake by elifieldsteel (eli.fieldsteel) Code

    ... //draw next frame board.do({ arg row, j; row.do({ arg val, i; Pen.fillColor_(Color.gray( //positive numbers are light gray (snake body) //0s are dark grey (game board background) (val>0).asInteger*0.6+0.1 ...

  10. spawnSynthGranulizer by bateslewis (bateslewis) Code

    ... an either Rand or Brown here // the extra + button in the nicole/freq section opens a gui to creat tuned clouds according to probabilities for each note //some symbols have been used from the Mac character viewer - yet to find out if th ...

prev 1 2 3 4 5 6 7 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow