How normalised/prokmodulardrumeditor works
Main Components
a) Core Application Layer:
• ThonkModularApp as the main application entry point
• Metronome component for timing functionality
• ConfigKeys for application configuration management
b) UI Layer (Major Component):
• ModuleEditorView as the primary editing interface
• ModuleSelectorView for module selection
• ControlPanel for user controls
• PresetManagerUI for preset management
• QuadUI component
• BankLoader for loading sound banks
• MorphAndStorage for state management
c) Audio Module System:
• Different module types (Kick, Snare, Hihat, Clap)
• Parameter management system
• Default values handling
d) Tuning System:
• NoteMapper component for musical note mapping
Relationships and Data Flow
• User Interface → Core Application (control flow)
• Core Application → Module System (parameter control)
• Module System → Audio Output
• PresetManager ↔ File System (preset storage/loading)
• BankLoader ↔ Module System (sound bank management)
Technical Stack Elements
• Java-based core (shown by core.jar)
• JSSC library integration (jssc.jar)
• Logging framework (log4j, slf4j)
• ControlP5 library for UI controls
Additional Elements
• A configuration management section showing properties file interaction
• Work_dir structure for runtime data
• Parameter management system for each module type
• Relationship with the external module system (modules/ProkModularCore)
Critical Flows to Highlight
• Parameter editing flow: UI → Core → Module → Audio Output
• Preset management flow: UI → Storage → Module System
• Module selection and loading pathway
• Configuration and tuning system interaction