@ -13,7 +13,7 @@
This program is distributed in the hope that it will be useful ,
This program is distributed in the hope that it will be useful ,
but WITHOUT ANY WARRANTY ; without even the implied warranty of
but WITHOUT ANY WARRANTY ; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
GNU General Public License for more details .
GNU General Public License for more details .
You should have received a copy of the GNU General Public License
You should have received a copy of the GNU General Public License
@ -252,16 +252,19 @@ uint8_t selected_instance_id = 0;
# ifdef TEENSY4
# ifdef TEENSY4
# if NUM_DEXED>1
# if NUM_DEXED>1
int8_t midi_decay [ NUM_DEXED ] = { - 1 , - 1 } ;
int8_t midi_decay [ NUM_DEXED ] = { - 1 , - 1 } ;
int perform_attack_mod [ NUM_DEXED ] = { 0 , 0 } ;
int perform_release_mod [ NUM_DEXED ] = { 0 , 0 } ;
# else
# else
int8_t midi_decay [ NUM_DEXED ] = { - 1 } ;
int8_t midi_decay [ NUM_DEXED ] = { - 1 } ;
int perform_attack_mod [ NUM_DEXED ] = { 0 } ;
int perform_release_mod [ NUM_DEXED ] = { 0 } ;
# endif
# endif
elapsedMillis midi_decay_timer ;
elapsedMillis midi_decay_timer ;
# endif
# endif
# if NUM_DEXED>1
int perform_attack_mod [ NUM_DEXED ] = { 0 , 0 } ;
int perform_release_mod [ NUM_DEXED ] = { 0 , 0 } ;
# else
int perform_attack_mod [ NUM_DEXED ] = { 0 } ;
int perform_release_mod [ NUM_DEXED ] = { 0 } ;
# endif
# if defined(USE_FX)
# if defined(USE_FX)
// Allocate the delay lines for chorus
// Allocate the delay lines for chorus
int16_t delayline [ NUM_DEXED ] [ MOD_DELAY_SAMPLE_BUFFER ] ;
int16_t delayline [ NUM_DEXED ] [ MOD_DELAY_SAMPLE_BUFFER ] ;