Minim
core | ugens | analysis
 

Waves

triangleh

Description

Builds an approximation of a perfect triangle wave by summing together harmonically related sine waves.

Signature

Wavetable triangleh(int numberOfHarmonics)

Parameters

numberOfHarmonics — int: the number of harmonics to use in the approximation. 1 harmonic will simply generate a sine wave. The greater the number of harmonics used, the closer to a pure saw wave the approximation will be.

Returns

a Wavetable

Related

Waves
Wavetable
Waveform

Example

None available

Usage

Web & Application