voxscribe

Extract text from .wav and .mp3 files.


Keywords
audio, speech, text
License
MIT
Install
pip install voxscribe==1.1.2

Documentation

voxscribe

Extract text from .wav and .mp3 files.
Install with:

pip install voxscribe

FFmpeg also needs to be installed and in your PATH.
It can be obtained here: https://ffmpeg.org/
Usage:

from voxscribe import get_text_from_url, get_text_from_WAV, get_text_from_MP3
# For web hosted audio (mp3 or wav needs to be specified in the second argument)
text = get_text_from_url("https://github.com/matt-manes/voxscribeTestAudio/blob/main/testaudio.mp3?raw=true", '.mp3')
#For local files
text = get_text_from_MP3('some/filePath/someAudio.mp3')
#or
text = get_text_from_WAV('some/other/filePath/someOtherAudio.wav')