| playWave | R Documentation |
Use the command line audio::play function from the
audio package to play tuneR::Wave objects.
## S4 method for signature 'Wave'
playWave(wave, wait = T)
## S4 method for signature 'WaveMC'
playWave(wave, wait = T)
wave |
An object of class |
wait |
A |
As the tuneR package play-function relies on external
players, this method is provided as a convenient approach to play
samples in the R console, using the audio package. Wave
objects are played at the rate as specified in the object. Of course
you can also play the Wave objects with the tuneR implementation
of tuneR::play, by calling tuneR::play(wave).
Returns an audio::$.audioInstance.
Pepijn de Vries
Other play.audio.routines:
playMod(),
playSample()
## Not run:
data(mod.intro)
## PTSample objects can also be
## played with this function as they
## are a child of the Wave object:
playWave(PTSample(mod.intro, 2))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.