Melodeon.net Forums

Discussions => Instrument Design, Construction and Repair => Topic started by: Michael Eskin on January 06, 2026, 04:58:46 PM

Title: Experimental Accordion Musette Tuner (MM/MMM)
Post 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
Title: Re: Experimental Accordion Musette Tuner (MM/MMM)
Post by: WestOz on January 07, 2026, 02:56:20 AM
Great job! You are a clever chap!
Title: Re: Experimental Accordion Musette Tuner (MM/MMM)
Post by: Craig Simmonds on January 07, 2026, 11:26:11 AM
Excellent, I'll be sure to give this a go. Do you have the code somewhere public like GitHub?
Title: Re: Experimental Accordion Musette Tuner (MM/MMM)
Post by: Michael Eskin on January 07, 2026, 03:39:44 PM
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.
Title: Re: Experimental Accordion Musette Tuner (MM/MMM)
Post by: Michael Eskin on January 07, 2026, 05:04:22 PM
Updated the tuner today (1/7/26) with a bit better recognition of notes C4 or lower.
Title: Re: Experimental Accordion Musette Tuner (MM/MMM)
Post by: Craig Simmonds on January 07, 2026, 05:25:39 PM
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 😁
Title: Re: Experimental Accordion Musette Tuner (MM/MMM)
Post by: Michael Eskin on January 07, 2026, 06:25:01 PM
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.
Title: Re: Experimental Accordion Musette Tuner (MM/MMM)
Post by: chris hall on January 07, 2026, 08:37:50 PM
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.
Title: Re: Experimental Accordion Musette Tuner (MM/MMM)
Post by: chris hall on January 07, 2026, 08:58:45 PM
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.
Title: Re: Experimental Accordion Musette Tuner (MM/MMM)
Post by: Michael Eskin on January 07, 2026, 09:13:39 PM
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.
Title: Re: Experimental Accordion Musette Tuner (MM/MMM)
Post by: Michael Eskin on January 07, 2026, 11:29:27 PM
Just added a "Live mode" option that makes the tool run continuously without saving values.
Title: Re: Experimental Accordion Musette Tuner (MM/MMM)
Post by: Michael Eskin on January 08, 2026, 05:00:52 AM
Now showing beats as well as cents for all offsets.
Title: Re: Experimental Accordion Musette Tuner (MM/MMM)
Post by: chris hall on January 08, 2026, 01:26:44 PM
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?
Title: Re: Experimental Accordion Musette Tuner (MM/MMM)
Post by: Craig Simmonds on January 08, 2026, 02:39:20 PM
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!
Title: Re: Experimental Accordion Musette Tuner (MM/MMM)
Post by: Michael Eskin on January 08, 2026, 03:04:58 PM
No plans to add chords or LMM style detection. It barely works as-is. :-)
Title: Re: Experimental Accordion Musette Tuner (MM/MMM)
Post by: Michael Eskin on January 08, 2026, 06:24:05 PM
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
Title: Re: Experimental Accordion Musette Tuner (MM/MMM)
Post by: Squeaky Pete on January 08, 2026, 09:05:48 PM
This looks really good.
Homing in specifically on the offsets rather than the absolute pitch was just what I was looking for.
Title: Re: Experimental Accordion Musette Tuner (MM/MMM)
Post by: Michael Eskin on January 10, 2026, 03:08:02 PM
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.
Title: Re: Experimental Accordion Musette Tuner (MM/MMM)
Post by: Michael Eskin on January 10, 2026, 06:25:11 PM
Added frequency information to the musette needles as well as better refresh smoothing and improved print CSS:

Title: Re: Experimental Accordion Musette Tuner (MM/MMM)
Post by: Michael Eskin on January 12, 2026, 06:28:43 PM
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.
Title: Re: Experimental Accordion Musette Tuner (MM/MMM)
Post by: Michael Eskin on January 13, 2026, 05:30:43 PM
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.
Title: Re: Experimental Accordion Musette Tuner (MM/MMM)
Post by: Michael Eskin on January 14, 2026, 05:45:49 PM
Added a new "Low note" mode as well as options for "Normal", "Dry", and "Very Dry" detection optimizations.
Title: Re: Experimental Accordion Musette Tuner (MM/MMM)
Post by: Michael Eskin on January 14, 2026, 08:46:03 PM
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.
Title: Re: Experimental Accordion Musette Tuner (MM/MMM)
Post by: Michael Eskin on January 15, 2026, 08:34:57 PM
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
Title: Re: Experimental Accordion Musette Tuner (MM/MMM)
Post by: smegg99 on November 19, 2026, 02:15:52 PM
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
SimplePortal 2.3.5 © 2008-2012, SimplePortal