Our great sponsors
-
pianochord.io
A pure frontend Web Application for people to browse through a large collection of piano chords
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
Your F, defined on line 26 [0], is 4Hz off according to this reference table[1]. 346.23 should be 349.23. Just a typo?
All credit to @issa's ear. And yes, while you'd be unlikely to have encountered this bug if you were just telling a good existing synth to play an F, it's cool that you implemented the synth from scratch! Whether it's a good choice depends on the project goals.
[0] https://github.com/JNKKKK/pianochord.io/blob/master/src/libs...
[1] https://pages.mtu.edu/~suits/notefreqs.html