diff --git a/src/config.cpp b/src/config.cpp index 16571aa..d7d0980 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -47,10 +47,10 @@ void CConfig::Load (void) m_nDACI2CAddress = m_Properties.GetNumber ("DACI2CAddress", 0); m_bChannelsSwapped = m_Properties.GetNumber ("ChannelsSwapped", 0) != 0; - unsigned newVelocityScale = m_Properties.GetNumber ("VelocityScale", 1); - if (newVelocityScale == 2) { + unsigned newVelocityScale = m_Properties.GetNumber ("VelocityScale", 0); + if (newVelocityScale == 1) { m_VelocityScale = MIDI_VELOCITY_SCALING_DX7; - } else if (newVelocityScale == 3) { + } else if (newVelocityScale == 2) { m_VelocityScale = MIDI_VELOCITY_SCALING_DX7II; } else { m_VelocityScale = MIDI_VELOCITY_SCALING_OFF; diff --git a/src/minidexed.ini b/src/minidexed.ini index e230fae..e235ad7 100644 --- a/src/minidexed.ini +++ b/src/minidexed.ini @@ -10,8 +10,8 @@ SampleRate=48000 #ChunkSize=256 DACI2CAddress=0 ChannelsSwapped=0 -# VelocityScale: 0=OFF 1=DX7 2=DX7II -VelocityScale=0 +# VelocityScale ( 0=OFF ; 1=DX7 ; 2=DX7II ) +VelocityScale=0 # MIDI MIDIBaudRate=31250