HarmonicOsc:
Filter:
Classes (extension) | UGens > Oscillator

HarmonicOsc : UGen : AbstractFunction : Object
ExtensionExtension

16 voice harmonic oscillator

Description

16 voice harmonic oscillator.

Original code by E. Gillet. Revisted by Ben Sergentanis for the DaisySP DSP library. Ported to SuperCollider by Mads Kjeldgaard.

Class Methods

HarmonicOsc.ar(freq: 100, firstharmonic: 1, amplitudes)

HarmonicOsc.kr(freq: 100, firstharmonic: 1, amplitudes)

Arguments:

freq

Frequency of f0 in hz.

firstharmonic

Offset the set of harmonics so that "harmonic 0" becomes the value of this argument. Values between 1 and 16.

amplitudes

An array of length 16 containing amplitudes for each oscillator.

Inherited class methods

Instance Methods

Inherited instance methods

Examples