mirror of
https://codeberg.org/armin/rmx-19.git
synced 2026-10-11 16:51:55 +02:00
re-structure menu, darken UI
This commit is contained in:
parent
b03dc2e0c4
commit
4b44841049
16 changed files with 1217 additions and 304 deletions
|
|
@ -37,10 +37,11 @@ public:
|
|||
|
||||
PresetBank& getBank() { return bank; }
|
||||
SynthEngine& getEngine() { return engine; }
|
||||
int getPatchIndex() const noexcept { return patchIndex; }
|
||||
int getPatchIndex() const noexcept { return patchIndex; }
|
||||
void selectPatch (int i);
|
||||
int getActiveVoices() const noexcept { return engine.activeVoices(); }
|
||||
juce::uint32 getLastMidiTime() const noexcept { return lastMidi; }
|
||||
float getOutputLevel() const noexcept { return outMeter; }
|
||||
float getCpu() const noexcept { return cpu; }
|
||||
|
||||
private:
|
||||
|
|
@ -51,12 +52,16 @@ private:
|
|||
class FxEngine;
|
||||
std::unique_ptr<FxEngine> fx;
|
||||
|
||||
class ArpEngine;
|
||||
std::unique_ptr<ArpEngine> arp;
|
||||
|
||||
PresetBank bank;
|
||||
SynthEngine engine;
|
||||
int patchIndex = 0;
|
||||
int lastPatchParam = 0;
|
||||
juce::uint32 lastMidi = 0;
|
||||
float cpu = 0.0f;
|
||||
float outMeter = 0.0f; // smoothed output peak, written on the audio thread
|
||||
float dcL = 0.0f, dcR = 0.0f, dcPrevL = 0.0f, dcPrevR = 0.0f;
|
||||
juce::AudioBuffer<float> osBuf; // internal 2x oversample target (HQ mode)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue