CALL KEY ON
This page was last modified 15:00, 17 May 2020 by Mars2000you.

Contents

Effect

Enables a musical instrument by software.

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.

Related to

CALL INMK, CALL KEY OFF

Compatibility

MSX-AUDIO BASIC