![]() I program in Python, so I settled on Mido for the MIDI library, because it has the functionality I needed. Unfortunately, the music box's cardstock is too thick to fit through my printer, so I decided to print the music on paper, attach it to the card, use the paper to guide my card punches, then remove the paper from the card. It would allow me to quickly change the notes and hear immediate feedback by playing the MIDI through a synthesizer before I print it. So it would have to be a vector-based image.Īnd how would I program the notes into it? Given that some notes may have to be altered to create a new arrangement for a piece, what's the best way to edit them and quickly hear the changes? MIDI seems an obvious choice. I'd also want it to be accurate-with sharp lines. So, software that would automatically transpose a song into the best key would be great too. Of course, the great thing about music is that it can be transposed into any key. What did I want this software to do? The music box can't play every note-it plays only the notes in a certain key. I started thinking about the requirements for what would become Punchbox, a simple-to-use music box card creator. ![]() Instead of having to measure all this stuff and having those crazy, crazy moments when I punch the wrong place and the entire song is ruined, what if I could make things a little less risky? What if could I pull in a good old computation device to help things along a little? What if my little computation device could draw all the dots I needed to punch on the card? My requirements I know, I know, good things come to those who wait, but if I can wait a little less, what's the harm, right? However, I was not sure of my ability to punch blindly-and I am also at heart a little impatient. The card sheets are printed with a grid system so you can measure the time domain and know what note you are selecting. The music box came with several card sheets around 70cm (27in) long. You punch out music notes on a card and crank it through the music box to play a tune. More recently, my wonderful wife gave me a beautiful, programmable music box for my birthday. ![]() I've worked on a few personal projects related to music, from making music with network traffic to an auto-accompaniment system for electronic drums. I love it when the opportunity to combine music and coding comes together.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |