sawpulse()

sawpulse(x, mix)

Category

Oscillator / Waveshaper

Description

Blends saw and pulse behavior. The mix argument is normally 0.0 to 1.0, where lower values are more saw-like and higher values are more pulse-like.

Arguments

Typical Values

Shape/mix values are usually 0.0 to 1.0. Modulate slowly with param(), env(), or exp(-pos()/n) for moving timbre.

Example

sawpulse(X, 0.5)

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.