The readwav command retrieves information about a wav file.
Example.
Assuming that sound.wav is a sound file for a one-second
sound in CD quality on a 16-bit channel:
Input:
s:= readwav("sound.wav"):; |
s[0] |
Output:
Input:
Output:
which is the number of channels plus 1.
Input:
Output: