Every note on the neck,
lit up and playable.

Pick a chord or a scale and watch it appear on the fretboard β€” then tap any note to hear it. When you're ready, switch to Ear Training and start learning to hear what you play. No downloads, no audio files. Every sound is made live in your browser.

Chord or scale

C Major

Root note Other notes in the chord / scale Tap any lit note to hear it. Open strings are on the left of the nut.

Standard tuning, low to high: E A D G B e. The board runs from the open strings to the 15th fret. If you're working on a shape, try this: pick the chord, hit Strum, then tap the notes one string at a time from low to high and say the note names out loud. Boring, works every time.

0Score
0Streak πŸ”₯
0Best streak
β€”Accuracy
Training mode

You'll hear one note. Tap where that note lives on the fretboard below β€” any position with the right note name counts.

Round 1 β€” what note is that?

Hit play, listen hard, then tap your answer on the fretboard. You can replay as many times as you need β€” no penalty.

Tap a note on the board to answer. Every position is playable, lit or not.

How to actually get better at this

Five minutes a day beats an hour once a week. Start with Guess the Note until you're hitting 7 or 8 out of 10, then mix in chords. The trick that helped me: before you tap, sing the note back and try to picture where your fingers already know it from a song you play. Your ear usually knows more than you think β€” it's the connecting it to the fretboard that's the work.

Fretboard Explorer β€” how I built this (with a lot of help from AI)

Hi, I'm Rick. I play guitar β€” American Strat, mostly classic rock and metal, Frusciante is my guy β€” and I've been meaning to get serious about two things for a while: actually knowing the fretboard instead of just knowing shapes, and training my ear. I also wanted something public I could point people to that shows how I work with AI to build software. Not a tutorial I copied. A real thing I wanted, built by talking to an AI until it existed.

So this is that. One page, no sign-up, no downloads. Pick a chord or a scale and it lights up on the fretboard and plays. Then there's an ear training game that plays you a note or a chord and makes you find it. This page is the live demo, and everything below is honestly how it got made.

How this started

I didn't start with a spec. I started with a question. I asked the AI to brainstorm with me:

Me, first message

"I want to have something public on my GitHub that shows I know how to use AI for coding, vibe coding, etc. β€” without exposing my other sites. What's a cool simple thing to make via vibe coding that's simple to understand? Anything with guitar, comics, video games… something you can spin up and showcase and then the person can click through?"

It came back with three ideas: a "what should I play tonight" game picker, a comic pull-list tracker for my Fantastic Four / Spider-Man / Wolverine runs, and this fretboard thing. The fretboard won because it was the only one I'd actually use every week. That's my first rule with this stuff now: build the thing you'll open again on Tuesday, not the thing that just demos well.

Scoping it down to a first version

My instinct is to ask for everything at once. I've learned that gets you a mess. So the next prompt was about cutting it down:

Me, scoping

"Okay, the fretboard explorer. For version one I just want: pick any chord or scale, see it light up on the fretboard, and hear each note. And an ear training mode β€” it plays a note or a chord, I tap my answer on the fretboard, and it keeps my score and streak. Two modes to start: guess the note and guess the chord. Keep it to one page."

The AI pushed back in a useful way here, which is something I look for now. It pointed out that "tap your answer on the fretboard" works great for a single note, but a chord has a root, a quality (major, minor, 7th…), and about five places to play it β€” so for chords it suggested tapping the answer as a choice between four chords, then lighting up the shape on the board so you still learn where it lives. I went with that. Good AI collaboration isn't the AI saying yes to everything. It's it catching the awkward bit before you've built it.

The audio problem (there wasn't one)

The thing I assumed would be the hard part was sound. I figured we'd need guitar samples, and then licensing, and file sizes, and loading spinners. I asked:

Me, assuming the worst

"For the sound, do I need to find guitar recordings somewhere? I don't want to deal with audio files if I can avoid it."

Turns out no. Browsers can make sound from nothing using something called the Web Audio API. Every note on this page is generated live with a bit of code β€” an oscillator for the pitch, a filter and a volume envelope shaped so it decays like a plucked string instead of beeping like a microwave. Is it my Strat through a good amp? No. Is it clearly a note, in tune, the instant you tap, with zero files to load? Yes. For ear training that's honestly the part that matters. This was the biggest lesson of the whole build: ask the "dumb" question early. The thing I thought would take a weekend took about twenty lines.

How the fretboard math works

This is the part I actually wanted to understand instead of just accepting, because if I couldn't explain it, it wasn't really my project. So I made the AI walk me through it, and it's simpler than it looks:

  • Every note has a number (musicians call it a MIDI number). The low E string played open is 40. Each fret up adds 1.
  • So any note on the guitar is just: open string number + fret. Third fret on the A string is 45 + 3 = 48, which is C.
  • Turn that number back into a note name by dividing by 12 and taking the remainder β€” there are only 12 note names, and they repeat every octave.
  • A chord is just a recipe measured from a root note. A major chord is root + 4 + 7. A minor chord is root + 3 + 7. Pick a root, run the recipe, and light up every spot on the board whose number matches.

That's the whole trick. Chords, scales, the quiz answers β€” all of it is that one idea with different recipes. Once I got that, I could start asking for changes in a smarter way ("add a sus4, it's root + 5 + 7") instead of just saying "make it better."

The back-and-forth, honestly

It was not one magic prompt. It never is. Roughly, the loop went like this:

  1. First draft: the AI built the board and the chord highlighting. It worked, but the board was backwards for how I read tab, and the "notes" sounded like a doorbell.
  2. My feedback: "Flip the board so the high E is on top like tab. And the sound needs to decay like a string, not cut off." Two specific complaints, two specific fixes. Vague feedback ("make it nicer") got me vague results every time I tried it.
  3. Ear training: I asked for score and streak because I know myself β€” if there's no streak, I won't come back tomorrow. We also argued (politely) about whether a right note in the wrong octave should count. I said yes for note-guessing: hearing the note name is the skill I'm training. Octaves can be level two. Later I added chord-type filters to Guess the Chord β€” I kept tripping on 7ths, so now I can turn them off for a while and bring them back when I'm ready.
  4. Looks: I told it this one needed its own identity β€” not the navy and teal from my business site, not the light clay and charcoal from my personal site. We landed on deep pine green and brass, like an old guitar amp in a practice room, with a slab-serif headline and warm paper behind everything. Nothing orange, ever β€” that rule carries everywhere. It followed the palette across the whole page, including the quiz feedback colors.
  5. Testing: I tapped through every chord at every root looking for wrong notes, because that's the one bug that would make the whole thing worthless. An E major with a wrong note in it teaches you the wrong thing. We checked the recipes against chord charts I trust.

What's under the hood

PieceWhat it is
The pageOne single HTML file. The layout, the styling, and all the logic live in it. No framework, no build step, nothing to install. I can open it, read it, and change it β€” that was deliberate, it's how I like to work.
The soundThe Web Audio API, built into every browser. Notes are synthesized live β€” no audio files anywhere in the project.
The music theoryAbout ten chord recipes and eight scale recipes, stored as lists of numbers (intervals from the root). Adding a new chord is adding one line.
HostingFree static hosting (GitHub Pages). Push the file, it's live. Public repo, so anyone can read the code and this README.
Score & streakSaved on this device, so your score and best streak are still there when you come back. No account, nothing leaves your browser.

What I'd do next

  • An octave-strict hard mode for Guess the Note.
  • Intervals mode β€” hear two notes, name the gap between them. That's the real ear training boss level.
  • Left-handed flip for the board. One toggle, and the math doesn't change at all, which still makes me happy.
  • CAGED shapes β€” highlight one position at a time instead of the whole neck, for actually learning movable shapes.

The honest takeaway

I didn't write most of the code in this project, and I'm not going to pretend I did β€” that would defeat the entire point of putting it on my GitHub. What I did was decide what to build, cut it down to something finishable, learn the one idea the whole thing runs on, give specific feedback when it wasn't right, and check the output like it mattered, because a teaching tool with wrong notes is worse than no tool.

That's what "vibe coding" actually looks like when it works, at least for me. The AI is fast at typing. I'm the one who has to know what good looks like. And now I have a fretboard in my pocket that I use to practice my ear, which was the point all along.

β€” Rick

Rick Aquilia

About the author

I'm Rick Aquilia, from Raleigh, NC. I work in customer success and technical services, and I build things like this for fun and to learn.

More of my work lives at rickaquilia.com.