|
|
|
@ -345,8 +345,8 @@ |
|
|
|
|
#define USE_TEENSY_DSP 1 |
|
|
|
|
|
|
|
|
|
// HELPER MACROS
|
|
|
|
|
#define TIME_MS2SAMPLES(x) floor(uint32_t(x) * AUDIO_SAMPLE_RATE / 1000) |
|
|
|
|
#define SAMPLES2TIME_MS(x) float(uint32_t(x) * 1000 / AUDIO_SAMPLE_RATE) |
|
|
|
|
#define TIME_MS2SAMPLES(x) floor(uint32_t(x) * AUDIO_SAMPLE_RATE / 1000) * sizeof(int16_t) |
|
|
|
|
#define SAMPLES2TIME_MS(x) float(uint32_t(x) * 1000 / AUDIO_SAMPLE_RATE * sizeof(int16_t) |
|
|
|
|
// Modulated delay options
|
|
|
|
|
#define MOD_NO_FILTER_OUTPUT 0 |
|
|
|
|
#define MOD_BUTTERWORTH_FILTER_OUTPUT 1 |
|
|
|
|