powered by
Load a wav file from disk and create a Sample object.
loadSample(filename, filecheck=TRUE)
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.
the Sample object that is equivalent to the wav file.
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
# NOT RUN { s <- loadSample("soundfile.wav") play(s) # }
Run the code above in your browser using DataLab