render: Render a sonification score to sound

View source: R/render.R

renderR Documentation

Render a sonification score to sound

Description

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

Usage

  render(x, opts, file = "", ...)

Arguments

x

A score object created by .getScore

opts

the options of the original sonify object.

file

the file to save the rendering to. The default,"", plays the sonification in real time.

...

Arguments to pass to the specific render method.

Value

The length of the resulting sonification


statisfactions/playitbyr documentation built on Jan. 27, 2024, 1:33 p.m.