-
... = 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 ...
-
... 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 ...
-
... 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= ...
-
... 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( ...
-
... 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 ...
-
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] - ...
-
... 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 ...
-
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 = { ...
-
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 ...
-
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 ...