Update tts.ts

This commit is contained in:
2025-06-09 09:32:31 +09:00
committed by GitHub
parent 4ae0068f73
commit 0438c620a8

View File

@ -7,7 +7,7 @@ import { config } from "./config.js";
* Split text into natural chunks for TTS processing * Split text into natural chunks for TTS processing
* Aims for approximately 50 characters per chunk, breaking at natural points * Aims for approximately 50 characters per chunk, breaking at natural points
*/ */
function splitTextIntoChunks(text: string, maxLength = 50): string[] { function splitTextIntoChunks(text: string, maxLength = 100): string[] {
if (text.length <= maxLength) { if (text.length <= maxLength) {
return [text]; return [text];
} }