How imdansable/sim works
Main Components
a) Core Module System:
• Plugin.cpp and plugin.hpp as the entry point
• Shared components (Shared.cpp/hpp) as a common utilities layer
b) Module Categories (Group these visually):
Expandables
• Via (voltage buffer)
• Arr (voltage buffer)
• Bank (gates buffer)
• Phi (voltage sequencer)
• Spike (gates sequencer)
Expanders
• ReX (buffer manipulation)
• InX (input processing)
• OutX (output processing)
• GaitX (sequencer control)
• ModX (modulation)
Standalone Modules
• Tie (legato processor)
• Coerce (voltage quantizer)
Component Relationships
[VCV Rack Plugin Interface]
• ↓
[Plugin Core (plugin.cpp)]
• ↓
[Shared Components]
• ↙ ↓ ↘
[Expandables] [Expanders] [Standalone]
b) Data flow between components:
Important Architectural Elements
a) Component System:
• Displays, knobs, lights, ports, and switches
b) Helper System:
• Helpers/ directory components as a utility layer
• ModuleIterator and SliderQuantity
c) Biexpander System:
• Connection management and state handling
Technical Details
a) Buffer Types:
• Voltage Buffers (float values)
• Gate Buffers (boolean values)
b) Data Flow Patterns:
• Transformation chain for expanders
• Input → processing → output flow
Additional Elements
a) Resource Management:
• Res/ directory structure for assets
• Relationship to different themes (dark/light/vapor)
b) Build System:
• Build workflow from .github/workflows
• Relationship to plugin.json configuration