From 42db705ba8aa982b5faf18d7aaa1b605535befcb Mon Sep 17 00:00:00 2001 From: Greg Recco <127459177+gregrecco67@users.noreply.github.com> Date: Wed, 10 Jul 2024 18:24:52 -0400 Subject: [PATCH] version bump --- CMakeLists.txt | 2 +- Source/Synth.cpp | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 12f057c..50bf581 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,7 +13,7 @@ foreach(module_name IN ITEMS gin gin_dsp gin_graphics gin_gui gin_plugin gin_sim set_property (TARGET "${module_name}" APPEND PROPERTY LABELS Gin) endforeach() -set(VersionString 1.1.1) +set(VersionString 1.1.2) juce_add_plugin (${PROJECT_NAME} PRODUCT_NAME "Audible Planets" diff --git a/Source/Synth.cpp b/Source/Synth.cpp index a53909c..0ad0b8d 100644 --- a/Source/Synth.cpp +++ b/Source/Synth.cpp @@ -88,14 +88,15 @@ std::vector APSynth::getMSEG4Phases() { void APSynth::handleMidiEvent(const juce::MidiMessage& m) { MPESynthesiser::handleMidiEvent(m); - if (m.isNoteOn()) { - proc.newRand(); - } - if (m.isSysEx()) { - MTS_ParseMIDIDataU(proc.client, m.getSysExData(), m.getSysExDataSize()); + if (MTS_HasMaster(proc.client)) + MTS_ParseMIDIDataU(proc.client, m.getSysExData(), m.getSysExDataSize()); } + if (m.isNoteOn()) { + proc.newRand(); + } + if (m.isController()) { if (m.getControllerNumber() == 1) { proc.modMatrix.setMonoValue(proc.modSrcModwheel, float(m.getControllerValue()) / 127.0f);