TriWave Function

Generates a curve of regular triangles


Description

The function TriWave generates a series of numbers representing regular triangles.


Syntax

Triwave (Length, Raise, Fall, Low, High)


Parameters

Length

Number of samples


Raise

Duration of the rising flank


Fall

Dexcept for the descending flank


Low

Lowest value


High

Highest value


Example