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.

Constants§

SCALE_BHAIRAVI
SCALE_MAJOR_PENT
Deterministic pentatonic arpeggiator step in semitones.
SCALE_MINOR_PENT

Functions§

arp_offset_semitones
beat_phase
phrase_phase
pulse_decay
pulse_sine
scale_for