play | R Documentation |
A wrapper for tuneR()
-package's tuneR::play()
routine. Allowing it to play
Amiga audio (for instance stored in an 8SVX Interchange File Format).
## S4 method for signature 'ANY'
play(object, player = NULL, ...)
## S4 method for signature 'IFFChunk'
play(object, player = NULL, ...)
object |
An |
player |
Path to the external audio player. See |
... |
Arguments passed onto the tuneR |
A wrapper for tuneR()
-package's tuneR::play()
routine. It will try to play
audio using an external audio player. When 8SVX audio is played, each octave is played separately.
When a FORM container contains multiple 8SVX samples, they are also played successively.
Note that a separate package is developed to interpret and play ProTracker modules and samples
(ProTrackR()
).
Returns a list of data returned by tuneR's tuneR::play()
, for which the output
is undocumented.
Pepijn de Vries
## Not run:
## First get an audio sample from the ProTrackR package
snare.samp <- ProTrackR::PTSample(ProTrackR::mod.intro, 2)
## Coerce it into an IFFChunk object:
snare.iff <- WaveToIFF(snare.samp)
## Play the 8SVX sample:
play(snare.iff)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.