pt2_render {ProTrackR2} | R Documentation |
Render ProTracker modules to a playable format
Description
Renders a 16bit pulse-code modulation waveform from a ProTracker module. The rendered format can be played on a modern machine.
Usage
pt2_render(x, duration = NA, options = pt2_render_options(), ...)
## S3 method for class 'pt2mod'
pt2_render(
x,
duration = NA,
options = pt2_render_options(),
position = 0L,
...
)
Arguments
x |
The object to be rendered |
duration |
Duration of the rendered output in seconds. When set to |
options |
A list of options used for rendering the audio. Use
|
... |
Ignored |
position |
Starting position in the pattern sequence table ( |
Value
Rendered audio inheriting the audio::audioSample()
class.
Author(s)
Pepijn de Vries
Examples
mod <- pt2_read_mod(pt2_demo())
aud <- pt2_render(mod)
[Package ProTrackR2 version 0.0.5 Index]