lposcilSignal Generators:Sample Playbacklposcillposcil
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.
Syntaxares lposcil kamp, kfreqratio, kloop, kend, ifn [, iphs]Initializationifn -- function table number
Performancekamp -- 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 alsoSample PlaybackCreditsAuthor: &namegabriel;ItalyNew in Csound version 3.52