CALL KEY ON
Contents |
Effect
Sets a key of the MSX keyboard as instrument.
Use of this instruction and CALL KEY OFF allows to simulate a Music Keyboard, but it can't be used for Music Keyboard recording.
Syntax
CALL KEY ON(<KeyCodeNumber>,<Velocity>)
The last parameter is optional. Parameters can not end with a comma alone.
Parameters
<KeyCodeNumber> is a number between 0 and 127.
<Velocity> is optional. It's a number between 0 and 15. Default value is 8.
Example
CALL KEY ON(60, 3)
Number 60 corresponds to middle C.