Use Non-Frames Version Previous Page Next Page
Signal Generators: Basic Oscillators

lfo

  kr      lfo        kamp, kcps[, itype]
  ar      lfo        kamp, kcps[, itype]

Description

A low frequency oscillator of various shapes.

Initialization

itype - determine the waveform of the oscillator. Default is 0.

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

Example

instr 1
kp    lfo  10, 5, 4
ar    oscil  p4, p5+kp, 1
      out  ar
endin

Author

John ffitch
University of Bath/Codemist Ltd.
Bath, UK
November, 1998 (New in Csound version 3.491)


Use Non-Frames Version Previous Page Next Page
Signal Generators: Basic Oscillators