Hi Michi:
I've checked the code and I see that there are some issues if you attempt to make very small bandwidth bands. Here's what happens:
1. You specify a frequency X, say 100 Hz
2. Then I first determine the top to be 0.9 * freq .. 1.1 * freq, so 90-110 Hz. Let's call 90 'start' and 110 'end'.
3. Next, I draw a straight line from the 'end' frequency of the band below it (amplification 0) to the current band start freq (amplification 1).
So say the previous band was at 45 Hz, then the top would be at 40-50 Hz, and I would draw a line from (50 Hz, 0%) to (90 Hz, 100%)
From there it stays at 100% upto 110 Hz.
4. From the end point, a new line is drawn to the 'start' frequency of the next band.
Each frequency is rounded down to a multiple of 10.77 (more precisely, 44100 / 4096, assuming 44.1 kHz input; at 48 kHz input it would be 48000 / 4096). Very high frequency input levels are downsampled /2 or /4 before the processing start, so 192 kHz is treated here equal to 48 kHz.
So in the end (50 Hz, 0%) - (90 Hz, 100%) - (110 Hz, 100%) - (??? Hz, 0%) results in
(43.08 Hz, 0%) - (86.16 Hz, 0%) - (107.7 Hz, 100%) - (??? Hz, 0%).
In other words:
Quote:
So do I get with a written 64 Hz in .sts such a band head from 59 to 69 Hz (64 Hz centered) or from 55 to 65 Hz (with rounded 60 Hz as center) ?
Each frequency that results in the same rounded down end value is treated identically. So whether you write 44 Hz or 48 Hz or 52 Hz doesn't matter (at least not at 44.1 kHz...)
One more thing: If "Flat Frequency response" is enabled, the band is first compressed/limited based on the entire signal (that is, (50%, 100%) - (??? Hz, 100%)), and only afterwards the reduction on the sides is performed.