Hi!
How is the pitchbend range set? Is there some kind of organization and thought behind it? I have found out that:
20 = Minor third
50 = Perfect fifth
100 = Perfect octave
Suppose I want to set pitchbend range to a major 2nd, wouldn't it then be better to give the number in cents (so that octave = 1200, major 2nd = 200 and so on...)?
Regards,
Karl
Correct. Pitchbend range setting is defined in percentage of an octave, instead of cents. While 0 disables the pitchbend control 100 is one octave at maximum up/down swing.
Until recently, on svn trunk, the pitch bend range setting was mapped in direct proportion to an octave range. Now it is being mapped on a power-on-two kind of law, allegedly a more natural one.
Well, personally I think that is not very intuitive... Currently I'm just guessing (from some testing) but if I fully pitchbend a tone with the frequency A Hz upwards with a pitchbend range value of y the frequency of the pitchbended tone would be:
A * 2^(y/100).
Is it possible to add an option so that pitchbend range could be measured in cents so that the formula would be:
A * 2^(x/1200), where x is the pitchbend range specified in cents.
I think it would be more obvious and would also be less detuned. Compare the factors for a perfect fifth 2^(58/100) ~ 1.4948.... with the "correct" value 2^(700/1200) ~ 1.4983. Using a range of 100 results in a slight detune, due to the lower precision in the exponent 58/100.
As long as it's not too much trouble it would be nice.