From 14ba637d4bf4de3bed7a206c9ff885936d694741 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Wed, 7 Jul 2021 17:55:44 +0200 Subject: Expand the last comment once again --- nncmpp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/nncmpp.c b/nncmpp.c index 9902d9d..8115101 100644 --- a/nncmpp.c +++ b/nncmpp.c @@ -781,6 +781,7 @@ spectrum_init (struct spectrum *s, char *format, int bars, struct error **e) // having the amount of bins be strictly a factor of Nyquist / 20 (stemming // from the equation 20 = Nyquist / bins). Since log2(44100 / 2 / 20) > 10, // it would be fairly expensive, and somewhat slowly updating. Always. + // (Note that you can increase window overlap to get smoother framerates.) double audible_ratio = s->sampling_rate / 2. / 20000; s->bins = ceil (necessary_bins * MAX (audible_ratio, 1)); s->useful_bins = s->bins / 2; -- cgit v1.2.3