Is there a python library I could use to convert audio to phonemes?

1.8k Views Asked by At

I'm working on a project for which I need to convert audio to phonemes. What I'm looking for is something like this. I would be good if along with the phonemes I could also get the timestamps at which they occur

enter image description here

1

There are 1 best solutions below

0
Jonathan Coletti On

Have a look at Allosaurus, a universal (~2000 lang) phone recognizer to give you IPA phonemes. On a sample wave file, I did downloaded the latest model and tried this in Python3.

python3 -m allosaurus.bin.download_model -m latest
python3 -m allosaurus.run -i sample.wav

taken from convert sound to list of phonemes in python