Both 64-bit binary floating point, 64-bits 'text' floating point, 16-bit signed integer, and 8-bit unsigned integer formats are supported.
Spare matrices are not supported.
Floats are expected to be in the range [-1, 1].
Stereo files are stored as a 2 column matrix.
The data is stored in a variable named as the waveform but with all non-Ascii 33..127 characters removed.
The sample rate is stored in the variable with the same name as the data plus _SR, e.g. MySound_SR.
When writing:
The data is stored in either 8-bit unsigned or 16-bit signed format. So if you're going to play the sound using the sound() function you'll have to remember to normalize the sound to -1..1.