Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (325) Code (27) Doc (65) Help (11) Quark (219) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. oneshot renderer by lfsaw (LFSaw) Code

    ... = 1, out = 0, params, sRate = 48000, format = "int32", dirname, filename| var score; var args; var name, synthdef; nameOrSynthDef.isKindOf(SynthDef).if({ name = nameOrSynthDef.name; synthdef = nameOrSynthDef; }, { nam ...

  2. deta-nocturn by till-bovermann (LFSaw) Code

    ... ams.scd".format(Document.current.path.dirname).load; // if new, also adjust score indices. (see below) q.programs = {[\ORG] ++ ({([0, 1, 2] ++ (5..25)).choose}!250) ++ [\JMP, 1]}!200; s.boot; NdefMixer(s); ( // put all progra ...

  3. Pong by dilots (dilots) Code

    ... d2(1.5); var ballYMovement = 3.0*((rand(2)*2)-1); var ballMaxSpeed = 30; var scores = [0,0]; var notes = Scale.phrygian.degrees+60; k = Set[]; // keep track of held keys // SynthDef SynthDef(\bounce, { |out=0, gain=0.5, length= ...

  4. Show a chord in music notation in a sclang window by 56228375 (56228375) Code

    ... ching and grepping... :) ( var svg; var img; var options; var window; var score; var chord; var staff; var chordview; // configure path to lilypond Fosc.lilypondPath = "/usr/bin/lilypond"; // make a chord chord = FoscChord( ...

  5. Scoring a movie with supercollider by 56228375 (56228375) Code

    ... s the supercollider code used in the tutorial about creating a generative movie score with supercollider and blender. The tutorial itself is located here: part I about using markers on blender's timeline to trigger OSC commands at https://t ...

  6. parser for (simplified) abc score notation by 0-2U (grirgz) Code

    A simple parser for the (simplified) abc score notation. http://abcnotation.com/wiki/abc:standard:v2.0#the_tune_body Features: - 4 octaves : C, C c c' - note dur: c2 c/ c/2 - rest: can use _ in addition to z and x - chords: [ceg] - ...

  7. snake by elifieldsteel (eli.fieldsteel) Code

    ... UserView(win, win.view.bounds) .background_(Color.gray(0.1)); //game over & score box, only visible when you crash //(score = snake body size) deadbox = StaticText(win, Rect( win.bounds.width/2 - 50, win.bounds.height/2 - 20, 10 ...

  8. Experiment with roots of unity by muse-score (Muse Score) Code

    This is an experiment with roots of unity in supercollider. I took Eulers formula exp(2*pi*I*k/n) = cos(2*pi*k/n)+sin(2*pi*k/n)*I to sonify sums of roots of unity where the sums run through divisors of some numbers. ( ~divisors = { ...

  9. Happy Birthday Pbind by bruno (Bruno Ruviaro) Code

    Demonstration of score transcription with Pbinds. // Happy Birthday with Pbind // Basic version // just melody ( Pbind( \midinote, Pseq([ 72, 72, 74, 72, 77, 76, 72, 72, 74, 72, 79, 77, 72, 72, 84, 81, 77, 76, 74, 82, 82 ...

  10. Underwater by muse-score (Muse Score) Code

    This is my first piece of music in the world of supercollider. https://www.youtube.com/watch?v=lpAUKkNgqhU ( ~divisors = { arg n; ~divs = List.newClear(0); for( 1, floor(sqrt(n)), {arg i; if(n%i==0,{ i.postln; ~divs.add(i ...

1 2 3 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow