148 std::unique_ptr<FilterSection> filter_section_1_;
149 std::unique_ptr<FilterSection> filter_section_2_;
151 std::unique_ptr<SampleSection> sample_section_;
A no-op stub implementation used when authentication is disabled.
Definition authentication.h:163
An interface for objects that need to respond to changes in the FilterSection.
Definition filter_section.h:39
A graphical user interface component representing a filter section in the synthesizer.
Definition filter_section.h:25
Listener interface for receiving oscillator section changes.
Definition oscillator_section.h:41
A UI section representing an oscillator in the synthesizer.
Definition oscillator_section.h:32
Interface for receiving events when the sample destination changes.
Definition sample_section.h:30
A UI section for managing and editing a sample source.
Definition sample_section.h:24
Base class for all synthesizer sections, providing UI layout, painting, and interaction logic.
Definition synth_section.h:193
A top-level synthesis section that combines oscillators, samples, and filters.
Definition synthesis_interface.h:21
FilterSection * getFilterSection2()
Gets the second filter section.
Definition synthesis_interface.h:138
void sampleDestinationChanged(SampleSection *section, int destination) override
Called when the sample routing destination changes.
Definition synthesis_interface.cpp:121
SynthesisInterface(Authentication *auth, const vital::output_map &mono_modulations, const vital::output_map &poly_modulations)
Constructs the SynthesisInterface.
Definition synthesis_interface.cpp:9
virtual ~SynthesisInterface()
Destructor.
Definition synthesis_interface.cpp:33
const OscillatorSection * getOscillatorSection(int index) const
Gets a const pointer to a given oscillator section.
Definition synthesis_interface.h:119
void paintBackground(Graphics &g) override
Paints the background of the synthesis interface.
Definition synthesis_interface.cpp:35
void distortionTypeChanged(OscillatorSection *section, int type) override
Called when the distortion type changes in one of the oscillators.
Definition synthesis_interface.cpp:71
void sampleInputToggled(FilterSection *section, bool on) override
Called when sample input to a filter is toggled.
Definition synthesis_interface.cpp:116
OscillatorSection * getOscillatorSection(int index)
Gets a non-const pointer to a given oscillator section.
Definition synthesis_interface.h:145
void setFocus()
Gives keyboard focus to this interface.
Definition synthesis_interface.h:56
void oscInputToggled(FilterSection *section, int index, bool on) override
Called when oscillator input to a filter is toggled.
Definition synthesis_interface.cpp:111
FilterSection * getFilterSection1()
Gets the first filter section.
Definition synthesis_interface.h:132
Slider * getWaveFrameSlider(int index)
Gets a pointer to the wave frame slider for a given oscillator.
Definition synthesis_interface.h:105
void setWavetableName(int index, String name)
Sets the name (e.g. wavetable name) for a given oscillator.
Definition synthesis_interface.h:126
void resized() override
Handles component resizing and lays out child components.
Definition synthesis_interface.cpp:39
void visibilityChanged() override
Called when the visibility of this interface changes. Used here to load browser states for oscillator...
Definition synthesis_interface.cpp:64
void filterSerialSelected(FilterSection *section) override
Called when a filter section changes to serial routing.
Definition synthesis_interface.cpp:104
Rectangle< int > getOscillatorBounds(int index)
Gets the bounds of a given oscillator section.
Definition synthesis_interface.h:112
void oscillatorDestinationChanged(OscillatorSection *section, int destination) override
Called when the oscillator routing destination changes.
Definition synthesis_interface.cpp:93
constexpr int kNumOscillators
Number of oscillators available in Vital.
Definition synth_constants.h:16
std::map< std::string, Output * > output_map
Maps parameter names to Output pointers, representing output signals from various modules.
Definition synth_types.h:229