wave | R Documentation |
load.wave
loads a sample from a WAVE file
save.wave
saves a sample into a WAVE file
load.wave(where)
save.wave(what, where)
where |
file name of the file to load from or save to |
what |
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 NULL
audioSample
, play
, record
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.