← Latest papers
⚡ electrical engineering

Fretiq: Browser-Native Electric Guitar String Classification via Engineered Spectral Features and Held-Out Free-Play Evaluation

This paper introduces Fretiq, a browser-native system that achieves 97.1% frame-level accuracy in classifying electric guitar strings by leveraging a 26-dimensional spectral feature set and a novel "Comparison Training" methodology, while demonstrating robust performance (87.8% accuracy) on held-out free-play data without requiring specialized hardware.

Original authors: Aadi Garg

Published 2026-07-22
📖 4 min read☕ Coffee break read

Original authors: Aadi Garg

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are listening to a symphony, but instead of hearing the whole orchestra, you are trying to guess exactly which violinist is playing a specific note just by the sound of the air. In the world of music technology, this is a tricky game called "string identification." On a piano, every key makes a unique sound; press the C key, and you always get a C. But on a guitar, the same musical note can be played in many different places. You can play a "C" on the third string, or you can play the exact same "C" on the fifth string, just higher up the neck. To a human ear, these two sounds are almost identical twins. They are so similar that even trained musicians often struggle to tell them apart just by listening.

This is where computers try to step in. Scientists have been teaching machines to listen to electric guitars and figure out which string is vibrating, even when the note is the same. It's like trying to tell the difference between two identical twins wearing the same clothes, but the computer has to do it in a split second, without seeing the player, and using only a single microphone. Why does this matter? Because if a computer can do this, it could power smart music apps that teach you how to play, or software that automatically writes down sheet music just by listening to you jam. The big challenge is that the differences between the strings are tiny, hidden in the "texture" or "color" of the sound rather than the pitch itself.

Enter Fretiq, a new project that tries to solve this puzzle using nothing but a web browser and a guitar plugged directly into a computer. Think of Fretiq as a digital detective that lives inside your internet browser. Instead of needing special cameras, sensors on the guitar strings, or a room full of microphones, it just listens to the electrical signal coming from your guitar's cable. The researchers built a system that breaks the sound down into 26 different "clues" or features. Some of these clues measure the low rumble, some measure the high sparkle, and others look at the shape of the sound wave.

The most exciting discovery in this study is that the system relies heavily on a specific type of clue called MFCCs (Mel-Frequency Cepstral Coefficients). You can think of MFCCs as a special kind of "sound fingerprint" that captures the unique texture of the guitar tone. When the researchers tested their system, they found that if they removed these fingerprints, the detective got much worse at its job. With the fingerprints included, the system could correctly identify the string 97.1% of the time during its practice tests. That sounds like a perfect score, but the real test came when they let the system play a song it had never heard before. In this "free-play" test, the accuracy dropped to 87.8%. This gap tells us that while the system is very good at recognizing notes in a controlled setting, it still gets confused by the messy, unpredictable nature of a real musician playing a song with bends and fast changes.

The team also tried a clever training trick called Comparison Training. Imagine teaching a child to tell twins apart by making them stand next to each other and switch places rapidly. The researchers did this with the guitar, recording two strings that produce the same note back-and-forth in quick succession, hoping the computer would learn the subtle differences. This trick worked wonders for one specific pair of strings, cutting the confusion between them by 44%. However, it didn't help with other pairs; in fact, it made the computer slightly more confused about some other strings. This suggests that this training method is a specific fix for specific problems, not a magic bullet that solves everything at once.

The paper also shares some honest "behind-the-scenes" stories about how the system was built. The researchers had to make sure the code running in the browser was exactly the same as the code used to train the computer, or else the system would be guessing based on empty data. They also had to fix a glitch where the computer couldn't understand the saved "brain" of the system, forcing them to rebuild it piece by piece. Ultimately, Fretiq proves that it is possible to do this complex musical analysis right inside a web browser without any special hardware. While it isn't perfect yet—especially when the guitar player starts bending notes or using heavy distortion—it shows a promising path toward smart, accessible music technology that lives right in your browser tab.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →