Description Usage Arguments Details Value See Also
Methods to print and alter sonify objects. Printing a
sonify object renders it to sound (analogously to how
printing ggplot objects renders them to screen in
the ggplot2 package).
1 2 3 4 5 6 7 8 |
x,object |
A |
y |
A |
... |
Ignored. |
The print method for sonify objects not
only renders them to sound, it also creates an
audioSample object (from the audio
package), .LastRendering, in the user's workspace.
.LastRendering is the output of the sonification
and can be replayed or saved to a .wav file
without regenerating the sonification from scratch with
the convenience functions playLastRendering
and saveLastRendering.
+ and %+% both return a sonify object
with the relevant y value added into the object.
print.sonify is called for its side-effect, which
is to actually render the object to a sound.
summary.sonify prints a brief summary of the name
of the dataset to be sonified, and the specified mappings
and scalings of sonic values to data parameters.
sonify for the creation of these objects;
%+% for adding or replacing a default
data.frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.