Python
ffmpegffmpeg
ffmpeg
ffmpeg
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
CF# AC
python gen_pitch.py --audio <voice.mp3> -t <tone> <video.mp3> -o <output.mp4>
#
python gen_pitch.py --audio wjk_raw.mp3 -t E wjk.mp4 -o wjk_with_pitch.mp4
-o
--ffmpeg
ffmpegPATHffmpeg--pitch_width
--pitch_position
top_right
--min_pitch
D2
--max_pitch
G5
--min_pitch``--max_pitch
Copyright 2023 Tian Gao.
Distrubuted under the terms of the Apache 2.0 license