Abstract:
First and third counters count an ON time between first and second contact nodes of a key and an ON time between the second contact node and a third contact node, respectively. A second counter counts a time after counting of the first counter is completed. A counter memory stores velocity counter values representing count times of the first and third counters, and a correction time counter value representing the count time of the second counter. An arrival comparator circuit compares an arrival time value and the correction time counter value. In a case that the velocity count value of the first counter is larger than a threshold value, when the arrival comparator circuit detects that the arrival time value coincides with the correction time counter value, a controller outputs a sound generation instruction including touch information according to the velocity counter value loaded from the counter memory.
Abstract:
In a touch detection apparatus 50, the controller 51 predicts damper-on arrival time as time of arrival of generation of a damper-on event based on a period of time counted by a first counter 54 from when a second contact point 160b is turned off until when a first contact point 160a is turned off. The second counter 55 counts time to be compared to the damper-on arrival time. The comparator circuit 58 compares the time counted by the second counter 55 and the damper-on arrival time. If the time counted by the second counter 55 and the damper-on arrival time agree with each other, the comparator circuit 58 transmits a key release agreement signal triggering generation of a damper-on event to the controller 51. If the key release agreement signal is transmitted from the comparator circuit 58, the controller 51 executes control to generate a damper-on event.