Transcribes audio Bible chapters and splits them into individual verse audio files.
pip install openai-whisper pydub fuzzywuzzy
Edit parameters in main.py:
language = 'es' # Audio language
audio_file = 'audio/esp/MAT/1.mp3' # Can point to audio file, folder containing files, or folder containing book folders containing files
start_verse = 'mat 1:1' # First verse (of input audio file)
end_verse = 'mat 1:25' # Last verse (of input audio file)
ebible = 'spa-spaRV1909' # Bible version (must be same translation as audio)
audio_output_folder = 'audio/output' # Output directory (will automatically create folders for books/chapters if needed)
Run:
python main.py
8 commits
1 commits
Python
100.0%
Transcribes audio Bible chapters and splits them into individual verse audio files.
pip install openai-whisper pydub fuzzywuzzy
Edit parameters in main.py:
language = 'es' # Audio language
audio_file = 'audio/esp/MAT/1.mp3' # Can point to audio file, folder containing files, or folder containing book folders containing files
start_verse = 'mat 1:1' # First verse (of input audio file)
end_verse = 'mat 1:25' # Last verse (of input audio file)
ebible = 'spa-spaRV1909' # Bible version (must be same translation as audio)
audio_output_folder = 'audio/output' # Output directory (will automatically create folders for books/chapters if needed)
Run:
python main.py
8 commits
1 commits
Python
100.0%