User:Contribution/Chanopif Project: Difference between revisions

Contribution (talk | contribs)
Contribution (talk | contribs)
No edit summary
Line 83: Line 83:
  frequency = 440 * 2^((pitch_decimal - 69) / 12 + (fractional_pitch_decimal / 2^25))
  frequency = 440 * 2^((pitch_decimal - 69) / 12 + (fractional_pitch_decimal / 2^25))


* '''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.
* '''fractional_pitch_decimal''' is the 25-bit fractional portion, represented in base 32 within Chanopif and converted internally to a value between 0 and 2^25 - 1.
* '''fractional_pitch_decimal''' is the 25-bit fractional portion, represented in base 32 within Chanopif, and converted internally to a value between 0 and 2^25 - 1.


== Purpose and Implementation ==
== Purpose and Implementation ==