Musical Random Walks Over Weighted Graphs

tl;dr: In this post, I illustrate a simple technique in Perl 5 to perform random walks over (node-edge) graphs, adding the named, “semantic” vertices to a MIDI score. The image on the left is not generated by the random-walk program, but is just a related illustration. :-) OK – on with the code! First, there […]

Growing Melodies

Ever since I heard about evolutionary programming, I’ve wanted to try it with music.  On a recent weekend, I finally did just that! Some generated melodies are lovely in spurts but betray their purposlessness.  …Some just sound like Metroid on drugs. The code is here: Update with less dependencies:

All Possible Fretboard Positions

tl;dr: The fretting shell program on github. For a while now, I have been burning with a desire to see (and practice) every playable guitar fingering position, in a mathematical (not musical chord based) order, for any arrangement of fingers.

Musical Deltahedra

One day I became curious about musical triads (three note chords) as geometric triangles. I speculated about the actual sizes of the sides, given the intervals between the notes at the corners. Then, in no time, I was off day-dreaming about wobbling, vibrating triangles and string theory…