writeCsoundScore: Write a Csound score file, given lists of i and f statements

View source: R/writeCsoundScore.R

writeCsoundScoreR Documentation

Write a Csound score file, given lists of i and f statements

Description

Sometimes you want to write data to a Csound score file, either for rendering later or for when you want to render to a sound file. This is principally intended to be called by createPerformance.

Usage

  writeCsoundScore(i, f, outfile = NULL)

Arguments

i

A list of matrix objects. Each matrix is the instructions for a single instrument. Each row of the matrix is an i statement, which instructs Csound to make an instrument active at a specific time and for a certain duration, and with certain parameters (p-fields). These p-fields are interpreted in the order of the columns of the matrix.

f

A list of numeric vectors; these create the function tables Csound uses for oscillators and various other uses.

outfile

The name of the file to write to. If codeNULL, the default, the score is written to a temporary file.

Value

The file name that the score was written to.


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