gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

commit 7598a237c15e1f0bae160a1b4f2eb06b52b1a7ef
parent 62a6ee5950d5a17dfd3a158d13d1a0918bc1ea69
Author: Tal Aviram <me@talaviram.com>
Date:   Tue, 17 Aug 2021 19:12:41 +0300

controller - add func to check is multi mode.

Diffstat:
Msource/jucePlugin/VirusController.h | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/source/jucePlugin/VirusController.h b/source/jucePlugin/VirusController.h @@ -31,9 +31,10 @@ namespace Virus // bank - 0-1 (AB) juce::StringArray getSinglePresetNames(int bank) const; juce::StringArray getMultiPresetsName() const; + bool isMultiMode() { return getParam(0, 2, 0x7a)->getValue(); } - private: - void timerCallback() override; + private: + void timerCallback() override; static constexpr size_t kDataSizeInBytes = 256; // same for multi and single