Inspiration
Learning to play the piano is a rewarding but often challenging process that requires time, dedication, and access to quality instruction. However, not everyone has access to a piano or a music tutor. We wanted to create an accessible, interactive, and fun way to learn piano from anywhere, using just a webcam and cutting-edge AI. Pianowise harnesses generative AI, computer vision, and real-time feedback to enhance learning, empower creativity, and make music education more inclusive and personalized.
What it does
Pianowise transforms any desk or flat surface into a virtual piano! With AI and computer vision at its core, it provides a multi-dimensional learning experience:
- AI tutor: Get real-time feedback on your playing, including tips on rhythm, hand positioning, and note accuracy. The AI tutor enhances the learning process by guiding users to improve their performance in an intuitive, engaging way.
- Sheet music generator: Pianowise doesn’t just analyze your playing—it generates randomized sheet music, empowering users to practice with unique AI-generated materials.
- Audio feedback: Using Soundfont, Pianowise provides dynamic, real-time audio feedback, so users can hear the notes as they play. This turns any surface into an interactive, sound-enabled learning space.
By combining computer vision and generative AI, Pianowise reimagines how people can learn piano, making it more engaging, accessible, and inclusive.
How we built it
- Frontend: Next.js, React, and Tailwind
- Sheet music rendering: VexFlow
- Audio: Soundfont
- Hand tracking: TensorFlow’s hand pose detection
- AI feedback and generative models:
- Google Gemini 2.0 Flash provides real-time feedback to guide users on technique and accuracy.
- Cohere’s Command A generates brand new sheet music.
- Google Gemini 2.0 Flash provides real-time feedback to guide users on technique and accuracy.
- AI development tools: We also used AI-powered dev tools like Cursor and Claude to streamline debugging, accelerate coding, and brainstorm features.
Challenges we ran into
- Hand tracking precision: Ensuring the hand tracking was accurate and responsive was critical, especially for detecting subtle finger movements in varying environments.
- Sheet music generation: Generating coherent, readable sheet music involved prompt-tuning and balancing accuracy with creativity.
Accomplishments that we're proud of
- AI-powered personalization: We’re proud of how Pianowise personalizes learning by offering real-time feedback.
- Accessibility and inclusivity: By turning any flat surface into a virtual piano and providing personalized guidance, we’ve lowered barriers to entry and made learning more accessible.
What we learned
- Generative AI in music and education: We explored how AI models like Google Gemini and Cohere Command A can transform music learning by providing personalized feedback and generating sheet music.
- AI for accessibility: By leveraging computer vision and AI feedback, we made strides in improving the accessibility of piano learning.
- Frontend and real-time optimization: We gained hands-on experience in building scalable, real-time interactive interfaces with Next.js, React, and TensorFlow.
- AI-assisted development: We learned how AI dev tools like Cursor and Claude can speed up the development process by helping with debugging, brainstorming, and improving efficiency.
What’s next for Pianowise
We’re excited to continue improving Pianowise with the following goals:
- Enhanced AI feedback: Refining the AI tutor to offer more nuanced, context-specific guidance on finger placement, posture, and technique.
- Expanding instrument options: Adding more virtual instruments, like guitar and violin, to broaden the learning possibilities. There’s even the possibility of implementing virtual instruments that aren’t possible as physical instruments.
- Mobile and wearable support: Developing a mobile-friendly version of Pianowise and exploring wearable-based tracking to enhance accessibility.
- Multiplayer mode: Enabling users to play duets and collaborate virtually.
- AI-enhanced practice tools: Creating dynamic practice exercises that adapt in real-time based on user progress.
Pianowise is just the beginning of our mission to use AI to make music education more personalized, inclusive, and innovative. We’re excited to keep building on this foundation and exploring new ways to empower learning and creativity with AI!
Built With
- cohere
- gemini
- nextjs
- react
- tailwind
- typescript
Log in or sign up for Devpost to join the conversation.