How jdlmendi/adaptivemetronome works
Main Components
• Plugin Core:
• PluginProcessor – the central audio processing engine.
• PluginEditor – the graphical user interface (GUI) component where users manipulate simulation parameters and interact with the plug-in.
• Simulation/Model Components:
• EnsembleModel – the core simulation of the quartet, managing the timing and synchronization of the virtual musicians.
• Player and UserPlayer – implement behaviors for virtual and possibly real (user-controlled) players.
• Communication Interface:
• OSCHandler – to manage any Open Sound Control (OSC) messages for communication with external devices or software.
• Configuration Files (PropertiesForConfig.txt) – represent system configurations/settings that might be loaded at startup or during runtime.
Out the Relationships/Interactions
• Within the plug-in, illustrate that the PluginEditor (UI) communicates user commands and adjustments to the PluginProcessor.
• The PluginProcessor should be shown interfacing with the EnsembleModel to update the simulation state in real time.
• That the EnsembleModel then interacts with the Player and UserPlayer classes to execute the performance logic.
• The OSCHandler should be connected to both the PluginProcessor and the EnsembleModel (or even directly to the players if necessary) to show that it handles external OSC messages, providing additional control or synchronization cues.
Architectural Patterns / Design Principles
• Separation of concerns: the graphical interface (PluginEditor) is decoupled from the processing logic (PluginProcessor) and the simulation logic (EnsembleModel and related classes). This separation aligns with common patterns (such as MVC) in audio plug-in design.
• That the use of classes like OSCHandler underlines the plug-in’s extensibility in handling external communication protocols.
• How the simulation’s modular components (EnsembleModel, Player, UserPlayer) fit within the processing workflow.
Relevant Technologies, Frameworks, or Libraries
• JUCE framework: Underpins both the audio processing and UI aspects.
• Audio plug-in formats: AU (for Logic Pro) and VST3 (for Reaper).
• MIDI and OSC protocols: Emphasize that the project integrates these communication standards.