Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 829 Bytes

README.md

File metadata and controls

14 lines (9 loc) · 829 Bytes

MFCC-based Acoustic Distance

This module is a Python implementation of the acoustic distance as described in Bartelds et al. (2020). At its core, it applies dynamic time warping upon audio that is represented as Mel-frequency cepstral coefficients, which additionally go through a number or pre- and post-processing steps. The module can be imported and used as below, where the audio should be wav files:

from acoustic_distance.acoustic_distance import acoustic_distance

acoustic_distance("C:/Users/USER/Downloads/ipa_vowels/a.wav", "C:/Users/USER/Downloads/ipa_vowels/e.wav")

The result of the above would yield 10.494419525578806.

References

Bartelds, M., Richter, C., Liberman, M., & Wieling, M. (2020). A new acoustic-based pronunciation distance measure. Frontiers in Artificial Intelligence, 3, 39.