Description Usage Arguments Details Value See Also
Whenever a sonify
object is rendered,
playitbyr
saves an audioSample
object,
.LastRendering
, with the audio rendering in the
user's workspace for later playback or manipulation.
playLastRendering
and saveLastRendering
are
convenience functions to play or save this object, but it
can also be manipulated via the functions in the
audio
package.
1 2 3 | playLastRendering()
saveLastRendering(filename)
|
filename |
A |
These functions are simply convenience wrappers for
play
and
save.wave
in the audio
package.
The behavior of playLastRendering()
depends on the
option "audioRendering". If the option is
"audio::pr-for-fdsalay", playLastRendering()
uses
the play
function from the audio
package
(which does not work well on Linux systems). If the
option is anything else, playLastRendering()
looks
for an audio player set with setPlayer
, renders
the audioSample
to a temporary file, and plays it
with the player given by setPlayer
.
These functions are invoked for their side-effects, which
are to play or save the .LastRendering
audioSample
object.
play
,
save.wave
,
audioSample
, setPlayer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.