Use Non-Frames Version Previous Page Next Page
Signal Generators: Sample Playback

lposcil, lposcil3

  ar      lposcil    kamp, kfreqratio, kloop, kend, ifn [,iphs]
  ar      lposcil3   kamp, kfreqratio, kloop, kend, ifn [,iphs]

Description

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

Initialization

ifn – function table number

iphs (optional) – initial phase of sampling, expressed as a fraction of a cycle (0 to 1). The default value is 0.

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.

Author

Gabriel Maldonado (lposcil)
Italy
1998 (New in Csound version 3.52)

John ffitch (lposcil3)
University of Bath/Codemist Ltd.
Bath, UK
February, 1999 (New in Csound version 3.52)


Use Non-Frames Version Previous Page Next Page
Signal Generators: Sample Playback