Small fix for JSON_BUFFER_SIZE.

Exchangeing parametric EQ to HI/LOPASS for band 1 and 7.
pull/89/head
Holger Wirtz 3 years ago
parent fa7b347726
commit 58bf98d255
  1. 2
      MicroDexed.ino
  2. 3
      config.h
  3. 4
      control_sgtl5000plus.h

@ -301,7 +301,7 @@ void create_audio_drum_chain(uint8_t instance_id)
}
#endif
StaticJsonDocument<JSON_BUFFER> data_json;
StaticJsonDocument<JSON_BUFFER_SIZE> data_json;
uint8_t sd_card = 0;
Sd2Card card;
SdVolume volume;

@ -626,14 +626,13 @@
#define EQ_6_MIN -99
#define EQ_6_MAX 99
#define EQ65_DEFAULT 0
#define EQ_6_DEFAULT 0
#define EQ_7_MIN -99
#define EQ_7_MAX 99
#define EQ_7_DEFAULT 0
// Buffer-size define for load/save configuration as JSON
#define JSON_BUFFER_SIZE 8192
// Internal configuration structure

@ -28,7 +28,7 @@
#include <Arduino.h>
#include <Audio.h>
#define EQ_TYPE_0 FILTER_PARAEQ
#define EQ_TYPE_0 FILTER_HIPASS
#define EQ_CENTER_FRQ_0 50.0
#define EQ_Q_0 0.5
@ -52,7 +52,7 @@
#define EQ_CENTER_FRQ_5 7000.0
#define EQ_Q_5 0.5
#define EQ_TYPE_6 FILTER_PARAEQ
#define EQ_TYPE_6 FILTER_LOPASS
#define EQ_CENTER_FRQ_6 10000.0
#define EQ_Q_6 0.5

Loading…
Cancel
Save