Eomys / MoSQITo

MoSQITo is a unified and modular development framework of key sound quality metrics favoring reproducible science and efficient shared scripting among engineers, teachers and researchers community.
Apache License 2.0
134 stars 44 forks source link

Question about C program source code #61

Open bk1412 opened 1 year ago

bk1412 commented 1 year ago

When I used the loudness_zwtv function to analyze some audio, I found that its running speed was very slow. The same is true for the roughness_dw function. I learned from the comments of the loudness_zwtv function that the mosqito project seems to have the source code of the C program version. Someone can provide it What, I want to improve the speed of operation by using the C program version of the function

there is the comments

"""Calculate Zwicker-loudness for time-varying signals Calculate the acoustic loudness according to Zwicker method for time-varying signals. Normatice reference: DIN 45631/A1:2010 ISO 532-1:2017 (method 2) The code is based on C program source code published alongside with ISO 532-1 standard.

mlotinga commented 1 year ago

The place to find software routines associated with standardised signal processing methods is https://standards.iso.org/iso/. For example, look in there for the 532 folder, and within each subfolder, a software tool (either C or Matlab depending on the corresponding part of the ISO) is provided.