CALL PCM FREQ
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(<SamplingFrequency1>,<SamplingFrequency2>)
The last parameter is optional. Parameters can not end with a comma alone.
Parameter
<SamplingFrequency> 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