User:Sintel/Zeta working page: Difference between revisions
No edit summary |
try to clarify the steps needed to reach nth harmonic |
||
Line 5: | Line 5: | ||
To assess how well an equal temperament approximates the [[harmonic series]], we need a function that measures the accuracy of approximation for each overtone. | To assess how well an equal temperament approximates the [[harmonic series]], we need a function that measures the accuracy of approximation for each overtone. | ||
The frequency ratio of the nth harmonic is n:1. In any equal temperament, to reach a ratio of n:1, we need <math>\log_2(n)</math> octaves, which is <math>x \log_2(n)</math> steps. | |||
If <math>x \log_2(n)</math> is very close to an integer, it means our equal temperament system can closely approximate that harmonic. If it's far from an integer, the approximation will be poor. | |||
To quantify this proximity to integers, we can use the cosine function <math>f(x) = \cos(2 \pi x)</math>, which peaks at integer values. This provides a simple metric where values close to 1 indicate good approximations and values close to -1 indicate poor ones. | To quantify this proximity to integers, we can use the cosine function <math>f(x) = \cos(2 \pi x)</math>, which peaks at integer values. This provides a simple metric where values close to 1 indicate good approximations and values close to -1 indicate poor ones. |