WAVE file manipulations
load.wave loads a sample from a WAVE file
save.wave saves a sample into a WAVE file
file name of the file to load from or save to
audioSample object to save
WAVE is a RIFF (Resource Interchange File Format) widely used for storage of uncompressed audio data. It is often identified by the extension .WAV on DOS-legacy systems (such as Windows). Although WAVE files may contain compressed data, the above functions only support plain, uncompressed PCM data.
load.wave returns an object of the class
audioSample as loaded from the WAVE file
save.wave always returns
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.