Skip to main content

SCALE_MAJOR_PENT

Constant SCALE_MAJOR_PENT 

Source
pub const SCALE_MAJOR_PENT: [f64; 5];
Expand description

Deterministic pentatonic arpeggiator step in semitones.

Every beats_per_step beats the pitch jumps to a new scale note drawn pseudo-randomly from the major pentatonic [0, 2, 4, 7, 9] keyed on seed + step_index. depth in [0, 1] scales the result — 0 returns 0, 1 returns the full chosen semitone offset, so you can dial from static pitch to full melodic range without a click.

Combine with a follow(0.08) on the freq control to glide between steps (portamento) instead of stepping discretely. Scale mode for the arpeggiator. Higher numbers = more exotic. 0 Major pent [0, 2, 4, 7, 9] — optimistic, default 1 Minor pent [0, 3, 5, 7, 10] — melancholic, Blade-Runner-ish 2 Bhairavi [0, 1, 4, 5, 7] — raga, exotic