Browse Source

Allow 2.4 second delay effect on Teensy 4.0

dds
PaulStoffregen 5 years ago
parent
commit
9712139aed
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      effect_delay.h

+ 4
- 1
effect_delay.h View File

#include "AudioStream.h" #include "AudioStream.h"
#include "utility/dspinst.h" #include "utility/dspinst.h"


#if defined(__MK66FX1M0__)
#if defined(__IMXRT1062__)
// 2.41 second maximum on Teensy 4.0
#define DELAY_QUEUE_SIZE (106496 / AUDIO_BLOCK_SAMPLES)
#elif defined(__MK66FX1M0__)
// 2.41 second maximum on Teensy 3.6 // 2.41 second maximum on Teensy 3.6
#define DELAY_QUEUE_SIZE (106496 / AUDIO_BLOCK_SAMPLES) #define DELAY_QUEUE_SIZE (106496 / AUDIO_BLOCK_SAMPLES)
#elif defined(__MK64FX512__) #elif defined(__MK64FX512__)

Loading…
Cancel
Save