ROBO-BACH #01
By Nickmaynard on January 5, 2012 6:38 am
So, this is a little different than some of the other entries on this site since I didn't actually write or perform this piece of music. I've always been really fascinated by computer generated music and so I thought that I would attempt to create a device that can compose an entirely new piece of music every time you press a button. I've nicknamed the project "ROBO-BACH".
I thought it would be cool to use this site to share the songs it writes because as the year goes on, and I refine the program more and more, then you should start to see the songs get better and better.
Right now, I'm using an Arduino Uno board that is controlling a Yamaha Portasound PSS-480 via Midi. At the start of the program, the Arduino decides how long the song is going to be (randomly chosen between one measure and sixteen). Then it randomly picks a chord from a list of 5 chords in the key of C. It "strums" this chord for a measure before choosing the next chord. The melody is extremely basic right now. There's a 50/50 chance that a note will occur on a given 16th note. If a note occurs, it randomly picks what note it plays from a list of notes in the C major scale. It then sends all of this out through a midi jack and into the Yamaha.
It's extremely basic right now but things have been really busy this week too. So, I'm pretty happy with it for my first week's entry!
Audio works licensed by author under:
CC Attribution Noncommercial No Derivative Works (BY-NC-ND)