CALL MK VOL
This page was last modified 15:13, 17 May 2020 by Mars2000you.

Contents

Effect

Sets the volume for the sound (voice) from the Music Keyboard.

Syntax

CALL MK VOL(@<Volume1>,<@<Volume2>)

The last parameter is optional. Parameters can not end with a comma alone.

Parameter

<Volume> is a number between 0 and 63. Each step corresponds to +0.75dB (and 8 steps correspond to 6dB).

The value after initialisation with CALL AUDIO is always 63 (maximum volume), no matter if the keys are on or off.

When 2 MSX-AUDIO chips are present, the first parameter is for the first channel, the second parameter is for the second channel. If you omit the second parameter, the first parameter wil be applied to both chips.

Example

CALL MK VOL (40)

Related to

CALL AUDIO, CALL INMK, CALL MK PCM, CALL MK TEMPO, CALL MK VEL, CALL MK VOICE

Compatibility

MSX-AUDIO BASIC