Fixing errors.

master
Holger Wirtz 6 years ago
parent 498bdd2502
commit ca47f6852a
  1. 2
      UI.hpp
  2. 5
      mdaEPiano.cpp
  3. 2
      mdaEPiano.h

@ -1180,9 +1180,7 @@ void callback_midi_soft_thru_function()
menu_system.change_menu(midi_soft_thru_menu);
menu_position[SYSTEM] = encoder_value[RIGHT_ENCODER];
encoder_value[RIGHT_ENCODER] = configuration.midi_soft_thru;
Serial.print("XXXXXX");Serial.println(configuration.midi_soft_thru,DEC);
enc[RIGHT_ENCODER].write(configuration.midi_soft_thru, ENC_MIDI_SOFT_THRU_MIN, ENC_MIDI_SOFT_THRU_MAX);
Serial.print("YYYYYYYY");Serial.println(configuration.midi_soft_thru,DEC);
menu_system.update();
}

@ -35,8 +35,9 @@ mdaEPiano::mdaEPiano() // mdaEPiano::mdaEPiano(audioMasterCallback audioMaster)
{
Fs = SAMPLE_RATE; iFs = 1.0f / Fs; //just in case...
/*
programs = new mdaEPianoProgram[NPROGS];
/*
if (programs)
{
//fill patches...
@ -104,6 +105,8 @@ mdaEPiano::mdaEPiano() // mdaEPiano::mdaEPiano(audioMasterCallback audioMaster)
//initialise...
reset_voices();
curProgram = 0;
}
void mdaEPiano::reset_voices(void) // reset all voices

@ -112,7 +112,7 @@ class mdaEPiano
float tune, fine, random, stretch, overdrive;
float muff, muffvel, sizevel, velsens, volume, modwhl;
float vol;
const uint8_t curProgram = 0;
uint8_t curProgram;
};
#endif

Loading…
Cancel
Save