Your ROOT_URL in app.ini is https://source.parasitstudio.de:63000/ but you are visiting https://source.parasitstudio.de/wirtz/MicroDexed/commit/42c1b02b67227cdb94f048880fe8f46f433ee60a You should set ROOT_URL correctly, otherwise the web may not work correctly.

Changed encoder handling at bank borders to change to the next bank.

pull/4/head
Holger Wirtz 7 years ago
parent 951e1f421e
commit 42c1b02b67
  1. 20
      UI.cpp

@ -153,9 +153,25 @@ void handle_ui(void)
ui_main_state = UI_MAIN_VOICE_SELECTED;
case UI_MAIN_VOICE_SELECTED:
if (enc[i].read() <= 0)
enc[i].write(0);
{
if (bank > 0)
{
enc[i].write(MAX_VOICES - 1);
bank--;
}
else
enc[i].write(0);
}
else if (enc[i].read() > MAX_VOICES - 1)
enc[i].write(MAX_VOICES - 1);
{
if (bank < MAX_BANKS - 1)
{
enc[i].write(0);
bank++;
}
else
enc[i].write(MAX_VOICES - 1);
}
voice = enc[i].read();
load_sysex(bank, voice);
autostore_sound = 0;

Loading…
Cancel
Save