fix:여성 음성 변경 + 속도 20% 감속 + 자막 한글자 버그 수정
TTS 설정: - 음성: Neural2-C (남성) → Neural2-A (여성) - 속도: 1.5x → 1.2x (20% 감속) - 피치: 2.0 → 0.0 (자연스러운 여성 톤) 자막 한글자/한단어 버그 수정: - 최소 청크 길이 10자 보장 (짧은 조각 인접 청크에 병합) - 전체 25자 이하면 분리하지 않고 한 블록으로 표시 - 남은 짧은 버퍼는 마지막 청크에 합치기 - 최소 표시 시간 0.8초 → 1.5초로 증가 - 줄바꿈 기준 14자 → 16자 (가독성 향상) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -31,9 +31,9 @@ public function synthesize(string $text, string $savePath, array $options = []):
|
||||
|
||||
try {
|
||||
$languageCode = $options['language_code'] ?? 'ko-KR';
|
||||
$voiceName = $options['voice_name'] ?? 'ko-KR-Neural2-C';
|
||||
$speakingRate = $options['speaking_rate'] ?? 1.5;
|
||||
$pitch = $options['pitch'] ?? 2.0;
|
||||
$voiceName = $options['voice_name'] ?? 'ko-KR-Neural2-A';
|
||||
$speakingRate = $options['speaking_rate'] ?? 1.2;
|
||||
$pitch = $options['pitch'] ?? 0.0;
|
||||
|
||||
$response = Http::withToken($token)
|
||||
->timeout(30)
|
||||
|
||||
Reference in New Issue
Block a user