Melodeon.net Forums
Discussions => Instrument Design, Construction and Repair => Topic started by: Michael Eskin on January 06, 2026, 04:58:46 PM
-
Demonstration of my new Accordion Musette Tuner tool located at:
https://michaeleskin.com/tools/accordion-tuner.html
This tool is able to determine the note name for any note, the offset of the in-tune reed from the ideal equal temperament frequency, and the musette offsets in cents from the in-tune reed of the other reeds in both MM and MMM configurations.
This effort was a collaboration with ChatGPT and inspired by a similar tool put together using Google Gemini by Spencer Jones on the Accordion Repair group on Facebook.
Limitations:
Note and musette detection is currently limited to notes above C4 (261.63 Hz).
Perhaps that range can be extended in a future version, but so far I've not been able to get it to work reliably below C4.
Demo video:
https://youtu.be/YYj2dnMN1Jg
Since this video was released I've added some additional improvements:
1) In MMM mode, now shows two needles on the graph, one for each of the musette reeds.
2) Disabled microphone auto-level, now keeps the microphone input level at whatever you've set it to in your system settings.
There were some issues where the input level was too low if auto-level was enabled.
3) Increased the FFT size for possibly a bit better chance of picking up some low notes.
4) Added a clear button on the table results header
-
Great job! You are a clever chap!
-
Excellent, I'll be sure to give this a go. Do you have the code somewhere public like GitHub?
-
Yes, it's in my GitHub repo:
https://github.com/seisiuneer/abctools
in the tools directory.
File is:
accordion-tuner.html
It is completely self-contained.
-
Updated the tuner today (1/7/26) with a bit better recognition of notes C4 or lower.
-
Yes, it's in my GitHub repo:
https://github.com/seisiuneer/abctools (https://github.com/seisiuneer/abctools)
in the tools directory.
File is:
accordion-tuner.html
It is completely self-contained.
Awesome, thanks 😁
-
I'm actively working on improving the low note response and adding the ability to pick a tuning reference, so you may want to periodically check back for updates.
-
im getting microphone error on my PC (windows) i guess there must be a way of allowing microphone access but i cant seem to fix it. i'll try an external usb mic tomorrow.
-
got it working on my iphone. easy. just asked if the app could access microphone to which i agreed. couple of questions. 1. do users have to come back to the link every time to use it or can it be stored somehow? 2. is there a way to stabilise the reading more. im finding if i take a reading on a note i can get several readings that vary by as much as 4 or 5 cents.
-
If you are just playing the instrument, there can be some difference from session to session based on bellows pressure and stability.
Maybe using a tuning bellows one can get more consistent readings.
I don't know of anyway to make it more stable, it's simply reporting what it's hearing and doing the best it can.
-
Just added a "Live mode" option that makes the tool run continuously without saving values.
-
Now showing beats as well as cents for all offsets.
-
If you are just playing the instrument, there can be some difference from session to session based on bellows pressure and stability.
thanks michael. created a shortcut on my desktop so i'll keep working with it and comparing to dirks tuner which i currently use regularly. not tried yours yet with my usual usb mic which may be interesting. I maybe just need to get to used how it works. Yours seems to prefer a short strong note (like on your video demo). Dirks tuner requires a long note before it settles on a reading (im assuming it somehow therefore takes an average reading from any fluctauations). Any plans for further modifications to allow it to read chords and octaves for bass end tuning?
-
I'm actively working on improving the low note response and adding the ability to pick a tuning reference, so you may want to periodically check back for updates.
Presumably, this is why LMM isn't currently an advertised option? Looking forward to seeing how this progresses!
-
No plans to add chords or LMM style detection. It barely works as-is. :-)
-
Latest features as of 8 Jan 2026:
1) New "Live mode" feature that just runs continuously showing detection results without saving the results.
2) Offsets are now displayed in beats as well as cents.
3) You can print the results or export them as a CSV file.
Limitations:
In some cases, note and musette detection may struggle for notes C4 and below.
This is an free open-source experiment. I make no warranty as to its accuracy or usefulness.
Use it at your own risk.
Source code is on GitHub:
https://github.com/seisiuneer/abctools/tree/main/tools
File is:
accordion-tuner.html
Demo video:
https://youtu.be/7-0GV8UNcdM
-
This looks really good.
Homing in specifically on the offsets rather than the absolute pitch was just what I was looking for.
-
Some users are reporting that the musette offset values calculated by the tool may be as much as 200% of values calculated using the same accordion with Dirk's Accordion Tuner.
I am continuing to investigate and hopefully have some improvements in the near future.
-
Added frequency information to the musette needles as well as better refresh smoothing and improved print CSS:
-
OK, latest version does more filtering and outlier rejection in both MM and MMM mode.
Tool may still struggle with notes below C4 as well as giving accurate results on dry-tuned instruments.
-
I've removed the MMM option. Now MM-only.
I just couldn't get MMM to work well enough to justify continuing to support it.
-
Added a new "Low note" mode as well as options for "Normal", "Dry", and "Very Dry" detection optimizations.
-
Decided to end the experiment. Just wasn’t producing reliable results.
Full source code for the last stable version is available on my GitHub repo:
https://github.com/seisiuneer/abctools/tree/main/tools
The source is completely contained in the one file:
accordion-tuner.html
I’ll keep this final version source available in case someone wants to try to improve it and submit a pull request back to the repo.
-
Well, all is not lost, I at least got a nice chromatic tuner out of it:
https://michaeleskin.com/tuner
Demo video:
https://youtu.be/AS7eS89z4mY
-
Hi Michael, Smegg99 here from SmeggTuner. Thanks again for hosting a copy. Your comment about dry-tuned boxes caught my attention. Do you have a short recording of a note where you can hear a slow beat but the tuner struggles to separate the reeds?
I'd like to run the same note through SmeggTuner and compare what the two tools show. A few seconds of one held note would be plenty. If you've measured the reeds separately as well, that would give us something to check both readings against.
https://smeggtuner.com
https://accordiontuner.com