Repository navigation
Voice dictation: keep recording past the 5-minute cap instead of stopping #39252
ABernalPufahl
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Problem
Dictation stops hard at 5 minutes. When I'm thinking out loud through a longer prompt, the recording just ends mid-sentence and I have to notice it, start a new recording, and repeat what I was saying. Long-form dictation is one of the main reasons I use voice input, so the hard stop gets in the way regularly.
What the cap is today (v0.1.10)
recorder.record({ forDuration: 300 })in the environment speech input hook.MAX_SPEECH_DURATION_SECONDS = 300andMAX_SPEECH_BYTES = SAMPLE_RATE * 4 * 300(about 19 MB of 16 kHz float32 PCM) in the speech service.speech.runSocket) ended at exactly 300 s, while every other session that day was under about 2 minutes.I understand why there's a cap: the server buffers the whole recording in memory, so removing it outright isn't a good idea.
Proposal: no hard stop, via automatic chunking
When a recording reaches the limit (or a smaller internal chunk size), the client would:
The server never holds more than one chunk of audio, so memory stays bounded, but from the user's point of view dictation has no time limit. Transcript cleanup could run per chunk (faster, smaller prompts) or once at the end. The 100k-character transcript cap is far beyond what a long dictation produces.
A small indicator at each chunk boundary would be enough feedback; it shouldn't interrupt the user.
Nice to have
A setting for the maximum length of a single recording (for example 5, 10, 30 minutes, or no limit with chunking) for people who want a safety stop.
Environment
T3 Code 0.1.10, self-hosted server on Linux (Debian 13, x86-64), using the macOS desktop app connected to it. Local streaming transcription (Nemotron 3.5 ASR Streaming 0.6B) with transcript cleanup on.
All reactions