Patent ID: 7619157

Claim:
An electronic keyboard instrument, comprising: a keyboard having a plurality of keys; a first and a second switches provided corresponding to each key of said keyboard and being sequentially turned on at a time interval corresponding to a key depression speed of said keyboard; a counting unit for counting a count value corresponding to the time interval during which said first and said second switches are sequentially turned on; a correcting unit for correcting the count value or a value corresponding to the count value based on a variation of the time interval; and a velocity conversion unit for converting the corrected value into a velocity, wherein the velocity conversion unit comprises a linear-to-log conversion table representing a logarithmic function to be applied to the count value to obtain a corresponding velocity, and wherein the velocity conversion unit performs a look-up of the linear-to-log conversion table based on the corrected value such that, according to the logarithmic function, the converted velocity corresponds to a modified count value with respect to the count value obtained by the counting unit.