Skip to content

Riffs is a browser-based tool that turns your voice into guitar melodies. Hum a tune, and Riffs detects pitches, maps them to guitar fretboards, and visualizes them in a piano-roll editor for easy editing and sharing.

Notifications You must be signed in to change notification settings

SecretariatV/Riffs

Repository files navigation

🎸 Riffs — Hum. Play. Create.

🧠 Inspiration

Learning guitar can be overwhelming. Traditional tools rely on robotic MIDI sounds, hard-to-read tabs, or assume you’ve got a full studio setup. I wanted to build something simple and intuitive — where creativity starts with your voice.

Riffs was born from a single idea:

Hum a melody, and immediately turn it into something you can build on.

💡 What It Does

Riffs is a browser-based tool that lets users:

  • 🎤 Hum a melody into their microphone
  • 🎼 Detect and convert pitch into musical notes
  • 🎸 Map notes to guitar strings and frets
  • 🎹 Visualize them in a piano-roll-style editor
  • ✏️ Edit notes directly via click, drag, or delete

All of this happens in-browser — no plugins, no installations.

🛠️ How It’s Built

  • Next.js – Core web framework
  • TypeScript – Strong typing for safety and scalability
  • React – Interactive and modular frontend
  • TailwindCSS – Rapid, utility-first styling
  • pitchy – Real-time pitch detection
  • FL Studio – Source of authentic piano/guitar sample sounds

🚧 Challenges We Faced

  • Handling noisy environments for accurate pitch detection
  • Mapping pitch to realistic guitar fret/string combinations
  • Designing an intuitive piano-roll UI
  • Managing state cleanly across a backend-less architecture

🏆 Accomplishments

  • Built a fully custom, interactive visual note editor from scratch
  • Created a voice-to-note pipeline in under 36 hours
  • Delivered smooth UX using real guitar samples, not generic MIDI
  • Made a creative tool that feels responsive and musical

📚 What I Learned

  • Real-time audio processing is viable directly in the browser
  • Simplicity in UI is key for creative tools
  • Pitch-to-note conversion bridges the gap between idea and sound
  • Great UX can exist even without real-time audio playback

🚀 What’s Next

  • Add playback using real guitar/piano samples
  • Introduce tempo, measures, and rhythmic structure
  • Support multi-track editing and harmonies
  • Enable cloud saving and melody remixing
  • Export to formats like MIDI, tablature, or Guitar Pro
  • Integrate AI-based suggestions and harmony generation

🖼️ Screenshots

Piano Roll Editor

Voice Input and Pitch Detection

🌟 TL;DR

Riffs is a musical sandbox for guitarists and creators.


🛠️ Built With


📬 Contact

About

Riffs is a browser-based tool that turns your voice into guitar melodies. Hum a tune, and Riffs detects pitches, maps them to guitar fretboards, and visualizes them in a piano-roll editor for easy editing and sharing.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published