CALL PCM VOL
This page was last modified 02:55, 12 September 2019 by Mars2000you.

Contents

Effect

Sets the volume to play an ADPCM/PCM file

Syntax

CALL PCM VOL(<volume1>[,<volume2>])

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 for ADPCM and 32 for PCM.

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 PCM VOL (40)

Related to

CALL AUDIO, CALL PCM FREQ, CALL PLAY PCM, CALL SET PCM

Compatibility

MSX-AUDIO BASIC