RESOLVED FIXED 199876
[GTK] webaudio tests fail despite seemingly producing the exact expected results
https://bugs.webkit.org/show_bug.cgi?id=199876
Summary [GTK] webaudio tests fail despite seemingly producing the exact expected results
Alicia Boya García
Reported 2019-07-17 12:27:00 PDT
The following tests are failing on GTK since around r246107 webaudio/oscillator-custom.html webaudio/oscillator-sawtooth.html webaudio/oscillator-sine.html webaudio/oscillator-square.html webaudio/oscillator-triangle.html Interestingly though, these are audio tests (instead of text tests or image tests), and the test tool claims a huge mismatch: https://build.webkit.org/results/GTK%20Linux%2064-bit%20Release%20(Tests)/r247512%20(10978)/results.html Sample #3622 < 9503 --- > 9504 Sample #7829 < 8243 --- > 8242 Sample #9686 < -6077 --- > -6076 Sample #11126 < -5946 --- > -5947 Sample #13515 < -62 --- > -63 Sample #15674 < 7894 [...] But after taking both the actual and expected files, adding them to different tracks on Audacity, inverting one and playing the result, I couldn't hear anything. They look equal, sound equal, and the histogram shows them as pretty equal too.
Attachments
Comparison of the waves, seemingly no difference (165.77 KB, image/png)
2019-07-17 12:33 PDT, Alicia Boya García
no flags
Alicia Boya García
Comment 1 2019-07-17 12:33:33 PDT
Created attachment 374317 [details] Comparison of the waves, seemingly no difference
Philippe Normand
Comment 2 2019-07-23 09:37:56 PDT
Most likely these need port specific expectations.
Philippe Normand
Comment 3 2020-10-26 06:19:58 PDT
Rebaselined in r268972
Note You need to log in before you can comment on or make changes to this bug.