-
... foodcolor = Color.rand(0.25,1.0); foodpos = nil; //make sure food isn't placed on snake body while( {foodpos == nil}, { tryfoodpos = rand(height) @ rand(width); if( //food generation only successful if blank spa ...
-
/* place a really long buffer here, something like 1 hour long, of interesting material, run the code and optimize the parameters for your source material*/ b=Buffer.read(s, "/Volumes/Untitled 1/a.aif"); play({Mix.new(Array.fill(4, ...
-
A simple GUI for Waveset Synthesis. Requires WavesetsEvent, which should be placed in your SC extensions folder. Most of the code came from the included help files. https://github.com/musikinformatik/WavesetsEvent /********************** ...
-
... /2, 3.3, 4, -5]); //sure //it might be fun to do monzo glissandos in different places?
-
Just experimental sketch of somewhere audio background. p.s. some random variations on each run. ( { Limiter.ar( GVerb.ar( ( BPF.ar( WhiteNoise.ar([0.07,0.07]) + Blip.ar([13,19], 200.rand, mul:0.5), SinOsc.k ...
-
Simple mouse theremin for Designing Digital Music and Interaction //PLACE MOUSE CURSOR ON EACH OF THE NUMBERS IN ORDER AND HIT CMD-RETURN ( // 1): // Initialize var currMidiNum, noteNames, octaves, screenRes, yres; ~pitchLo = \a0; ~ ...
-
"In latter model synthesizers, digital noise sources began to appear in place of analog ones. Traditionally, a psuedo-random shift register set up for optimal length. By optimal length, it is meant that every state of all available bits wil ...
-
functors - Using Pdef for building abstract pattern functions while live coding by julianrohrhuber (julian.rohrhuber) Code
... function composition (functors) in live coding with patterns - it seems all in place anyway. // some synthdef ( SynthDef(\Pdefhelp, { arg out, freq, sustain=1, amp=1, pan; var env, u=1; env = EnvGen.kr(Env.perc(0.03, sustain ...
-
... ([0,2,3,4,5,6], [10,7,3,5,2,1].normalizeSum, inf)), \degree, Pclump(Pkey(\n), Place([[0,1,2,3,4], [2,3,4,5,6], [4,3,4,3,6,7], [0,2,1,2,1,4,3,3,5]], inf)), \attack, Pclump(Pkey(\n), Pwhite(0.0005, 0.001)), \sustain, Pfunc{ |e| e.octave ...
-
... signals. It's quite dramatic how the partials reinforce each other in the right places, and cancel in the right places, and always add up. BTW this example has a lot of UserView tricks. Note, for example, that to do the animation, I had ...