BlankFrame

FretGPS

A positioning system for your fretboard. You play, and your phone shows which string and fret every note came from, how far you bent it, and which strings you muted, as a live animated fret map.

Idea stagePhase 0 measuredOpen source
Concept art for the String-ID smart pickup: a black clip with six piezo sensors sitting on an acoustic guitar bridge, a system diagram from six piezos through a preamp and ADC to an ESP32, a per-channel analog schematic, the companion app mockup, a six-step build roadmap and a prototype cost table.
Concept art for the String-ID clip. It gets a few details wrong (disc size, preamp, ADC, the app's fret); the corrections are below.

Audio knows the pitch, not the place

On a guitar the same E4 can be played in five spots: e 0, B 5, G 9, D 14, A 19. Every tuner, tab app and learning app has to guess which one you used.

FretGPS measures the place. A removable clip at the bridge holds one sensor per string, so the string is measured instead of guessed. The pitch on that channel gives the fret, and the pitch curve gives the bend.

 t = 12.48 s       0   1   2   3   4   5   6   7
 1  e   ‖───┼───┼───┼───┼───┼───┼───┼───
 2  B   ‖───┼───┼───┼───┼───┼───┼───┼───
 3  G   ‖───┼───┼───┼───┼───┼─●─┼───┼───    C4, bending +100¢ → C♯4
 4  D   ‖───┼───┼───┼───┼───┼───┼───┼───
 5  A   ✕                                    muted
 6  E   ✕                                    muted

Every sensing source, phone or hardware, emits the same note event, so the app doesn't care where it came from:

{"t": 12.48, "dur": 0.31, "string": 3, "fret": 5, "note": "C4", "hz": 261.6, "bend_cents": 100}

Can a phone skip the hardware?

Phase 0 tested whether a plain recording of the guitar can produce the fret map. The prototype, fretmap.py, was scored against GuitarSet: 360 real acoustic-guitar recordings with the true string and fret of every note.

82%

Notes found

Single notes, note F1 with Basic Pitch. 71% for chord notes. A simulated cheap phone costs only 3.6 points.

43%

Right string, audio alone

On lead lines, even with perfect pitches, using a least-hand-movement rule. A tuner app's "lowest fret" gets 31%.

79–89%

With a position hint

One "I'm around fret N" per take gives 79%; a rolling hint, like a camera would see, gives 89%. Ideal hints, so upper bounds.

SignalFrom a phone recording alone
Which notes, single lines✅ Mostly: 82% F1
Which notes, chords⚠️ Partly: 71% F1
Which string and fret❌ A guess: 43% on solos · ⚠️ 79–89% with a hand-position hint
Bend amount in cents✅ Straight from the pitch curve
Which strings are muted❌ Audio only shows that a note stopped
Three fret-map timelines of the same 12-second GuitarSet solo. Top: the ground truth. Middle: fretmap.py from the mic alone puts 10 of 30 notes on the right string. Bottom: the same audio with the hint 'around fret 6' puts 23 of 30 on the right string.
One GuitarSet solo. Mic alone: 10 of 30 notes on the right string, the shape right and the place wrong. Add "around fret 6": 23 of 30.

Verdict: a phone gets you the notes and the bends, but only guesses the string. The string guess is mostly a "where is the hand" problem, which gives three tiers worth building in this order:

1 · Phone only

Free. Notes, bends, replay. The app's first data source.

2 · Phone + position hint

Tap the neck, let the camera watch your hand, or add a few-dollar distance sensor on the headstock. Tested next.

3 · The String-ID clip

Muting, exactly which strings rang, and a ≥ 95% string ID. The premium tier.

Full write-up, recording protocol and sources: phone-audio-experiment.md.

The String-ID clip

Six piezo sensors, one per string, feed a buffer and band-pass filter, a multichannel audio ADC and an ESP32-S3 that tracks pitch per string and streams note events to the app over BLE.

No modification

Clips onto the bridge. No drilling or glue, and it moves between guitars.

String before pitch

Each channel tracks one string, so a chord becomes six easy monophonic problems instead of one hard polyphonic one.

Muting becomes visible

A muted string's channel goes quiet, something no phone-only method can report.

String-ID smart pickup poster: the clip on a guitar bridge, the signal chain from six piezo sensors to a preamp, ADC, ESP32 and app, the hardware features, the app experience, a build roadmap, success metrics and a cost estimate under $50.
The concept poster. Treat its numbers as the starting point, not the spec.
What the concept art gets wrong. Six 20–27 mm discs don't fit in the ~55 mm across the strings at the bridge. A TL072 isn't rated for 3.3 V, and 40–60 dB of gain would likely clip a piezo. An 80 Hz high-pass cuts the low E (82.4 Hz); use ~60 Hz. The ADS1115 is far too slow for audio. The app mock's "196.0 Hz, fret 3" on the G string is the open string. The real build is an MCP6004-class rail-to-rail op-amp, audio ADCs, an ESP32-S3, and a budget of ~$60–100, not "< $50". Details in PLAN.md §6.

Roadmap

Every phase ends with a measurement, not a demo.

PhaseWhatExit criterionStatus
0Phone only: audio → notes → string and fret guessNote F1 ≥ 80% on single-note lines from your own phone✅ Prototype + GuitarSet measurement · ⏭ own recordings
0bReal position hints: your "around N", phone camera, headstock distance sensorRight string ≥ 85% on your riffs⬜ Next
1One piezo on the benchClean pitch on all six open strings and the 12th fret⬜
2Two-channel crosstalk go/no-go≥ 12 dB separation between adjacent strings at the attack⬜
3Six-channel clip + ESP32-S3 + BLE event stream≥ 95% string + fret · ≤ 50 ms pluck to screen · moves between guitars in < 10 s⬜
4App: live fret map, bend meter, mute markers, replay, tab exportThe replay matches what you played in a real practice session⬜ Can start now on phone-audio events

Parked until Phase 3 passes: the capacitive fretboard overlay, teacher dashboard, AI coach, analytics and cloud. "GPS" is a metaphor; there is no GPS module.

Would you use it? Three taps.

Before we build any hardware, we want to know who wants this. No name and no email. Just three answers.

Do you want an app that shows the string and fret of every note you play?
Which would you use?
Are you a learner or a teacher?

This form isn't collecting answers yet.

Try the phone-only prototype

Python 3.11 and ffmpeg. Record a riff on your phone and get ASCII tab or JSON note events.

git clone https://github.com/the-abraar/FretGPS && cd FretGPS/experiments/phone-audio
python3.11 -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt          # also needs ffmpeg (brew install ffmpeg)
python test_fretmap.py                    # self-check on a synthesized riff
python fretmap.py ~/Downloads/riff.m4a    # any phone recording → ASCII tab
python fretmap.py ~/Downloads/riff.m4a --around 7   # tell it roughly where your hand is
python fretmap.py ~/Downloads/riff.m4a --json