From 58748364ac12714ea791baf6b750cb38332866b5 Mon Sep 17 00:00:00 2001 From: Holger Wirtz Date: Fri, 13 Jan 2017 19:46:16 +0100 Subject: [PATCH] Fixed wrong initialization data for pitch-bend. --- src/dexed.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dexed.cpp b/src/dexed.cpp index eca188f..5417e83 100644 --- a/src/dexed.cpp +++ b/src/dexed.cpp @@ -49,8 +49,8 @@ Dexed::Dexed(double rate) : lvtk::Synth(p_n_ports, p_midi_in) currentNote = 0; controllers.values_[kControllerPitch] = 0x2000; - controllers.values_[kControllerPitchRange] = data[156]; - controllers.values_[kControllerPitchStep] = data[157]; + controllers.values_[kControllerPitchRange] = data[155]; + controllers.values_[kControllerPitchStep] = data[156]; controllers.modwheel_cc = 0; controllers.foot_cc = 0; controllers.breath_cc = 0;