July 23, 2012
I’m using a Mega partly for the extra memory. I was inspired by Jeff Atwood’s ‘Markov Chains and You‘ to try to build a 4-dimensional markov chain and quickly filled up the 2kb of memory on a standard arduino. It’s also handy for Midi, because the Mega has several serial outputs – you can use one for debugging and one to drive the midi output.
Here’s a recording of the first code – Random_Player_1 (here’s the code in github). It’s just random notes picked from scales, with a rhythm based on probablities, but I quite like how it sounds.
Next up: really get the markov chain system working, add some chords, work more on the rhythms.
I’m trying to read Iannis Xenakis’ Formalized Music, which seems to be the mothership for algorithmic music generation, but it’s rather hard work…
© 2017 Music Thing Modular | Theme by Eleven Themes