Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Audio Loopback

I'm a deaf person so I'm using 'Live Transcribe' (by Google) a lot, the problem is that it cannot capture the internal audio in Android (so phone calls or any internal audio will be translated too), sadly it can only capture external sounds.

I have a Samsung Galaxy Note 10 Plus.

I was looking for an audio loopback driver for android but could not find one, I thought I'd give it a try and make my own app if there's no such app (I'm a software developer).

Is this even possible? what would you suggest?

like image 355
Tom S Avatar asked May 22 '20 12:05

Tom S


People also ask

What is loopback test in Android?

A loopback test is a test in which a signal in sent from a communications device and returned (looped back) to it as a way to determine whether the device is working right or as a way to pin down a failing node in a network.

What is audio loopback?

Loopback enables you to combine the audio from multiple sources, including microphones and applications, then provide that combined audio to voice chat applications to be heard by all participants. For example, you might wish to combine music from a media player (like iTunes, Music.


1 Answers

I was just looking for a solution for your problem and fortunately I came across a recent API in android 10 which is AudioPlaybackCapture API that lets you record internal sounds and perhaps you can find a way to process that audio and convert it to text too!!

The android developer website says and I quote: "The primary use case is for streaming apps that want to capture the audio being played by games."

You can read more about the API here: AudioPlaybackCapture API

like image 123
Tirth Mehta Avatar answered Sep 21 '22 13:09

Tirth Mehta