We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68aa2e3 commit 93633cfCopy full SHA for 93633cf
src/TranscribeService/TranscribeService.ts
@@ -197,10 +197,10 @@ export class TranscribeService {
197
198
private optimizeSegments(segments: TSegment[]): TSegment[] {
199
const optimized: TSegment[] = [];
200
- const MIN_DURATION = 1.0; // 1 second
+ const MIN_DURATION = 1.5; // 1.5 second
201
const MAX_DURATION = 7.0; // 7 seconds
202
const MAX_CHARS_PER_LINE = 42;
203
- const CHARS_PER_SECOND = 20;
+ const CHARS_PER_SECOND = 12;
204
205
for (const segment of segments) {
206
const words = segment.text.split(' ');
0 commit comments