User:Contribution/Chanopif Project: Difference between revisions
Contribution (talk | contribs) No edit summary |
Contribution (talk | contribs) No edit summary |
||
Line 81: | Line 81: | ||
To calculate frequencies, the parser uses this formula: | To calculate frequencies, the parser uses this formula: | ||
frequency = 440 * 2^(((pitch_decimal-69)+fractional_pitch_decimal/(2^25))/12) | frequency = 440 * 2^(((pitch_decimal - 69) + (fractional_pitch_decimal / (2^25))) / 12) | ||
* '''pitch_decimal''' is the 7-bit pitch portion, represented in hexadecimal within Chanopif, and converted internally to a value between 0 and 127. | * '''pitch_decimal''' is the 7-bit pitch portion, represented in hexadecimal within Chanopif, and converted internally to a value between 0 and 127. |