Reading Wave files
Reading Wave files.
readWave(filename, from = 1, to = Inf, units = c("samples", "seconds", "minutes", "hours"), header = FALSE, toWaveMC = NULL)
filename |
Filename of the file to be read. |
from |
Where to start reading (in order to save memory by reading wave file piecewise), in |
to |
Where to stop reading (in order to save memory by reading wave file piecewise), in |
units |
Units in which |
header |
If |
toWaveMC |
If |
Uwe Ligges ligges@statistik.tu-dortmund.de, Sarah Schnackenberg
Wobj <- sine(440) tdir <- tempdir() tfile <- file.path(tdir, "myWave.wav") writeWave(Wobj, filename = tfile) list.files(tdir, pattern = "\\.wav$") newWobj <- readWave(tfile) newWobj file.remove(tfile)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.