Small fixes.

pull/7/head
Holger Wirtz 5 years ago
parent 35222fe302
commit 69cdb158fd
  1. 5
      MicroDexed.ino
  2. 5
      UI.hpp
  3. 4
      config.h

@ -46,7 +46,6 @@ AudioAnalyzePeak peak1;
//AudioPlayQueue queue1; //AudioPlayQueue queue1;
AudioSourceMicroDexed* MicroDexed[NUM_DEXED]; AudioSourceMicroDexed* MicroDexed[NUM_DEXED];
AudioEffectDelay delay1; AudioEffectDelay delay1;
AudioEffectModulatedDelay modchorus; AudioEffectModulatedDelay modchorus;
AudioSynthWaveform modulator; AudioSynthWaveform modulator;
@ -80,7 +79,6 @@ AudioConnection patchCord17(delay1, 0, master_mixer_r, 2);
AudioConnection patchCord18(delay1, 0, master_mixer_l, 2); AudioConnection patchCord18(delay1, 0, master_mixer_l, 2);
AudioConnection patchCord19(master_mixer_r, volume_r); AudioConnection patchCord19(master_mixer_r, volume_r);
AudioConnection patchCord20(master_mixer_l, volume_l); AudioConnection patchCord20(master_mixer_l, volume_l);
AudioConnection patchCord21(volume_r, 0, stereomono1, 0); AudioConnection patchCord21(volume_r, 0, stereomono1, 0);
AudioConnection patchCord22(volume_l, 0, stereomono1, 1); AudioConnection patchCord22(volume_l, 0, stereomono1, 1);
#ifdef AUDIO_DEVICE_USB #ifdef AUDIO_DEVICE_USB
@ -162,10 +160,9 @@ config_t configuration;
bool eeprom_update_flag = false; bool eeprom_update_flag = false;
// Allocate the delay lines for left and right channels // Allocate the delay lines for chorus
short delayline[MOD_DELAY_SAMPLE_BUFFER]; short delayline[MOD_DELAY_SAMPLE_BUFFER];
#ifdef ENABLE_LCD_UI #ifdef ENABLE_LCD_UI
/*********************************************************************** /***********************************************************************
LCDMenuLib2 LCDMenuLib2

@ -1121,14 +1121,14 @@ void UI_func_delay_time(uint8_t param)
{ {
if (configuration.delay_time < DELAY_TIME_MAX) if (configuration.delay_time < DELAY_TIME_MAX)
{ {
configuration.delay_time += 10; configuration.delay_time += 1;
} }
} }
else if (LCDML.BT_checkUp()) else if (LCDML.BT_checkUp())
{ {
if (configuration.delay_time > DELAY_TIME_MIN) if (configuration.delay_time > DELAY_TIME_MIN)
{ {
configuration.delay_time -= 10; configuration.delay_time -= 1;
} }
} }
@ -1136,6 +1136,7 @@ void UI_func_delay_time(uint8_t param)
lcd_display_int(configuration.delay_time * 10, 3, true, true, false); lcd_display_int(configuration.delay_time * 10, 3, true, true, false);
delay1.delay(0, configuration.delay_time * 10); delay1.delay(0, configuration.delay_time * 10);
lcd.print(F(" ms"));
} }
if (LCDML.FUNC_close()) // ****** STABLE END ********* if (LCDML.FUNC_close()) // ****** STABLE END *********

@ -83,7 +83,7 @@
#define MOD_WAVEFORM WAVEFORM_TRIANGLE // WAVEFORM_SINE WAVEFORM_TRIANGLE WAVEFORM_SAWTOOTH WAVEFORM_SAWTOOTH_REVERSE #define MOD_WAVEFORM WAVEFORM_TRIANGLE // WAVEFORM_SINE WAVEFORM_TRIANGLE WAVEFORM_SAWTOOTH WAVEFORM_SAWTOOTH_REVERSE
#define MOD_FILTER_OUTPUT MOD_LINKWITZ_RILEY_FILTER_OUTPUT // MOD_LINKWITZ_RILEY_FILTER_OUTPUT MOD_BUTTERWORTH_FILTER_OUTPUT MOD_NO_FILTER_OUTPUT #define MOD_FILTER_OUTPUT MOD_LINKWITZ_RILEY_FILTER_OUTPUT // MOD_LINKWITZ_RILEY_FILTER_OUTPUT MOD_BUTTERWORTH_FILTER_OUTPUT MOD_NO_FILTER_OUTPUT
#define MOD_FILTER_CUTOFF_HZ 3000 #define MOD_FILTER_CUTOFF_HZ 3000
//#define USE_REVERB 1 #define USE_REVERB 1
//************************************************************************************************* //*************************************************************************************************
//* AUDIO SOFTWARE SETTINGS //* AUDIO SOFTWARE SETTINGS
@ -228,7 +228,7 @@
// Teensy-3.6 settings // Teensy-3.6 settings
#define MIDI_DEVICE_USB_HOST 1 #define MIDI_DEVICE_USB_HOST 1
#if defined(USE_REVERB) #if defined(USE_REVERB)
#define MAX_NOTES 14 #define MAX_NOTES 12
#else #else
#define MAX_NOTES 16 #define MAX_NOTES 16
#endif #endif

Loading…
Cancel
Save