On Sat, Jan 15, 2011 at 07:47:55PM +0000, [email protected] wrote:
> For a 20Hz signal I'm getting -3 degrees error at 96kHz but -37
> degrees at 192kHz. Not done any sweeps yet, just spot measurements.
> If this is different from yours, it's probably something I've done
> in porting the code over to a VST....
That means you are using the filter coefficients (_c1..._c4) as
computed by prepare() for 96 kHz also at 192 kHz. That won't work.
Try this as the input to prepare() for 192 kHz:
float Allpass22::quad192real [4] = { 41.0f, 4.00f, 5.80e3f, 3.44f };
float Allpass22::quad192imag [4] = { 157.0f, 3.65f, 19.00e3f, 3.21f };
Should be within +/- 5 degrees over the audio band.
When I find the time (that is after having finished the complete
rewiring of the Sala dei Concerti, written my LAC2011 paper, sorted
out some troubles with the Belgian tax authorities, and done some
work on other projects) I'll try a 6th order version wich should
be somewhat easier to optimise for arbitrary sample rates. :-)
Ciao,
--
FA
There are three of them, and Alleline.
_______________________________________________
Sursound mailing list
[email protected]
https://mail.music.vt.edu/mailman/listinfo/sursound