Fixing error with chorus in bitimbral mode.

pull/32/head
Holger Wirtz 4 years ago
parent 6bb5a024ab
commit fea4f16c6b
  1. 4
      MicroDexed.ino

@ -250,7 +250,7 @@ elapsedMillis midi_decay_timer;
#if defined(USE_FX)
// Allocate the delay lines for chorus
int16_t delayline[MOD_DELAY_SAMPLE_BUFFER][NUM_DEXED];
int16_t delayline[NUM_DEXED][MOD_DELAY_SAMPLE_BUFFER];
#endif
#ifdef ENABLE_LCD_UI
@ -385,7 +385,7 @@ void setup()
// Init effects
for (uint8_t instance_id = 0; instance_id < NUM_DEXED; instance_id++)
{
memset(delayline, 0, sizeof(delayline[instance_id]));
memset(delayline[instance_id], 0, sizeof(delayline[instance_id]));
if (!modchorus[instance_id]->begin(delayline[instance_id], MOD_DELAY_SAMPLE_BUFFER)) {
#ifdef DEBUG
Serial.print(F("AudioEffectModulatedDelay - begin failed ["));

Loading…
Cancel
Save