render: Render a sonification score to sound

Description Usage Arguments Details Value

Description

render is a generic which takes a score object created by .getScore and renders it to sound.

Usage

1
  render(x, audioSample = FALSE, ...)

Arguments

x

A score object created by .getScore

audioSample

Logical indicating whether to return an audioSample object containing the from the object.

...

Arguments to pass to the specific render method.

Details

The class of the score object x determinines object, which determines the render method called. Currently only "audio" is available for a rendering method, but plans for csound are in the works.

Value

If audioSample=TRUE, an audioSample object containing the sound of the rendering; otherwise NULL


playitbyr documentation built on May 2, 2019, 6:08 p.m.

Related to render in playitbyr...