CMD SPT
This page was last modified 01:58, 12 June 2018 by Mars2000you.

Contents

Effect

Modifies the values (label and speed) for a key of the virtual keyboard mode, initialised by CMD PLY @.

It means that it is possible to configure this keyboard yourself. The pitch of each key can be set, and 'splitting' is possible. Different sounds can be used (possibly even 26 different ones as the sampler can accept 26 different labels).

Syntax

CMD SPT <value>, <label>, <speed>

Parameters

<value> is a number between 1 and 255 corresponding to a key of the virtual keyboard.

<label> is a letter between A and Z to specify the label.

<speed> is a number between 0 and 255, with 1 being the fastest speed, then rising to 255 (very slow) and then 0 (the slowest speed).

By default, the label is A for the 255 virtual keys, while the speed goes from 1 for the first key to 255 for the last key.

Examples

CMD SPT 5,G,10
10 FOR T = 13 TO 24
20 CMD SPT T, D, T-8
30 NEXT T

Related to

CMD PLY, CMD TTS

Compatibility

Tyzack64M BASIC