poscil3 Signal Generators:Basic Oscillators poscil3 poscil3 High precision oscillator with cubic interpolation. Description High precision oscillator with cubic interpolation. poscil3 (precise oscillator) is the same as oscil3, but always employs floating-point table indexing, instead of integer math. It is only a bit slower than oscil3 when reading power-two size tables. Syntax ares poscil3 aamp, acps [, ifn, iphs] ares poscil3 aamp, kcps [, ifn, iphs] ares poscil3 kamp, acps [, ifn, iphs] ares poscil3 kamp, kcps [, ifn, iphs] ires poscil3 kamp, kcps [, ifn, iphs] kres poscil3 kamp, kcps [, ifn, iphs] Initialization ifn -- (optional) function table number. This defaults to -1 which indicates a sinewave. iphs (optional, default=0) -- initial phase (normalized table index 0-1). If a negative value is given initialisation of the phase is skipped. Performance ares -- output signal kamp, aamp -- the amplitude of the output signal. kcps, acps -- the frequency of the output signal in cycles per second. poscil3 works like poscil, but uses cubic interpolation. Examples Here is an example of the poscil3 opcode. It uses the file poscil3.csd. Example of the poscil3 opcode. See the sections Real-time Audio and Command Line Flags for more information on using command line flags. Here is another example of the poscil3 opcode, which uses a table filled from a sound file. It uses the file poscil3-file.csd . Another example of the poscil3 opcode. See also Basic Oscillators Credits Authors: &namejohn;, &namegabriel; Italy New in Csound version 3.52 variants with a-rate amplitude or frequency new in 5.16 Function table optional in Csound version 6.00 Skip of initialisation new in version 6.06