Audio File Input/Output
Synthesis ToolKit Introduction:
A Simple Example: Multi-Sample Computations
The sample computations performed by each STK class are generally implemented in a function called
Most STK unit generators take and/or produce monophonic data. Thus, the
function normally takes a single sample input value and/or outputs a single sample output value.
Overloaded versions of the
function exist to allow vectorized computations.
In a few cases, STK classes may input or output multi-channel data (ex.,
, and their subclasses).
In a multi-channel context, the
functions taking or returning
arguments output average values for all channels or input a single value to all channels.
arguments, on the other hand, expect multi-channel input/output data in the form of an
©2004-2020 McGill University. All Rights Reserved.
Gary P. Scavone