powered by
Load a wav file from disk and create a Sample object.
loadSample(filename, filecheck=TRUE)
the Sample object that is equivalent to the wav file.
a string giving the path and the name of the wav file.
logical. If FALSE, no check for existance and read permission of the file will be performed.
Author: tools:::Rd_package_author("sound")
Maintainer: tools:::Rd_package_maintainer("sound")
All kinds of wav files are supported: mono / stereo, 8 / 16 bits per sample, 1000 to 48000 samples/second.
saveSample, as.Sample
saveSample
as.Sample
if (FALSE) { s <- loadSample("soundfile.wav") play(s) }
Run the code above in your browser using DataLab