saveSample {sound} | R Documentation |
Save a Sample object to disk as a wav file.
saveSample(s, filename, overwrite=FALSE)
s |
a Sample object. |
filename |
a string giving the path and the name of the destination file. |
overwrite |
logical. If FALSE and filename already exists, an error will be reported. Otherwise the old file will be deleted. |
Matthias Heymann
## Not run: s <- Sine(440,1) saveSample(s,"sine.wav") ## End(Not run)