- 자연 속도(1.0)로 합성 후 Rubberband(R3)로 배속 → 발음/피치 보존 - 폴백: ffmpeg atempo → librosa. rubberband-cli/pyrubberband 추가 - 원인: MeloTTS speed는 length_scale 축소라 고배속에서 자음이 뭉개짐
42 lines
624 B
Plaintext
42 lines
624 B
Plaintext
# 웹 서버 (직접 버전 고정)
|
|
fastapi==0.136.3
|
|
uvicorn==0.49.0
|
|
python-multipart==0.0.32
|
|
|
|
# 오디오 I/O & 처리 (직접 버전 고정)
|
|
soundfile==0.14.0
|
|
librosa==0.9.1
|
|
numpy==1.26.4
|
|
pyrubberband==0.4.0
|
|
|
|
# MeloTTS 런타임 의존성 (정확한 버전은 constraints.txt 로 고정)
|
|
# gradio/tensorboard/unidic(full) 등 미사용 무거운 의존성은 제외한다.
|
|
transformers
|
|
tokenizers
|
|
cached_path
|
|
huggingface_hub
|
|
num2words
|
|
unidic-lite
|
|
mecab-python3
|
|
pykakasi
|
|
fugashi
|
|
g2p-en
|
|
nltk
|
|
anyascii
|
|
jamo
|
|
gruut[de,es,fr]
|
|
g2pkk
|
|
pydub
|
|
eng_to_ipa
|
|
inflect
|
|
unidecode
|
|
pypinyin
|
|
cn2an
|
|
jieba
|
|
langid
|
|
tqdm
|
|
loguru
|
|
txtsplit
|
|
numba
|
|
scipy
|