The second area that needs some discussion relates to the calculation of 'actual_glide' time. For simplicity, let's remove the scaling needed for the integer arithmetic and just talk in mathematical terms. The function you're using appears to be:
actual_glide =
G[1 + (
Int/12)*
S]
Where:
Int is the glide pitch interval in semi-tones,
S is the scaling function which ranges from 1.00 to 2.00 in value, and
G is the Glide time set by the knob. Finally,
actual_glide is the total time interval used to glide linearly over the pitch interval,
Int. Obviously, the total glide time increases as the glide pitch interval increases (and more so as
S is increased from min to max), but, it's not directly proportional (because of the presence of the plus 1) and I'm not quite sure I understand the musical significance of this function. Since I'm sure you must have had a good reason for choosing this kind of function, I thought perhaps you could elaborate on the whys?
Bookmarks