I'm struggling a bit with concepts around fixed-point and fractional representations of numbers in Axoloti objects.
I want to make an object to convert waveform cycle-lengths (in S-Rate cycles) into MIDI note numbers, but the results are likely to be fractional (ie none will exactly translate to MIDI notes).
I can see that note outputs and pitch inputs are all frac32.bipolar, but internal variables dealing with pitch and note values inside objects always seem to be unsigned integer.
I'm unclear what variable types to use to do the conversion, or the ranges involved.
Sorry if this is basic stuff, but I find the way the same data is represented in multiple ways in the Patcher environment confusing as hell.
Can someone help me out, please?
a|x