Przeglądaj źródła

Allow 2.4 second delay effect on Teensy 4.0

dds
PaulStoffregen 6 lat temu
rodzic
commit
9712139aed
1 zmienionych plików z 4 dodań i 1 usunięć
  1. +4
    -1
      effect_delay.h

+ 4
- 1
effect_delay.h Wyświetl plik

#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__)

Ładowanie…
Anuluj
Zapisz