software-mansion / software-mansion/react-native-executorch

`SpeechToText.transcribe()` drops preceding 30-second chunks on audio > 30s when `verbose: false`

Open
#1,343 5 comments 1 reaction 1 assignee View on GitHub

@IgorSwat is already working on this.

Since Aug 4, 2026.

community important ❗ pending response user exp
Dominant language
TypeScript
Stars
1.7k
Forks
96
Avg merge
20h 51m
Merged PRs (30d)
59

Description

Description

When transcribing audio waveforms longer than 30 seconds (e.g., 60s recording), calling transcribe(waveform, { verbose: false }) drops/discards all preceding 30-second windows and returns only the final 30-second window segment.
Passing { verbose: true } resolves the issue and returns the complete transcription across all 30-second windows.

Steps to reproduce
  1. Record or generate a PCM 16kHz Float32Array audio waveform longer than 30 seconds (e.g., 60 seconds of speech).
  2. Execute sttModel.transcribe(waveform, { language: 'en', verbose: false }).
  3. Inspect result.text.
Snack or a link to a repository

No response

React Native Executorch version

latest

React Native version

0.86.2

Platforms

iOS

JavaScript runtime

None

Workflow

None

Architecture

None

Build type

None

Device

None

Device model

No response

AI model

No response

Performance logs

No response

Acknowledgements

Yes

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.