Description Usage Arguments Details Value See Also
sonscaling()
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. Currently, only continuous scales are
supported.
1 |
... |
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
.
scaleShortcuts
provides a more intuitive
interface to defining scales.
A sonscaling
object that
sonify
where this is eventually used;
sonaes
for defining the which data columns
get mapped onto these sonic parameters;
scaleShortcuts
for easy shortcut functions
for common use-cases of scaling; and
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.