-
simple timeline for scheduling start and stop of patterns at specific beats (and an experimental extension with absolute time scheduling) // // Did you ever wonder how to easily schedule starting/stopping patterns at specific times // ...
-
A quick and dirty recursive approach to finding valid solutions for a set of constraints by backtracking. The constraints are: Given a set of phrases (defined as Pbinds), randomly string them together so that the total duration is one "b ...
-
A basic implementation of pong. ( var paddlePositions = [0.5,0.5]; // Paddle position from 0 (left) to 1 (right) var paddleWidths = [100, 100]; var paddleSpeed = 0.005; var paddleMaxSpeed = 0.02; var paddleMovements = [0,0]; var frict ...
-
this generate very diverse compositions, tweaking is easy and change a lot the sounds generated, adding better synthdef can improve further the sound. A lot to explore here ( SynthDef(\blo, { arg out=0, amp=0.1, gate=1, pan=0, freq=200; ...
-
2 button rows to play up to 16 inharmonic partials of a given fundamental frequency. Horizontal Sliders control ADSR envelope, Global Volume, and Fundamental Frequency. All partials have equal amplitude. // ********************************* ...
-
... OnAndShiftOff.enDebug("sl "++i); //freqsSig.enDebug("freq "++i); //freq changed set new freq to synth freqs.collect{ |fs| q.setFreq.(i,fs) } //.enDebug("freq "++i) .enOut; //pad on -> synth start ({ |fs, sources, pl ...
-
Also an homage to: http://sccode.org/1-5bp but using l-systems to drive Pbindefs instead of Panolas. This is slightly easier to modify other factors (env, for instance) and specify freq instead of notes. /* // poetasters succulent 1 axiom ...
-
... r(freq: modfreq, mul: freqdev); carrier = LFTri.ar(freq: freq + modulator); //changed to LFTri env = Env.asr( attackTime: att, sustainLevel: amp, releaseTime: rel ).kr(doneAction: 2, gate: gate); carrier = Pan2.ar(in: carri ...
-
See https://sccode.org/1-5fa . Hue slider now updated when changing saturation. Strange bug causing the sliders colors to vary when window is resized, please comment if you figure out how to fix it... ( var win = Window( "Color Picker", ...
-
This minimal music generator uses a Lindenmayer system to generate composition instructions. Interpreting those same instructions twice with some randomness yields a kind of 2-voiced minimal music.This code depends on the Panola quark and t ...