How to make a guitar tuner
-
-
@JulesV GVST GTUNE is still incredible. I'm assuming OP is asking though because they want to build a tuner into part of a larger plugin, not because they think there's a gap in the market for a standalone.
TBH if we come up with a good solution, I'd love to use that code too.
-
I've read and watched quite a lot on tuner dsp, and as simple as it seems at start, things are going exponentially complicated. having the pitch of a buffer is one thing, but getting a smooth response (not erratic) and good tracking especially with lower notes becomes incredibly complicated. Not speaking about the time response for lower notes... Especially for guitars where useful pitch can be hard to discriminates from overtones
That being said, there might be a free library existing somewhere
-
@ustk Just use the pitch tracker in Faust and call si.smoo on it twice. It's incredibly fast and its error is consistent and correctable with an almost linear function (slightly higher at low freqs than at high freqs).
-
@d-healey said in How to make a guitar tuner:
Sweet. But since it's GPL, I can't use it on a commercial project, right?
-
@ccbl I'll take a look at that, thanks
-
@ustk said in How to make a guitar tuner:
I've read and watched quite a lot on tuner dsp, and as simple as it seems at start, things are going exponentially complicated. having the pitch of a buffer is one thing, but getting a smooth response (not erratic) and good tracking especially with lower notes becomes incredibly complicated. Not speaking about the time response for lower notes... Especially for guitars where useful pitch can be hard to discriminates from overtones
That being said, there might be a free library existing somewhere
I agree. I hope it will be available in the future.
@aaronventure said in How to make a guitar tuner:
@ustk Just use the pitch tracker in Faust and call si.smoo on it twice. It's incredibly fast and its error is consistent and correctable with an almost linear function (slightly higher at low freqs than at high freqs).
Thanks for the tip. Although I am new to Faust, I'll give it a try.
-
@JulesV said in How to make a guitar tuner:
Sweet. But since it's GPL, I can't use it on a commercial project, right?
You can, as long as your project is gpl
-
@aaronventure said in How to make a guitar tuner:
@ustk Just use the pitch tracker in Faust and call si.smoo on it twice. It's incredibly fast and its error is consistent and correctable with an almost linear function (slightly higher at low freqs than at high freqs).
Would you mind making a quick example of this? I've been trying to get the Pitch Tracker to do anything besides throw errors at me and it is now 5:50 am
-
Hiyya go bud. I even piped it to the UI for ya.
HiseSnippet 2302.3oc0Y8zaabbEeVIsRVLx1IEFE43.cIzsxzjzxRtwPPx5eNDMRlPTQH.8fvv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jOU3AVDU61+tLRy6y397E75PlsZr39R116VISygakbMXrrq4dM7kTglZ1np8FNvCwqkTE6b34nAaN9axLi8lrn6NAvp2XTM4RtliaqigSOaNoP9Y+XbWo4BJI5jd5r7QqVWfl4XVLbh8whdOzsuLTVGueStrni4WXcL4kOo6on92PfblB0EWUBEVjw8TEAyicYgrfgJdEqvoWahRtAL3LQsYxx9X2HN6rSGDpfDIvvEV9mX8EEmwjXXbabCXYtBXIay4ihTlCzGx8ra22Pf.YGNttLe+L+WCyA0sw+668Sl2iYgQA+TI29vewKrZJdG67uFexeAx2i31KWC7i3UzYtxSkDuaSyMH1M4x2.KkdidlSAZuNOXplSNToToTEXAf1pzqrCsp458f5RPHzbjGC4UTUfTCC3SksQRKyMCdc4qPZTVG7R2W66vZfOh663MCzRH.kdwFFaYBPEq+7B3r3wYIMAVqjo1VxH4ZBtq4hgDeY3WnoW.jiLH1xhMgE3z1P+ozq90v2RMjdlDzOrfvC9+lfPw5oOvG1VJOqOybIA2oq66mkqznOyKVdpm8VZv.zCLi.88BMYIK5d.9LsF47wcJ8E9hS87JZpITr9cUwWbWUb06phu7tp3Z2UEW+tp3qtYEwuBuDxCrUDTY0bOaOBm8BYsCRXQ3IsOrWMHlqNZjP9k6KBr6fC+NpfBa7OVj7Ksax54Ya2ohuJJ8ZwIN+UW76YxvKXSZons9RZ17wuXF6WthOE1sSO5W0n0d3lwpWs9KeV0W8r5unjnejLVWdYk12rbUBDsMeoNQZ5F.6eEi4N1R7Tt1JzpUpV6ozujpDUT8kxrOg5XuuP76TQuB8zWWhP9uhjUkT.
It's pretty accurate and ridiculously fast.
-
@aaronventure Much appreciated! I'll play around with it, it seems really good for most cases but low-tuned guitars seem to throw it off a bit, probably because of the overtones.