fix: 속도 조절을 length_scale에서 사후 타임스트레치로 분리(발음 뭉개짐 개선)

- 자연 속도(1.0)로 합성 후 Rubberband(R3)로 배속 → 발음/피치 보존
- 폴백: ffmpeg atempo → librosa. rubberband-cli/pyrubberband 추가
- 원인: MeloTTS speed는 length_scale 축소라 고배속에서 자음이 뭉개짐
This commit is contained in:
claude
2026-08-24 14:42:21 +09:00
parent 9fe1a5479d
commit 1942a7aecd
3 changed files with 82 additions and 6 deletions

View File

@@ -53,7 +53,7 @@ ENV PYTHONUNBUFFERED=1 \
# 런타임 필수 라이브러리만 (컴파일러 툴체인 제외)
RUN apt-get update && apt-get install -y --no-install-recommends \
ffmpeg libsndfile1 libgomp1 ca-certificates \
ffmpeg libsndfile1 libgomp1 ca-certificates rubberband-cli \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app