The Continuing Adventures of Amelia Mouse
Shows, upgrades, and travel.
by Ramon Yvarra
There’s nothing like the success of a project to get you more excited to show it around, and continue adding to it. Starting with my previous article. Thanks to some reposts on Medium and on blogs such as ‘Hack a Day’ (Making a Player Piano Talk MIDI) my original article gained about 25,000 views, within days. I was contacted by several excited individuals about the project and even managed to inspire some of them to continue their own piano conversion projects. It was clear that Amelia was a hit with music lovers and tinkerers the world over. It was because of that excitement that I decided to continue to make Amelia a piece I could configure and add to other events. The 2014 performance at FIGMENT was just the beginning of Amelia’s shows and since then there’ve been many improvements.
The Fallen Cosmos — 1/2015
On the heels of FIGMENT, near the end of January Amelia appeared again, this time at a show in San Francisco called ‘The Fallen Cosmos’, which was an interactive art experience where an old warehouse on San Francisco’s PIER 70 was split into three distinct areas to represent the triptych painting called ‘The Garden of Earthly Delights’ by Hieronymus Bosch.
Amelia performed in a corner on the ‘Earthly plane’, playing music composed by UNW♀MⒶN, and running visualizations I created that were appropriate for the show. The 15 minutes piece played variations of notes that were found on the butt of one of the characters in the hellscape panel of the painting.
For the 45 minutes of the show Amelia repeated this tune, snaring in people as they wandered between the amazing art, sculptures, performances, and experiences. It was a truly magical show.
Maker Faire San Mateo — 5/2015
I submitted Amelia to Maker Faire in San Mateo, and was extremely excited to be accepted. In May of 2015 Amelia delighted many passers by, children and adults alike. I was even interviewed by one of the editors.
The echoing sounds of a mad pianist banging out the theme to Harry Potter drew me to find the source. Hidden behind a…makezine.com
To make it easy to point people to my previous Medium article I printed out about 500 postcards with a URL and my info on it, along with some shots from the build. Each card had this small poem on it:
Amelia mouse lived in house, in a wall, on a farm, by a river.
Till one day, while she was away, a mysterious box was delivered.
On Amelia’s return the noises she heard were magical, wondrous and new.
It opened her mind, to tempo and rhyme, and changed her whole musical view.
She moved all her things, her cheeses and strings, and sang cheerful songs in soprano. For now she could play, every night, every day, in her home that was called a piano.
I learned a lot about people during that show, and realized that playing the keys and seeing the visualization was such a natural expectation that when people played and didn’t see the change, they were momentarily disappointed. I vowed to finish my original work and make Amelia fully interactive before the next show. I also learned that without a more robust wheel system I wasn’t able to move Amelia around very easily. The dollys that I’d created were suitable for staying on the ground, but moving it on and off of a trailer was a serious exercise and damaged the 90 year old case of the piano every time we lifted and banged it. Despite all the headaches of getting it there, at the end of the week I was awarded an Editor’s Choice ribbon by one of the editors of Make Magazine.
The Next Phase — Key Scanning
Maker Faire was great, but it was clear that changes needed to be made to make Amelia even better, so I got to work designing the next set of circuits for her. Since key sensing was a part of my original plan, I’d already done some research into how it could be done. The most commonly used system for key sensing is optical, using a phototransistor, which can return a voltage based on the distance of a reflective source.
Photodiodes are similar to regular semiconductor diodes except that they may be either exposed (to detect vacuum UV or…en.wikipedia.org
I cobbled together a quick test circuit, and wrote some code to detect the speed of the keypresses and translate that to a velocity number for the MIDI note. Following the success of the solenoid tests I knew that if I could get this working once, I could replicate it across all 88 keys.
Now that I had a good test going, I needed to secure a lot more phototransistors that were going to be easy to mount inside the piano. Because the key widths varied I didn’t want to try designing a PCB and have them not line up, so instead I was able to find a great deal on these line sensing robot boards at Pololu, which did the trick perfectly. They even came with right angle headers that would make cabling easy.
The QTR-1A reflectance sensor carries a single infrared LED and phototransistor pair in an inexpensive, tiny 0.5" x 0.3…www.pololu.com
The scanner boards I designed use two 16-bit multiplexers to handle 16 sensors at a time.
Description Features Parametrics Diagrams Related end equipment Companion products The CD74HC4067 and CD74HCT4067…www.ti.com
The reason for the dual multiplexers is that I’m using one to handle supplying power to the IR LED, and the other to handle switching which light sensor to pass to the Arduino. This way I could have 6 boards, each sensing 16 keys at a speed that was fast enough to sense all the keys with a fast enough attack rate. One could argue that a single Arduino Mega 2560 doesn’t have the speed to track keypresses on every key at a fast attack rate, but I haven’t been disappointed yet at its output.
After some testing and prototyping I designed and ordered new boards from OSH Park. The first version I designed used surface mount components, and I learned very quickly that I didn’t have the skills or tools necessary to successfully solder tiny ICs to a board without burning the heck out of them. :( So I had to redesign the boards for through-hole components and rebuild them.
Each sensor gets mounted under a key, and detects the distance from the key to the sensor. By measuring the amount of time it takes for the key to go down, I can determine key velocity, for when the piano is part of a recording session, or to vary the visualization.
I was running up against a deadline to get this hardware installed for the next event, which resulted in me trying to install it on-site, outdoors…that is until it started raining and I had to move everything back inside. Something that I learned the hard way, was that crimping connectors can be a tricky endeavor.
Description: These 2x3 crimp connectors can be snapped onto 6-wire ribbon cable to make your own cable assemblies and…www.sparkfun.com
I was using these crimp connectors from SparkFun and had to uncrimp and re-crimp several, as the pins inside can bend very easily and thus not pierce the wiring. I wasted a lot of time on software before I broke out the multimeter and tested the cables themselves. Because of this and several other setbacks I had to revert back to standard playing. But thankfully that still worked despite the spot of rain.
Priceless — 7/2015
Priceless is an art and music festival held in the wooded mountain town of Belden, CA. Amelia was accepted as an art installation, and so with some new dollys and an untested key scanner (which ended up failing as mentioned above) she was on her way to her first music festival.
Bootleg German Bowie CD... $28.81 Signed Prince LP...$632.42 Mourning the greats by dancing your life away on the beach…priceless.false-profit.com
Despite the mishaps with the key scanning Amelia still thrilled many during the event, performing in the historic Belden Lodge.
Something I learned from that performance is that without constant supervision Amelia isn’t much to see. I committed to play an hour set, and then take a two hour break. But this meant that while I was away Amelia was just a normal piano. Not much to see. So I was doubly committed to getting the key scanning components working when I got home, and within a couple months of tinkering and fiddling I finally tracked down all the lingering hardware and software issues to make it work perfectly.
Maker Faire San Diego — 10/2015
At the earlier San Mateo Maker Faire I was approached by the art curator for the San Diego Maker Faire, and asked to bring Amelia to their first ever large scale event. It was looking to be a breakout year for Amelia, so I was really excited to bring her to other fairs. There was even an interview and article written up about me and the whole process. Here’s an excerpt:
Do you have any advice for burgeoning makers?
Don’t be afraid of failure. Every great inventor and creator failed a hundred times before they succeeded. The person that created that amazing thing was probably banging their head against the wall until they got it to work.
"... Every great inventor and creator failed a hundred times before they succeeded. The person that created that…sandiego.makerfaire.com
I’d had my travel plans all worked out, but unfortunately a series of events forced me to cancel my appearance on the day I was set to travel down to San Diego. While disappointed, this was an important lesson for me to start figuring out how to more reliably manage the logistics of moving my art.
FIGMENT — 10/2015
It made sense that I would return to FIGMENT to showcase all the work I’d done in the year, but there were a few problems. After all the trouble I’d had with the dollys, I’d had minor changes done before Priceless, and had holes drilled into them so I could bolt them to the bottom of the piano. Thus making it easier to load in and out of a truck without the dollys moving out from under the piano when lifted. While I had planned to go to Maker Faire just weeks earlier, I never actually loaded Amelia into the trailer, which was probably all for the best as when I began to load her into the trailer on the day of FIGMENT I started to hear cracking and splitting. The new dollys, which had worked famously for being loaded by lift gate, were too heavy when being loaded into a trailer. When we lifted Amelia the dollys were so heavy that they pulled the base board away from the bottom of the piano. The ancient screws and the wood were just not ready for those stresses, and it ended up being a horrible failure, forcing me to cancel my appearance at FIGMENT as well. 😓
At this point I was feeling incredibly down. I had to cancel two appearances within a few weeks of each other, and I was just uncertain of how to address the problem of repairing / replacing the base of a 90+ year old piano that weighed roughly 700 pounds.
Before I could replace the cracked base board I first needed to figure out how to tip over all 700 pounds without further damaging it, or myself in process. After exploring the idea of using a warehouse crane I finally discovered that professional repair shops use collapsible tilters that slide behind and under a piano, letting it easily be worked on.
Upright Piano tilted - one person can easily lay the piano on its back for repairs. Worldwide shipping.www.vandaking.com
But I didn’t feel like spending $600 for something I might only use once, and it’s not something a piano repair place would rent out. So I had to find another solution. Based on some video I found, it looked like a wooden alternative would be sufficient.
I just had to find or design the plans for such a thing. A little more digging turned up an online distributor that sold an eBook with plans for a wooden tilter. Getting this eBook seemed incredibly complicated, as it could only be read through a proprietary PC program. Parallels to the rescue.
The plans inside were very basic, but using them I was able to put together a CAD model of the tilter, and build it with wood I mostly had on hand.
With a couple ratchet straps and extra hands we were able to tilt Amelia with relative ease, and the tilter never once felt unstable. An inspection of the underside confirmed that the base board had cracked nearly in half, and the 90 year old screws meant to hold it together were practically falling out.
A Sturdier Base
The purpose for the original dollys was to provide a robust rolling mechanism for Figment, a place with black top paths, concrete surfaces, and possible grass. So the casters I bought were large and robust, but what I learned quickly was that lifting the piano lifted it from the dolly, making loading it onto a lift gate or a ramped trailer a grueling task. As mentioned earlier this culminated into catastrophe. So the next version was built to be more practical for travel. U-Haul rents a small motorcycle trailer that I’d used a couple times in the past. It’s low to the ground and has convenient mount points, so I designed a new base to easily work with this trailer.
U-Haul motorcycle trailers are available to rent online. The motorcycle trailer rental is equipped with an easy-access…www.uhaul.com
I wanted to make sure the base would clear the trailer hinge point, while still keeping the height of the piano as low as possible.
The large 12" diameter tires gave me a good clearance, and smooth movement over most surfaces. I also discovered that by using an “axle stub” I could mount the wheels with a simple cotter pin. Between the stubs, the wheels, and mounting using an almost excessive amount of bolts, I designed a base that would stand up to future traveling, but because of time constraints I had to make the wheels fixed. This meant any turned had to be done by lifting one side and shifting it.
My design called for drilling deep holes into the thickest places in the wood of the piano, to make it as sturdy as possible. This required long bore drill bits, almost a foot long, and while drilling the rear center hole the bit jammed into it, unable to drill deeper or reverse out. This “bit of shame” remains lodge there to this day, a constant reminder to drill slow and cautiously in the future. 😩 Luckily it is completely hidden when the piano is upright.
Maker Faire San Mateo — 5/2016
About a month before Maker Faire, while curled up in bed with my girlfriend, watching old episodes of ‘Ru Paul’s Drag Race’ I was inspired to design a garment. I had the idea to build a reactive LED garment that would work in concert with Amelia. I emailed my friend UNW♀MⒶN again and she was instantly on board to collaborate on a new performance. With limited time and funds, I started researching garment design and the necessary wireless tech to create a garment that would react in real time when Amelia received or transmitted notes. I had more grandiose plans than what I eventually created, but it started with this inspiration board.
At first I wanted to run vertical strips of WS2812B LEDs up and down the dress, and have each strip respondent to a different note on the diatonic scale, which meant 7 strips. Finding power specs was difficult, and to be honest my familiarity with power math isn’t great, but from what I could find online I put together this spreadsheet to play with the values until I figured out how many LEDs I could reasonably power for an hour’s performance.
Each LED’s power draw changes depending on its brightness and color. So figuring the battery requirements was mostly an “educated” guess. I landed on this one:
High Quality Internal Li-Polymer Battery Light with Long Life. # Made from Polymer Li-Ion Cell: 3.7V 10000 mAh (9059156)…www.batteryspace.com
Eventually after some collaboration (and some honesty with the time constraints) I parred the design to be a single strip, wrapped around the wearer. Now that I had power worked out I could focus on code. Since Amelia’s code was built on the Arduino AppleMidi framework it made sense to use an Arduino compatible board as a controller for the garment to share a codebase, so I started with an ESP8266 board.
WRL-13231: The SparkFun ESP8266 Thing is a breakout and development board for the ESP8266 WiFi SoC - a leading platform…www.sparkfun.com
After some minor bug fixes to my code to make it compatible with the ESP, I added FastLED to the project so I could easily work up several lighting profiles.
The main FastLED library (successor to FastSPI_LED). Please direct questions/requests for advice to the g+ community -…github.com
Because MIDI has multiple non-instrument channels, and that information could be encoded by UNW♀MⒶN in her composition software, I was able to code the controller to change the lighting routine at different points in the song, as well as the colors themselves.
UNW♀MⒶN performed several sets during the event, and all the pieces worked together wonderfully.
Between the performances, the new base, garment, and the key scanner I was really happy with how Amelia worked out, and by complete surprise I was awarded another ‘Editor’s Choice’ ribbon.
Priceless — 7/2016
Amelia was invited back to Priceless, and since the key scanner was in full swing I was able to leave Amelia for hours at a time, and only did a few sets during the event. While I personally didn’t get any photos of Amelia at the event. I did take a plunge in a swimming pool full of balls.
It was extremely rewarding to pass Amelia throughout the event and to see one or more people just enjoying playing and the experience.
Northern Nights — 7/2016
Within a week of returning from Priceless I was approached by an art curator for the Northern Nights festival who’d seen Amelia at Priceless.
I was still pretty burned out from Priceless, but after a little convincing I agreed to bring Amelia to their weekend long event in Piercy California, just one week away. Having never been to Northern Nights I had no idea what to expect, and while my days were mostly filled with building more visualizations for Amelia, the nights were filled with some of the most joyous attendees. Everyone who approached Amelia became instantly enamored and watched eagerly as each new visualization cycled.
The End of Phase 2
In my first post I detailed out all the original features I’d intended for Amelia, and by now they work pretty reliably. But I’m always looking for new ways to integrate features into her. My next round of upgrades will involve some more LEDs, a refinishing of the wood, and a re-stringing. I was even approached by the curator of another festival to build a replica of Amelia with even more interactive features. So who knows what’ll come next on the horizon.
Thanks to everyone whose supported me in the last few years on this project, and for all the artists and curators who’ve invited me in to your events. I look forward to many more.
For all the updates on Amelia be sure to follow @mousepiano on Twitter.
The latest Tweets from Amelia Mouse (@mousepiano). Just a music loving mouse who lives in a piano. Send me a request…twitter.com