[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-dev] [wslib] magResponse incorrect for MidEQ?



This seems wrong:

MidEQ.magResponse(512, 44100, 344.51, 1.41, -4.67).plot;

x = MidEQ.magResponse(512, 44100, 344.51, 1.41, -4.67);
x.plot;  // dip is very far to the right, but 344 is not a high frequency
x.minIndex;  // 459

But, where does the center frequency fall in the freqs array?

(..512).linexp(0,512-1, 20, 22000).indexInBetween(344.51)
--> 207.69

But:

x = BPeakEQ.magResponse(512, 44100, 344.51, 1.41, -4.67);
x.minIndex;
--> 208

hjh



_______________________________________________
sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/