Phasor

Envelopes & ModphasorLight CPU

Rising 0→1 ramp at a set frequency (Hz).

What it does

Rising 0→1 ramp oscillator.

Wraps daisysp::Phasor. Process() returns the current phase (0→1) and wraps at the set frequency.

Parameters

  • Freq (Hz)

    freq
    Default 1Range 0.01 … 100

    How many times per second the ramp climbs from 0 to 1 and resets. Below about 20 Hz this is a modulation source and reads as a rising sweep; above it the ramp becomes an audible sawtooth. Applied per sample, so the port can be modulated — including by another Phasor, which is how you get sweeps that themselves speed up and slow down.

Raw rising ramp, 0→1, that resets each cycle. Use as a sweep, a phase source, or a saw-shaped LFO. Freq is per-sample (modulatable).

Ports

In

  • Freq freq

Out

  • Ramp ramp

Audio Control

Inputs

Freq
Ramp frequency in Hz.

Outputs

Ramp
Phase value, 0→1.