CALL PCM FREQ
This page was last modified 10:33, 15 September 2019 by Mars2000you.

Contents

Effect

Sets the sampling frequency to play an ADPCM file in local mode, using the Sample RAM or the Sample ROM.

Syntax

CALL PCM FREQ(<sampling frequency1>[,<sampling frequency2>])

Parameter

<sampling frequency> is exprimed in Hz and can vary from 1800 to 49716.

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 FREQ(24000)

Related to

CALL PCM VOL, CALL PLAY PCM, CALL SET PCM

Compatibility

MSX-AUDIO BASIC