LOVE Music Box
L is for the way you look at me.
O is for the only one I see.
V is very, very extraordinary.
E is even more than anyone that you adore can.
In Nat King Cole’s classic L-O-V-E the two sung verses are separated by an instrumental verse with a trumpet solo. I thought it would be fun to build a music box where each letter’s section could be swapped between the vocal and instrumental renditions.
My idea was to make letter-shaped blocks which could be placed on a base with a play button and speaker. If a slot is filled then that letter is sung, and if it’s empty then the trumpet plays.
I attempted this a few years ago, but was stopped by the difficulty of splitting the audio apart. I couldn’t figure out how to get the divisions exactly right and worried that someone would notice. I let the perfect be the enemy of the good done. But recently (and in large part thanks to watching makers Laura Kampf and Felix Schelhasse) I’ve begun to embrace the acceptance of imperfection. I decided to be brave and give it another try.
I’d been wanting to make a gift for my wonderful wife, and this project felt like a great fit. We met and bonded over a love of music, and she’s a big fan of any song with a brass section. However, knowing that it’s for her adds some pressure. She deserves something gorgeous, which means I’ll need to step up the quality of my materials and approach. Plastic parts aren’t going to cut it; the base will be a hardwood box and the letters should stand beautiful on their own.
I went to Crosscut Hardwoods and asked for some guidance, and they kindly helped me find this nice piece of Walnut. This board would become the box, but I wanted the blocks to be thicker so I grabbed a chunk of oak from the off-cuts bin.
I searched through the fonts in Fusion 360 until I found something good and blocky.
I wanted the letters to only key into their matching slot, and also stand easily when not in the box, so I modeled letter-shaped bases for them.
I cut the blocks out with a jigsaw and did my best to sand the inside edges smooth. Then I borrowed a friend’s Shaper Origin CNC router to cut out the bases.
To make things feel a little magical, I wanted the detection mechanism to be invisible. Before gluing the blocks to their bases I embedded a magnet in each one, and I placed a Hall Effect sensor in the box under each slot. Those sensors detect the presence of a magnet, and the sensitivity was just right that they wouldn’t trigger unless the blocks were fully seated.
To make the box, I roughly followed these plans I found on Family Handyman. It was simple enough, and I loved being able to wrap the grain all the way around the outside.
For the electronics, I needed a music player which could read the state of the four Hall Effect sensors and play an amplified audio track when the button was pressed. I’ve had a Sparkfun MP3 player shield in my drawer for ages, and realized it was now or never. I’d have loved to use the Adafruit audio FX board, but it can’t handle the input combinations I needed. I had this old mono amp I must have picked up from a garage sale, but unfortunately the grounding schemes do not seem compatible between the MP3 player and the amp. I’m sure there’s some circuitry I could add to interface them, but instead I just grabbed a new amp from Sparkfun. The speaker was another part dug out from the scrap drawer. On the rear side is a DC barrel jack for power and a potentiometer for volume control. The speaker was held in place inside with a wooden bracket.
The slots were also cut out with the Shaper Origin, and at the last minute I decided the play button should be heart shaped. To finish the wood I sanded everything fine, wiped it with a damp cloth, then rubbed it with danish oil.
Next came the dreaded task of chopping up the audio.
I imported the song into the free, open-source audio editing program Audacity and plugged in a tempo number I found online to give some helpful snap points. I zoomed in on the start of each letter’s section and added a split where I saw the beginning of a spike in the waveform. Once I had each letter, I created multiple tracks to test and fine-tune the start and end times until all the transitions were seamless. The bass guitar ended up being the key to getting things to match, as it was thankfully steady throughout the entire song.
Due to the limitations of the MP3 player shield, my best option for the software was to create an individual MP3 file for each of the 16 possible combinations. I simply converted the presence or absence of each letter into a 1 or 0, then converted that to a track name (for example, if only O and V are placed then it finds track “0110.mp3”). As a treat, when all letters are placed the entire song plays all the way through.
Shockingly I was able to keep this project a surprise and it made a lovely Christmas gift. My wife was initially confused about being gifted a pretty wooden rectangle, but after I explained the concept she was quite touched.