I always loved piano as a kid, but for life circumstances I could never study it. Ended studying guitar instead. Here’s a little code in Supercollider, exploring piano improvisation and “gestural” phrasing.
~mOut = MIDIOut.new(3);
//Set the scale to be Cmajor
//Define pattern proxies which will be modified by the task t below
I’ve used a PatternProxy for the various notes degrees, velocity and duration, so to be able to modify it on the fly via the Task t, which controls the improvised part.
I came later to realize that it would be probably better to use Pfindur, instead that a Pseq to release the phrasing… I’ll try that soon. 😉
The MIDI has been routed to Ableton Live, and what you can hear in the following is its standard piano instrument.
For something amazing about coding, piano and improvisation check Andrew Sorensen work with Impromptu. Superb.