| sonscaling | R Documentation |
sonify objectssonscaling() is invoked in the call to
sonify or added onto it in order to specify
precisely how the data parameters are mapped onto sonic
parameters. It is most easy to use via the scale_
convenience functions, such as
scale_time_continuous.
sonscaling(...)
... |
See Details section. |
Each argument of sonscaling is in the form of a
list, where the first element is the minimum value of the
sonic parameter, the second is the maximum, and the third
is a function that maps the data column onto the range of
the sonic parameter. The only such function included with
playitbyr right now is linear_scale.
A sonscaling object
sonify where this is eventually used;
sonaes for defining the which data columns
get mapped onto these sonic parameters;
linear_scale for an example of a scaling
function.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.