care1e55 / zvonokin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

zvonokin

STT and modify audio

Installation:

Packages can be installed via poetry:

poetry shell
poetry install

Download STT model:

curl -LO https://github.com/mozilla/DeepSpeech/releases/download/v0.9.3/deepspeech-0.9.3-models.pbmm
curl -LO https://github.com/mozilla/DeepSpeech/releases/download/v0.9.3/deepspeech-0.9.3-models.scorer

Usage

Command line arguments can be viewed with --help option:

zvonokin --help

Set up arguments:

export PYTHONPATH=$PWD
export AUDIO_STT_MODEL_PATH="resources/deepspeech-0.9.3-models.pbmm"
export AUDIO_MODIFY_RESULT_PATH="resources/modify_result.wav"
export AUDIO_STT_RESULT_PATH="resources/stt_result.json"

Examples

Modify audio

zvonokin modify --path 'resources/data.wav' --velocity 1.25 --volume 10

STT

zvonokin stt --path 'resources/data.wav'

About

License:Apache License 2.0


Languages

Language:Python 100.0%