Minim
core | ugens | analysis
 

Waves

squareh

Description

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

Signature

Wavetable squareh(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