[Feature Request] Add real-time streaming transcription as a selectable voice input mode

Aberta
#766 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
35/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
android, kotlin
Domínio
mobile

Direção de pesquisa

Start by reading the Voice Plugin documentation mentioned in the issue and tracing the existing offline record-then-transcribe flow. Identify where voice input modes and recording controls are handled; the issue does not name specific files or tests. Done means users can select streaming or batch transcription, with silence timeout and manual controls supported in both modes.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

enhancement

Is your feature request related to a problem?
Currently, LeanType's offline voice input operates in a record-then-transcribe workflow. The user must finish recording and press the checkmark before any recognized text is inserted into the active text field.

There does not appear to be an option for real-time streaming transcription, despite the Voice Plugin documentation describing recognized text as streaming directly into the active input field.

Describe the solution you'd like
Provide an option to choose between two voice input modes:

  1. Streaming transcription: Recognized text is progressively inserted into the active text field while the user speaks, without requiring the recording to finish first.
  2. Batch transcription: Retain the existing workflow, where audio is recorded first and transcribed when recording ends.

Ideally, both modes would support the existing silence timeout and manual recording controls.

Use case
For everyday voice typing, particularly longer messages, emails, and notes, streaming transcription would allow users to see what has been recognized as they speak.

This provides immediate feedback, makes it easier to identify recognition errors, and avoids having to wait until the end of a recording to discover that portions of speech were missed.

Batch transcription would remain useful when users prefer to dictate an entire passage before reviewing the result.

Alternatives considered
The current batch transcription workflow works for shorter dictation, but requires recording to finish before the user can review any recognized text.

Dictating in shorter segments provides more frequent feedback, but interrupts the natural flow of speaking.

Other keyboards and voice input applications offer progressive transcription.

App version & Flavor

  • LeanType: v4.3.1, Offline
  • Voice Plugin: v1.0.1
  • Whisper Base (~57 MB)
Linguagem predominante
Kotlin
Estrelas
1k
Forks
59
Merge médio
14h 9min
PRs com merge (30d)
56

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de LeanBitLab/LeanType

Todas as issues de LeanBitLab/LeanType

Issues semelhantes

Mais issues de Kotlin

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.