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 fbc7d2b31998db202d6c82a8c84ce18f7133ca55
parent ba4030dbd9f32620d78c19841fc57a7d4a52943d
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date:   Fri,  2 Aug 2024 01:43:35 +0200

fix wrong midi returned for any part > 0

Diffstat:
Msource/nord/n2x/n2xLib/n2xstate.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source/nord/n2x/n2xLib/n2xstate.h b/source/nord/n2x/n2xLib/n2xstate.h @@ -61,7 +61,7 @@ namespace n2x template<typename TDump> static uint8_t getPartMidiChannel(const TDump& _dump, const uint8_t _part) { - return getMultiParam(_dump, SlotAMidiChannel, _part); + return getMultiParam(_dump, static_cast<MultiParam>(SlotAMidiChannel + _part), 0); } uint8_t getMultiParam(const MultiParam _param, const uint8_t _part) const