How baconpaul/six-sines works
Main Components
a. Plugin Host Integration Layer
• CLAP plugin interface (src/clap directory)
• Audio processing pipeline
• MIDI/MPE input handling
b. Synthesis Engine Core (src/dsp and src/synth directories)
• Voice management system
• Modulation matrix
• Signal processing components
• Patch management system
c. User Interface Layer (src/ui directory)
• Editor components
• Parameter bindings
• Preset management
• Visual feedback system
Key Architectural Elements
[Host DAW]
• ↕
[Plugin Interface Layer (CLAP)]
• ↕
[Synthesis Engine]
• ↓
[Voice Management]
• ↓
[Modulation Matrix]
• ↕
[UI Layer]
Specific Implementation Details to Highlight
a. Core Components:
• Matrix node system (matrix_node.h)
• Sine table implementation (sintable.h)
• Voice management (voice.h, voice_values.h)
• Modulation matrix (mod_matrix.h)
• Patch system (patch.h)
b. UI Components:
• Main editor panel
• Matrix panel
• Source panel
• Mixer panel
• Preset manager
Important Relationships
• Data flow between the modulation matrix and voice engine
• Parameter automation paths
• Preset loading/saving workflow
• Audio signal path
• Control signal path
Technical Details
• Integration with SST libraries (shown as external dependencies)
• CLAP plugin architecture
• Resource management for factory patches
• MPE support system