synctri()

synctri(x, ratio)

Category

Oscillator / Waveshaper

Description

Hard-sync style triangle oscillator. It gives a softer synced tone than syncsaw while still creating animated harmonic movement.

Arguments

Typical Values

Ratio values around 0.1 to 8.0 are typical. Sweep the ratio with env() or param() for classic hard-sync motion.

Example

synctri(X, 1.5+3.0*param(2))

Notes

For pitched oscillator functions, X already contains the current MIDI note pitch and transpose information. Prefer saw(X), sin(X), or pwm(X, 0.4) unless you intentionally want an octave or ratio shift such as 0.5*X or 2*X.