Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After improving THD+N and THD functions, make tests tolerances tighter #30

Open
endolith opened this issue Jun 28, 2024 · 0 comments
Open

Comments

@endolith
Copy link
Owner

endolith commented Jun 28, 2024

They are OK, but could be better?

audiocheck.net_thd_1000_0.wav 0.0
Computed THDN: 0.00005, Expected THDN: 0.00000

audiocheck.net_thd_1000_0001.wav 0.001
Computed THDN: 0.00005, Expected THDN: 0.00001

audiocheck.net_thd_1000_0005.wav 0.005
Computed THDN: 0.00009, Expected THDN: 0.00005

audiocheck.net_thd_1000_001.wav 0.01
Computed THDN: 0.00015, Expected THDN: 0.00010

audiocheck.net_thd_1000_005.wav 0.05
Computed THDN: 0.00060, Expected THDN: 0.00050

audiocheck.net_thd_1000_01.wav 0.1
Computed THDN: 0.00110, Expected THDN: 0.00100

audiocheck.net_thd_1000_05.wav 0.5
Computed THDN: 0.00504, Expected THDN: 0.00500

audiocheck.net_thd_1000_1.wav 1.0
Computed THDN: 0.01005, Expected THDN: 0.01000

audiocheck.net_thd_1000_5.wav 5.0
Computed THDN: 0.04998, Expected THDN: 0.05000

audiocheck.net_thd_125_0.wav 0.0
Computed THDN: 0.00005, Expected THDN: 0.00000

audiocheck.net_thd_125_0001.wav 0.001
Computed THDN: 0.00005, Expected THDN: 0.00001

audiocheck.net_thd_125_0005.wav 0.005
Computed THDN: 0.00007, Expected THDN: 0.00005

audiocheck.net_thd_125_001.wav 0.01
Computed THDN: 0.00012, Expected THDN: 0.00010

audiocheck.net_thd_125_005.wav 0.05
Computed THDN: 0.00050, Expected THDN: 0.00050

audiocheck.net_thd_125_01.wav 0.1
Computed THDN: 0.00101, Expected THDN: 0.00100

audiocheck.net_thd_125_05.wav 0.5
Computed THDN: 0.00500, Expected THDN: 0.00500

audiocheck.net_thd_125_1.wav 1.0
Computed THDN: 0.01003, Expected THDN: 0.01000

audiocheck.net_thd_125_5.wav 5.0
Computed THDN: 0.04994, Expected THDN: 0.05000

audiocheck.net_thd_250_0.wav 0.0
Computed THDN: 0.00005, Expected THDN: 0.00000

audiocheck.net_thd_250_0001.wav 0.001
Computed THDN: 0.00005, Expected THDN: 0.00001

audiocheck.net_thd_250_0005.wav 0.005
Computed THDN: 0.00007, Expected THDN: 0.00005

audiocheck.net_thd_250_001.wav 0.01
Computed THDN: 0.00012, Expected THDN: 0.00010

audiocheck.net_thd_250_005.wav 0.05
Computed THDN: 0.00050, Expected THDN: 0.00050

audiocheck.net_thd_250_01.wav 0.1
Computed THDN: 0.00101, Expected THDN: 0.00100

audiocheck.net_thd_250_05.wav 0.5
Computed THDN: 0.00501, Expected THDN: 0.00500

audiocheck.net_thd_250_1.wav 1.0
Computed THDN: 0.01003, Expected THDN: 0.01000

audiocheck.net_thd_250_5.wav 5.0
Computed THDN: 0.04994, Expected THDN: 0.05000

audiocheck.net_thd_31_0.wav 0.0
Computed THDN: 0.00004, Expected THDN: 0.00000

audiocheck.net_thd_31_0001.wav 0.001
Computed THDN: 0.00005, Expected THDN: 0.00001

audiocheck.net_thd_31_0005.wav 0.005
Computed THDN: 0.00007, Expected THDN: 0.00005

audiocheck.net_thd_31_001.wav 0.01
Computed THDN: 0.00012, Expected THDN: 0.00010

audiocheck.net_thd_31_005.wav 0.05
Computed THDN: 0.00050, Expected THDN: 0.00050

audiocheck.net_thd_31_01.wav 0.1
Computed THDN: 0.00101, Expected THDN: 0.00100

audiocheck.net_thd_31_05.wav 0.5
Computed THDN: 0.00500, Expected THDN: 0.00500

audiocheck.net_thd_31_1.wav 1.0
Computed THDN: 0.01003, Expected THDN: 0.01000

audiocheck.net_thd_31_5.wav 5.0
Computed THDN: 0.04994, Expected THDN: 0.05000

audiocheck.net_thd_500_0.wav 0.0
Computed THDN: 0.00005, Expected THDN: 0.00000

audiocheck.net_thd_500_0001.wav 0.001
Computed THDN: 0.00005, Expected THDN: 0.00001

audiocheck.net_thd_500_0005.wav 0.005
Computed THDN: 0.00008, Expected THDN: 0.00005

audiocheck.net_thd_500_001.wav 0.01
Computed THDN: 0.00013, Expected THDN: 0.00010

audiocheck.net_thd_500_005.wav 0.05
Computed THDN: 0.00051, Expected THDN: 0.00050

audiocheck.net_thd_500_01.wav 0.1
Computed THDN: 0.00101, Expected THDN: 0.00100

audiocheck.net_thd_500_05.wav 0.5
Computed THDN: 0.00501, Expected THDN: 0.00500

audiocheck.net_thd_500_1.wav 1.0
Computed THDN: 0.01001, Expected THDN: 0.01000

audiocheck.net_thd_500_5.wav 5.0
Computed THDN: 0.05009, Expected THDN: 0.05000

audiocheck.net_thd_62_0.wav 0.0
Computed THDN: 0.00005, Expected THDN: 0.00000

audiocheck.net_thd_62_0001.wav 0.001
Computed THDN: 0.00005, Expected THDN: 0.00001

audiocheck.net_thd_62_0005.wav 0.005
Computed THDN: 0.00007, Expected THDN: 0.00005

audiocheck.net_thd_62_001.wav 0.01
Computed THDN: 0.00012, Expected THDN: 0.00010

audiocheck.net_thd_62_005.wav 0.05
Computed THDN: 0.00050, Expected THDN: 0.00050

audiocheck.net_thd_62_01.wav 0.1
Computed THDN: 0.00101, Expected THDN: 0.00100

audiocheck.net_thd_62_05.wav 0.5
Computed THDN: 0.00500, Expected THDN: 0.00500

audiocheck.net_thd_62_1.wav 1.0
Computed THDN: 0.01003, Expected THDN: 0.01000

audiocheck.net_thd_62_5.wav 5.0
Computed THDN: 0.04994, Expected THDN: 0.05000

Art Ludwig files:

440Hz.wav
Computed THDN: 0.00216, Expected THDN: 0.00000

440SE.wav
Computed THDN: 5.06487, Expected THDN: 5.00000

440SS.wav
Computed THDN: 0.51237, Expected THDN: .50000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant