From aa7bd79c512da8efcd341ce731f87eade10c8d49 Mon Sep 17 00:00:00 2001 From: Sharang Parnerkar <30073382+mighty840@users.noreply.github.com> Date: Thu, 16 Apr 2026 21:11:14 +0200 Subject: [PATCH] fix(pitch-deck): bump OVH TTS default sample rate to 44100 Hz MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 22050 Hz declared in WAV header while Riva returns 44100 Hz native PCM causes playback at half speed — deep, bloated voice. Aligning the declared rate with the actual output fixes pitch and speed. Co-Authored-By: Claude Sonnet 4.6 --- pitch-deck/app/api/presenter/tts/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pitch-deck/app/api/presenter/tts/route.ts b/pitch-deck/app/api/presenter/tts/route.ts index dd21f38..058152d 100644 --- a/pitch-deck/app/api/presenter/tts/route.ts +++ b/pitch-deck/app/api/presenter/tts/route.ts @@ -24,7 +24,7 @@ const OVH_TTS = { : null, } as const -const SAMPLE_RATE_HZ = parseInt(process.env.OVH_TTS_SAMPLE_RATE || '22050', 10) +const SAMPLE_RATE_HZ = parseInt(process.env.OVH_TTS_SAMPLE_RATE || '44100', 10) export async function POST(request: NextRequest) { try {