shape_csound: Create arbitrary csound layer

View source: R/shape-csound.R

shape_csoundR Documentation

Create arbitrary csound layer

Description

Creates a layer that can use an arbitrary csound file as its orchestra (for advanced Csound users).

Usage

  shape_csound(...)

Arguments

...

Settings or mappings to pass to sonlayer. See Details.

Details

The orchestra file is not actually specified in the layer, it's specified in sonopts. The following parameters are available for setting or mapping:

inst

The number of the Csound instrument to be played

start

The starting time of the note (in seconds)

dur

The duration of the note (in seconds)

p4 thru p20

Additional numbered p-fields, currently available up through p20.

Value

A sonlayer object that can be added onto a sonify object.


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