playWave | R Documentation |
Play one or more waveforms at the same time using audio::play
playWave(wave, sample.rate = 44100, plot = FALSE)
wave |
Matrix or vector of waveforms. If a matrix, each column should be a waveform to be played simultaneously |
sample.rate |
Integer: Sample rate. Default = 44100 |
plot |
Logical: If TRUE: plot wave using mplot. |
E.D. Gennatas
## Not run: playWave(freq2wave(440)) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.