ibancg / lingot

Musical instrument tuner
http://savannah.nongnu.org/projects/lingot/
GNU General Public License v2.0
85 stars 12 forks source link

Adjust spectrum range to isntrument range #67

Open f-viktor opened 2 years ago

f-viktor commented 2 years ago

I've modified the spectrum graph so that it only displays the range, that is between the minimum and maximum frequency of the instrument.

I've added a 5% margin on each side so you can see if you are under the minimum; or over the maximum note.

This allows better visibility if the application window is narrow, and makes it easier to distinguish the played note from the fundamental note.

I'm not sure if this is a change you needed, but if so, here is the PR for it.