MAX_DELAY float value

Anyone has an idea on the value of MAX_DELAY?

please see my lines below. I need to determine the value of “maxtime” and “mintime”. I am new to Daisy, and Arduino serial monitor doesn’t work on my end. Thank you folks!

float m = (float)MAX_DELAY - .05 * sample_rate;
float maxtime = (1023 / 1023.f) * m + .05 * sample_rate;
float mintime = (0 / 1023.f) * m + .05 * sample_rate;

Here’s what is used in MultiDelay/MultiDelay.cpp:

#define MAX_DELAY static_cast<size_t>(48000 * 1.f)

1 Like