Change default volume to 80% to fill newfound headroom

This commit is contained in:
Jack Andersen 2016-07-03 17:35:37 -10:00
parent 3427515960
commit fe78a675d7
2 changed files with 10 additions and 1 deletions

View File

@ -132,7 +132,7 @@ struct AppCallback : boo::IApplicationCallback
int8_t m_lastChanProg = -1;
/* Control state */
float m_volume = 0.5f;
float m_volume = 0.8f;
float m_modulation = 0.f;
float m_pitchBend = 0.f;
bool m_updateDisp = false;

View File

@ -356,6 +356,15 @@ void Sequencer::setCtrlValue(uint8_t chan, uint8_t ctrl, int8_t val)
if (chan > 15)
return;
if (ctrl == 0x66)
{
printf("Loop Start\n");
}
else if (ctrl == 0x67)
{
printf("Loop End\n");
}
if (!m_chanStates[chan])
m_chanStates[chan].emplace(*this, chan);