How chinenual/synergize works
Main Components
a. Frontend Layer:
• Web-based UI (located in /resources/app)
• Static assets (CSS, JavaScript, images)
• Multiple view components (VCE, CRT viewers, preferences, diagnostics)
b. Backend Layer:
• Core Go application
• Multiple command-line tools (dx2syn, dump, tojson)
• Data handling modules
• I/O communication layer
c. External Interfaces:
• Serial communication with DKI Synergy synthesizer
• OSC (Open Sound Control) interface
• MIDI sequencing capabilities
Key Architectural Elements
[User Interface Layer]
[Application Core]
[Communication Layer]
[External Hardware/Interfaces]
Specific Components to Highlight
a. Data Processing:
• Voice file handling (/data)
• DX7 conversion utilities (/dx2syn)
• Cart file management
• MIDI sequencing (/seq)
b. Communication:
• Serial interface (/io)
• Socket communication
• OSC protocol support (/osc)
• Zeroconf service discovery
c. Testing Infrastructure:
• UI tests (/uitest)
• Data conversion tests
• Mock interfaces
Key Relationships
• Frontend to Backend communication
• Data flow between core components and file system
• Hardware communication paths
• Test infrastructure integration
Implementation Details
[Web UI Layer]
• HTML/JS/CSS components
• Voice editors
• Cart managers
• Preference panels
[Application Core]
• Voice data processing
• File management
• Configuration handling
• Conversion utilities
[Communication Layer]
• Serial interface
• Socket handling
• OSC protocol
• MIDI sequencing
[External Systems]
• DKI Synergy synthesizer
• File system
• MIDI devices