termux / termux/termux-api

Feature request: allow using bluetooth headset microphones

Open
#681 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
4.3k
Forks
920
PR merge metrics
No merged PRs in 30d

Description

Feature description

It would be nice if there was a flag for microphone-related commands which would cause the microphone on a Bluetooth headset to be used, rather than the phone microphone. Perhaps a -m flag for:

  1. termux-microphone-record
  2. termux-dialog speech
  3. termux-speech-to-text (which isn't working on my device, but I thought I'd mention it)

Reference implementation

Have you checked if the feature is accessible through the Android API?
The answer to this question seems to indicate there's a closed source video app that does it, though I haven't tried that app.
Do you know of other open-source apps that has a similar feature as the one you want? (Provide links)
I can't find any that are open source

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start by inspecting the implementations of termux-microphone-record, termux-dialog speech, and termux-speech-to-text, then investigate the Android audio APIs relevant to Bluetooth headset input. Done means determining a supported approach and defining or implementing consistent microphone-selection behavior for the requested commands.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
audio-video-rtc, cli, mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.