pub type NoteFxP = U7F9;
Expand description
A unsigned 16 bit fixed point number representing a note/pitch, with 7 integral bits and 9 fractional. The integral bits correspond to the MIDI note numbers, i.e. a value of 69.0 represents A440 and tuning is 12 tone equal temprament.
9 fractional bits provides a resolution of about 0.2 cents, but most of the functions in this library will only be accurate to about 0.5-1 cent.
Aliased Type§
struct NoteFxP { /* private fields */ }