hit (or strike) the right (or wrong) note: to say or do something in exactly the right (or wrong) way.
Always wanted to play the piano but never know what notes to hit? It's simple ๐
1. Use the 8 s to l keys on your keyboard โจ๏ธ to play the piano.
2. Hold the space bar ๐ to sustain the notes (It's your sustain pedal!)
3. Play any note, in any order, and enjoy the music ๐ถ
I've always wanted to play the piano (well), but never had the time or talent to do it ๐ At the same time, I wanted this project to also have a deeper meaning behind it, which I'll explain below.
Generates piano notes according to the keys the user presses.
This project is a remix of Piano Genie. The music generation is implemented using a pre-trained Magenta model that was trained on a set of ~1400 virtuosic performances from the International Piano-e-Competition.
Specifically, I worked on redesigning the colour scheme and adding my own (simplified) image of a 'piano':
- Colours: The colours chosen represent 8 of the colours of the new Pride Flag
- Symbol: The choice of symbol as the unicorn stems from unicorns being a symbol of LGBT culture.
- Learning / doing everything on my own as I wasn't able to find teammates who were able to commit to this project.
- Managing time constraints. Only started working on the project really late (around 10pm) due to other commitments.
- CSS! It was difficult trying to align the elements and getting the effect I really wanted, and had to come up with some workarounds at some points.
- Understanding code. As this project builds on a previous implementation, I had to read and understand what the previous author had written and remove any unnecessary or irrelevant parts to my project.
- Version control with Glitch. It was my first time developing in Glitch and I only realised later on that there was no branching feature like in Git. When things went wrong, this resulted in me 'rewinding' (i.e. resetting) my code a few times and having to redo some parts of the project.
- Completing some MVP despite the limited time and resources I had :)
- Getting some sleep..?
- CSS! Picked up a couple of cool CSS tricks along the way
- Developing in Glitch
- Some understanding on how Music Generation works
- Providing support for different instruments.
- Implementing Tone Transfer for output generated
- Providing UI support for more piano notes (Unicorns) so that users can see the notes rising even higher and even lower.