saveSample {sound} | R Documentation |
Save a Sample Object as a WAV File
Description
Save a Sample object to disk as a wav file.
Usage
saveSample(s, filename, overwrite=FALSE)
Arguments
s |
a Sample object. |
filename |
a string giving the path and the name of the destination file. |
overwrite |
logical. If |
Author(s)
Author: Matthias Heymann [aut], Stefan Langenberg [cre] (<https://orcid.org/0000-0001-5817-5469>)
Maintainer: Stefan Langenberg <langenberg@uni-bonn.de>
See Also
Examples
## Not run:
s <- Sine(440,1)
saveSample(s,"sine.wav")
## End(Not run)
[Package sound version 1.4.6 Index]