oscil1iSignal Generators:Table Accessoscil1ioscil1i
Accesses table values by incremental sampling with linear interpolation.
Description
Accesses table values by incremental sampling with linear interpolation.
Syntaxkres oscil1i idel, kamp, idur [, ifn]Initializationidel -- delay in seconds before oscil1i incremental sampling begins.
idur -- duration in seconds to sample
through the oscil1i table just once. A
negative value will make the table be read from the end to the beginning.
ifn -- (optional) function table
number. oscil1i requires the extended guard
point. The default value is -1 indicating a sine wave.
Performancekamp -- amplitude factor
oscil1i is an interpolating unit in which the fractional part of index is used to interpolate between adjacent table entries. The smoothness gained by interpolation is at some small cost in execution time (see also oscili, etc.), but the interpolating and non-interpolating units are otherwise interchangeable.
Examples
Here is an example of the oscil1i opcode. It uses the file oscil1i.csd.
Example of the oscil1i opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.See AlsoTable Access