playWave {music} | R Documentation |
Minimal "Polyphonic" Wave Player
Description
Play one or more waveforms at the same time using audio::play
Usage
playWave(wave, sample.rate = 44100, plot = FALSE)
Arguments
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. |
Author(s)
E.D. Gennatas
Examples
## Not run:
playWave(freq2wave(440))
## End(Not run)
[Package music version 0.1.2 Index]