-
Notifications
You must be signed in to change notification settings - Fork 1
Parakeet transcription randomly truncates before end of recording #46
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workingpriority:highImportant, blocks functionalityImportant, blocks functionality
Description
Description
When using the Parakeet (Sherpa-ONNX) backend via Apple Neural Engine, transcription sometimes cuts off before the end of the recording. The truncation point appears random; no clear user action differentiates successful from truncated transcriptions.
Steps to Reproduce
- Record audio using any recording mode
- Speak for 10-30 seconds
- Stop recording
- Observe transcription output
Expected: Full transcription of entire recording
Actual: Sometimes truncates mid-sentence, sometimes works perfectly
Investigation Notes
- No obvious correlation with recording length, audio level, or content
- May be related to audio buffer handling or decoder state in Sherpa-ONNX
- Could be a timing issue between audio capture stop and transcription start
- Check if the WAV file written to disk contains the full audio vs what the decoder receives
Relevant Files
src-tauri/src/transcription/parakeet.rssrc-tauri/src/audio/mod.rs(buffer handling at stop)src-tauri/src/pipeline.rs(recording stop → transcription handoff)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingpriority:highImportant, blocks functionalityImportant, blocks functionality