Archilyzer · Source

archilyzer

Archilyzer
git clone https://archilyzer.pages.dev/source/archilyzer.git
Log | Files | Refs | README | LICENSE

commit ebb1b9f8c48371a5487426a7363079cb86f90c4d
parent 47bc26fc7371bec94c78cdb41a29740f090b1227
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Thu,  5 Nov 2026 03:46:23 -0500

umtool: Add a clip's default out on an unpunctuated recording is at most three cues on, not five

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

Diffstat:
Mumtool/components/projects/AddClip.tsx | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/umtool/components/projects/AddClip.tsx b/umtool/components/projects/AddClip.tsx @@ -229,9 +229,9 @@ export default function AddClip({ setCues(list); const at = list.find((c) => c.end > m.t) ?? list[0]; setStart(r2(at ? at.start : m.t)); - // To the end of the sentence the moment is in (the first cue that closes one), at most ~20 s on. + // To the end of the sentence the moment is in (the first cue that closes one), at most three cues on (an unpunctuated source). const i = at ? list.indexOf(at) : -1; - const close = i >= 0 ? list.slice(i).find((c, k) => c.endsSentence || k >= 4) : null; + const close = i >= 0 ? list.slice(i).find((c, k) => c.endsSentence || k >= 2) : null; setEnd(r2(close ? close.end : m.t + 8)); }) .catch(() => setCueNote("the cues could not be read"));