Split speech audio file on words in python

前端 未结 4 1528
无人及你
无人及你 2020-12-23 10:16

I feel like this is a fairly common problem but I haven\'t yet found a suitable answer. I have many audio files of human speech that I would like to break on words, which ca

4条回答
  •  时光取名叫无心
    2020-12-23 10:41

    pyAudioAnalysis can segment an audio file if the words are clearly separated (this is rarely the case in natural speech). The package is relatively easy to use:

    python pyAudioAnalysis/pyAudioAnalysis/audioAnalysis.py silenceRemoval -i SPEECH_AUDIO_FILE_TO_SPLIT.mp3 --smoothing 1.0 --weight 0.3
    

    More details on my blog.

提交回复
热议问题