lposcil Signal Generators:Sample Playback lposcil lposcil Read sampled sound from a table with looping and high precision. Description Read sampled sound (mono or stereo) from a table, with 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 -- start 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. Examples Here is an example of the lposcil opcode. It uses the file lposcil.csd. Example of the lposcil opcode. See the sections Real-time Audio and Command Line Flags for more information on using command line flags. See also Sample Playback Credits Author: &namegabriel; Italy New in Csound version 3.52