OLD | NEW |
1 Test Basic IIRFilterNode Operation | 1 Test Basic IIRFilterNode Operation |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS createIIRFilter with normalized coefficients did not throw an exception. | 6 PASS createIIRFilter with normalized coefficients did not throw an exception. |
7 PASS createIIRFilter with unnormalized coefficients did not throw an exception. | 7 PASS createIIRFilter with unnormalized coefficients did not throw an exception. |
8 PASS Output of IIR filter with unnormalized coefficients equals [1,-0.8999999761
581421,0.8100000023841858,-0.7289999723434448,0.6560999751091003,-0.590489983558
6548,0.5314409732818604,-0.4782969057559967,0.4304672181606293,-0.38742047548294
07,0.34867843985557556,-0.3138105869293213,0.2824295461177826,-0.254186570644378
66,0.22876793146133423,-0.20589113235473633,...] with an element-wise tolerance
of 2.1958e-38. | 8 PASS Output of IIR filter with unnormalized coefficients equals [1,-0.8999999761
581421,0.8100000023841858,-0.7289999723434448,0.6560999751091003,-0.590489983558
6548,0.5314409732818604,-0.4782969057559967,0.4304672181606293,-0.38742047548294
07,0.34867843985557556,-0.3138105869293213,0.2824295461177826,-0.254186570644378
66,0.22876793146133423,-0.20589113235473633,...] with an element-wise tolerance
of 2.1958e-38. |
9 PASS IIRFilter coefficients correctly normalized. | 9 PASS IIRFilter coefficients correctly normalized. |
10 | 10 |
11 PASS IIR 1-zero output equals [0.5,0.5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,...] with an
element-wise tolerance of 0. | 11 PASS IIR 1-zero output equals [0.5,0.5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,...] with an
element-wise tolerance of 0. |
12 PASS IIR 1-pole output equals [1,-0.9,0.81,-0.7290000000000001,0.656100000000000
1,-0.5904900000000002,0.5314410000000002,-0.47829690000000014,0.4304672100000001
6,-0.38742048900000015,0.34867844010000015,-0.31381059609000017,0.28242953648100
017,-0.25418658283290013,0.22876792454961012,-0.2058911320946491,...] with an el
ement-wise tolerance of {absoluteThreshold: 0, relativeThreshold: 5.723e-8}. | 12 PASS IIR 1-pole output equals [1,-0.9,0.81,-0.7290000000000001,0.656100000000000
1,-0.5904900000000002,0.5314410000000002,-0.47829690000000014,0.4304672100000001
6,-0.38742048900000015,0.34867844010000015,-0.31381059609000017,0.28242953648100
017,-0.25418658283290013,0.22876792454961012,-0.2058911320946491,...] with an el
ement-wise tolerance of {absoluteThreshold: 0, relativeThreshold: 5.723e-8}. |
13 PASS IIRFilter for Biquad lowpass equals [0.00052084,0.0025955,0.0067179,0.01285
0,0.020949,0.030969,0.042863,0.056577,0.072058,0.089246,0.10808,0.12850,0.15044,
0.17382,0.19859,0.22467,...] with an element-wise tolerance of {absoluteThreshol
d: 0, relativeThreshold: 0.0000415}. | 13 PASS IIRFilter for Biquad lowpass equals [0.00052089,0.0025959,0.0067191,0.01285
3,0.020955,0.030980,0.042881,0.056604,0.072096,0.089298,0.10815,0.12859,0.15055,
0.17397,0.19877,0.22488,...] with an element-wise tolerance of {absoluteThreshol
d: 0, relativeThreshold: 0.000049834}. |
14 PASS SNR for IIRFIlter for Biquad lowpass is greater than or equal to 91.222. | 14 PASS SNR for IIRFIlter for Biquad lowpass is greater than or equal to 91.221. |
15 PASS IIRFilter for Biquad highpass equals [0.99220,0.97568,0.95737,0.93733,0.915
63,0.89234,0.86753,0.84127,0.81364,0.78472,0.75459,0.72332,0.69100,0.65772,0.623
54,0.58857,...] with an element-wise tolerance of {absoluteThreshold: 0.0000029,
relativeThreshold: 0.00003}. | 15 PASS IIRFilter for Biquad highpass equals [0.99229,0.97595,0.95782,0.93795,0.916
41,0.89328,0.86861,0.84249,0.81499,0.78619,0.75616,0.72499,0.69276,0.65954,0.625
43,0.59051,...] with an element-wise tolerance of {absoluteThreshold: 0.0000029,
relativeThreshold: 0.00003}. |
16 PASS SNR for IIRFIlter for Biquad highpass is greater than or equal to 107.246. | 16 PASS SNR for IIRFIlter for Biquad highpass is greater than or equal to 105.459. |
17 PASS IIRFilter for Biquad bandpass equals [0.0022847,0.0068389,0.011358,0.015833
,0.020254,0.024612,0.028899,0.033106,0.037224,0.041246,0.045163,0.048967,0.05265
2,0.056209,0.059632,0.062915,...] with an element-wise tolerance of {absoluteThr
eshold: 2e-7, relativeThreshold: 0.00087}. | 17 PASS IIRFilter for Biquad bandpass equals [0.0022847,0.0068389,0.011358,0.015833
,0.020254,0.024612,0.028899,0.033106,0.037224,0.041246,0.045163,0.048967,0.05265
2,0.056209,0.059632,0.062915,...] with an element-wise tolerance of {absoluteThr
eshold: 2e-7, relativeThreshold: 0.00087}. |
18 PASS SNR for IIRFIlter for Biquad bandpass is greater than or equal to 104.06. | 18 PASS SNR for IIRFIlter for Biquad bandpass is greater than or equal to 104.06. |
19 PASS IIRFilter for Biquad notch equals [0.99772,0.99316,0.98864,0.98417,0.97975,
0.97539,0.97110,0.96689,0.96278,0.95875,0.95484,0.95103,0.94735,0.94379,0.94037,
0.93708,...] with an element-wise tolerance of {absoluteThreshold: 0, relativeTh
reshold: 0.0000422}. | 19 PASS IIRFilter for Biquad notch equals [0.99772,0.99316,0.98864,0.98417,0.97975,
0.97539,0.97110,0.96689,0.96278,0.95875,0.95484,0.95103,0.94735,0.94379,0.94037,
0.93708,...] with an element-wise tolerance of {absoluteThreshold: 0, relativeTh
reshold: 0.0000422}. |
20 PASS SNR for IIRFIlter for Biquad notch is greater than or equal to 91.312. | 20 PASS SNR for IIRFIlter for Biquad notch is greater than or equal to 91.312. |
21 PASS IIRFilter for Biquad allpass equals [0.99543,0.98632,0.97728,0.96833,0.9594
9,0.95078,0.94220,0.93379,0.92555,0.91751,0.90967,0.90207,0.89470,0.88758,0.8807
4,0.87417,...] with an element-wise tolerance of {absoluteThreshold: 0, relative
Threshold: 0.0000431}. | 21 PASS IIRFilter for Biquad allpass equals [0.99543,0.98632,0.97728,0.96833,0.9594
9,0.95078,0.94220,0.93379,0.92555,0.91751,0.90967,0.90207,0.89470,0.88758,0.8807
4,0.87417,...] with an element-wise tolerance of {absoluteThreshold: 0, relative
Threshold: 0.0000431}. |
22 PASS SNR for IIRFIlter for Biquad allpass is greater than or equal to 91.319. | 22 PASS SNR for IIRFIlter for Biquad allpass is greater than or equal to 91.319. |
23 PASS IIRFilter for Biquad lowshelf equals [1.0191,1.0576,1.0966,1.1362,1.1763,1.
2168,1.2575,1.2986,1.3398,1.3812,1.4227,1.4642,1.5057,1.5471,1.5884,1.6296,...]
with an element-wise tolerance of {absoluteThreshold: 0, relativeThreshold: 0.00
00298}. | 23 PASS IIRFilter for Biquad lowshelf equals [1.0191,1.0576,1.0966,1.1362,1.1763,1.
2168,1.2575,1.2986,1.3398,1.3812,1.4227,1.4642,1.5057,1.5471,1.5884,1.6296,...]
with an element-wise tolerance of {absoluteThreshold: 0, relativeThreshold: 0.00
00298}. |
24 PASS SNR for IIRFIlter for Biquad lowshelf is greater than or equal to 90.609. | 24 PASS SNR for IIRFIlter for Biquad lowshelf is greater than or equal to 90.609. |
25 PASS IIRFilter for Biquad highshelf equals [3.1031,2.9859,2.8713,2.7596,2.6507,2
.5450,2.4425,2.3434,2.2476,2.1553,2.0665,1.9812,1.8995,1.8214,1.7467,1.6756,...]
with an element-wise tolerance of {absoluteThreshold: 0, relativeThreshold: 0.0
000124}. | 25 PASS IIRFilter for Biquad highshelf equals [3.1031,2.9859,2.8713,2.7596,2.6507,2
.5450,2.4425,2.3434,2.2476,2.1553,2.0665,1.9812,1.8995,1.8214,1.7467,1.6756,...]
with an element-wise tolerance of {absoluteThreshold: 0, relativeThreshold: 0.0
000124}. |
26 PASS SNR for IIRFIlter for Biquad highshelf is greater than or equal to 103.159. | 26 PASS SNR for IIRFIlter for Biquad highshelf is greater than or equal to 103.159. |
27 PASS IIRFilter for Biquad peaking equals [1.0028,1.0083,1.0138,1.0193,1.0247,1.0
301,1.0354,1.0406,1.0456,1.0506,1.0555,1.0602,1.0648,1.0693,1.0736,1.0777,...] w
ith an element-wise tolerance of {absoluteThreshold: 0, relativeThreshold: 0.000
0505}. | 27 PASS IIRFilter for Biquad peaking equals [1.0028,1.0083,1.0138,1.0193,1.0247,1.0
301,1.0354,1.0406,1.0456,1.0506,1.0555,1.0602,1.0648,1.0693,1.0736,1.0777,...] w
ith an element-wise tolerance of {absoluteThreshold: 0, relativeThreshold: 0.000
0505}. |
28 PASS SNR for IIRFIlter for Biquad peaking is greater than or equal to 91.504. | 28 PASS SNR for IIRFIlter for Biquad peaking is greater than or equal to 91.504. |
29 PASS Max difference between IIR and Biquad on channel 0 is less than or equal to
0.000037671. | 29 PASS Max difference between IIR and Biquad on channel 0 is less than or equal to
0.000037671. |
30 PASS Max difference between IIR and Biquad on channel 1 is less than or equal to
0.000030071. | 30 PASS Max difference between IIR and Biquad on channel 1 is less than or equal to
0.000030071. |
31 PASS Max difference between IIR and Biquad on channel 2 is less than or equal to
0.000026241. | 31 PASS Max difference between IIR and Biquad on channel 2 is less than or equal to
0.000026241. |
32 PASS IIRFilter correctly processed 3-channel input. | 32 PASS IIRFilter correctly processed 3-channel input. |
33 PASS 4-th order IIRFilter (biquad ref) equals [2.6800e-7,0.0000021286,0.00000843
72,0.000022949,0.000049452,0.000091471,0.00015227,0.00023485,0.00034194,0.000475
98,0.00063917,0.00083341,0.0010603,0.0013213,0.0016175,0.0019496,...] with an el
ement-wise tolerance of {absoluteThreshold: 8.4e-8, relativeThreshold: 5e-7}. | 33 PASS 4-th order IIRFilter (biquad ref) equals [2.6831e-7,0.0000021317,0.00000845
27,0.000023002,0.000049588,0.000091769,0.00015285,0.00023587,0.00034360,0.000478
56,0.00064299,0.00083884,0.0010678,0.0013314,0.0016307,0.0019666,...] with an el
ement-wise tolerance of {absoluteThreshold: 1.59e-7, relativeThreshold: 0.000021
1}. |
34 PASS SNR of 4-th order IIRFilter (biquad ref) is greater than or equal to 110.68
4. | 34 PASS SNR of 4-th order IIRFilter (biquad ref) is greater than or equal to 108.94
7. |
35 PASS successfullyParsed is true | 35 PASS successfullyParsed is true |
36 | 36 |
37 TEST COMPLETE | 37 TEST COMPLETE |
38 | 38 |
OLD | NEW |