lposcil

lposcil, lposcil3 — Read sampled sound from a table with optional looping and high precision.

Description

Read sampled sound (mono or stereo) from a table, with optional sustain and release looping, and high precision.

Syntax

ares lposcil kamp, kfreqratio, kloop, kend, ifn [, iphs]

Initialization

ifn -- function table number

Performance

kamp -- amplitude

kfreqratio -- multiply factor of table frequency (for example: 1 = original frequency, 1.5 = a fifth up , .5 = an octave down)

kloop -- loop point (in samples)

kend -- end loop point (in samples)

lposcil (looping precise oscillator) allows varying at k-rate, the starting and ending point of a sample contained in a table (GEN01). This can be useful when reading a sampled loop of a wavetable, where repeat speed can be varied during the performance.

See Also

lposcil3, lposcila, lposcilsa, lposcilsa2

Credits

Author: Gabriel Maldonado
Italy

New in Csound version 3.52