Contents |
Effect
Converts a ADPCM file into an PCM file.
The length of the PCM file will generally two times the length of the ADPCM file. However, if you use the computer RAM as destination, the file type and the length will not be modified.
The sampling frequency will remain unmodified.
This instruction checks if the source file is in the ADPCM format. When it's not a ADPCM file, an "Illegal function call" error message is displayed.
Syntax
CALL CONVP (<SourceFile>,<DestinationFile>)
Parameters
<SourceFile> is a number between 0 and 15 to specify the ADPCM file that needs to be converted.
<DestinationFile> is a number between 0 and 15 to specify the PCM file that will be the result of the conversion. It must be a number different from the <source file> number. The location of the destination file must be Sample RAM of first MSX-AUDIO chip, Sample RAM of second MSX-AUDIO chip, computer RAM or computer VRAM.'
Example
CALL CONVP(5,7)
Related to
CALL CONVA, CALL COPY PCM, CALL LOAD PCM, CALL MK PCM, CALL PLAY PCM, CALL REC PCM, CALL SAVE PCM, CALL SET PCM