sound.wav.load

sound.wav

load(path, opts) -> buf, info/err

Load and decode a WAV file from disk

Reads the file at path and decodes it with decode (same opts and returns). Returns nil and an error string on failure.