Skip to content

Commit a207420

Browse files
committed
feat(audio): musical modes + octave band compression + 17-EDO pitch classes
Quintenzirkel-inspired module mapping Base17 golden step to musical structure: modes.rs: 7 musical modes (Ionian→Locrian) mapped to highheelbgz strides: Ionian=Gate(8), Dorian=V(5), Phrygian=QK(3), Lydian=Up(2), Mixolydian=Down(4), Aeolian=QK(3), Locrian=Gate(8) Mode::tension() for HHTL skip threshold modulation. mode_band_weights() for spectral coloring per mode. circle_of_fifths_progression() and minor_progression(). Octave band compression (from user insight): Same tone across octaves = one transposed band modulation. OctaveBand: canonical 3-element pattern + octave offset (u8). transpose(): shift octaves, pattern stays identical. compress_to_octaves(): 21 bands → 7 OctaveBand triplets. from_fundamental(): harmonic decay rate → pattern. PitchClass17: 17-EDO circle of fifths via golden step (11/17): gcd(11,17)=1 → visits all 17 pitch classes without repetition. Same generator that Base17 golden-step walk uses for 17 dimensions. Maps to thinking-engine Qualia17D dims (arousal, valence, tension...). 10 tests passing. Links to QPL calibration from thinking-engine. https://claude.ai/code/session_01NYGrxVopyszZYgLBxe4hgj
1 parent 15602a9 commit a207420

2 files changed

Lines changed: 476 additions & 0 deletions

File tree

src/hpc/audio/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ pub mod pvq;
1919
pub mod codec;
2020
pub mod mel;
2121
pub mod voice;
22+
pub mod modes;

0 commit comments

Comments
 (0)