摘要 |
PROBLEM TO BE SOLVED: To prevent a musical sound from changing unpredictably by individually setting resolution for detecting an ON/OFF state and resolution for detecting the time difference in closure between two switches, which detect keying speeds on a keyboard musical instrument, for the two switches. SOLUTION: A touch timer 5 and a scan timer 6 generate interrupt signals INT1 and INT2 at periods corresponding to touch timer data Tt and scan timer data St. When INT2 is inputted to a CPU 7, a key scan circuit 2 scans a keyboard 1. When INT1 is inputted to the CPU 7, a touch counter TC counts up by one, thereby counting the touch data as a keying speed of each key at this period. Here, Tt and St are individually settable. On the basis of past touch data. newly detected data may be corrected in the direction where the variation is reduced. |