I am trying to plot the frequencies of musical notes on a graph so that they are equally spaced apart.
I have researched that the relationship between each note is $$f \times 2^\left( X / 12 \right)$$ Where $x$ is how many notes up and $f$ is the beginning note frequency.
The problem is, I am trying to plot these frequencies on a graph so that each note is equally spaced out.
The X axis is a time series and therefore (I believe) is linear, the Y axis is the frequencies.
I am coding this graph in Java so I am using a function to plot Y. I am not well educated so I have this problem in my head and it's difficult for me to explain the question using proper terms so I apolagise in advance if this question has already been answered.
Thanks in advance,
Jack
Instead of plotting $$g(x)=f×2^{(x/12)}$$ you can plot $$\log_2(g)=\log_2(f)+\frac{x}{12}$$ which is now linear in $x$
Here I've used the common identities that $$\log_b(xy) = \log_b(x) + \log_b(y)$$ and $$\log_b(b^x) = x$$