lfo Signal Generators:Basic Oscillators lfo lfo A low frequency oscillator of various shapes. Description A low frequency oscillator of various shapes. Syntax kres lfo kamp, kcps [, itype] ares lfo kamp, kcps [, itype] Initialization itype (optional, default=0) -- determine the waveform of the oscillator. Default is 0. itype = 0 - sine itype = 1 - triangles itype = 2 - square (bipolar) itype = 3 - square (unipolar) itype = 4 - saw-tooth (unipolar - up) itype = 5 - saw-tooth (unipolar - down) The sine wave is implemented as a 4096 table and linear interpolation. The others are calculated. Performance kamp -- amplitude of output kcps -- frequency of oscillator Examples Here is an example of the lfo opcode. It uses the file lfo.csd. Example of the lfo 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 lfo opcode. It uses the file lfo-advanced.csd. Advanced example of the lfo opcode. See the sections Real-time Audio and Command Line Flags for more information on using command line flags. See also Basic Oscillators Credits Author: &namejohn; University of Bath/Codemist Ltd. Bath, UK November 1998 New in Csound version 3.491