Skip to main content

Module pulse

Module pulse 

Source
Expand description

Tempo-synced pulse envelopes.

f64 throughout — critical for long-running playback, because FunDSP’s hacker (f64) internal time counter advances by ~2e-5 per sample at 48 kHz, which f32 can’t represent past ~5 minutes. Keeping these functions in f64 guarantees stable phase for hours.

Functions§

arp_offset_semitones
Deterministic pentatonic arpeggiator step in semitones.
beat_phase
phrase_phase
pulse_decay
pulse_sine