Add note about careful selection of samplerate

This commit is contained in:
cnlohr 2023-01-20 02:18:55 -05:00
parent 0e78f44265
commit 95435d2918

View file

@ -52,7 +52,7 @@ int lasty = 1000;
int main() int main()
{ {
#define FSPS 22100 #define FSPS 22100 // Careful, this matters! It is selected to avoid periodic peaks encountered with DC offsets.
#define OCTAVES 6 #define OCTAVES 6
#define BPERO 24 #define BPERO 24
#define BASE_FREQ 22.5 #define BASE_FREQ 22.5