robot36 icon indicating copy to clipboard operation
robot36 copied to clipboard

Support Android MediaProjection API for capturing audio

Open penguin359 opened this issue 1 year ago • 1 comments

This would allow Robot36 to directly capture audio from another app running on the phone instead of relying on the microphone and speaker to loopback the audio. In particular, this would be good for SDR apps like SDR Touch and RF Analyzer that can capture FM radio signals and demod them to audio. I currently use these apps regularly to pick up SSTV signals and record them. However, to decode them live (or even from a wav recording made by these apps) requires that the audio be played over a speaker where other external sounds can introduce noise in the picture.

I might take a whack at adding this if I can get some time, but thought I'd record it here for now.

penguin359 avatar May 23 '24 06:05 penguin359

Cool. Curios how that works. I am used to loop-back audio using PulseAudio with varying success to develop Robot36 in the Android emulator but that definitely sounds intriguing. Can't wait to see it in action!

xdsopl avatar May 23 '24 07:05 xdsopl

Oh, really? Not planned? This would've been so useful :(

KooperTheTrooper15 avatar Dec 13 '24 07:12 KooperTheTrooper15

@KooperTheTrooper15 Yes, but it would be another thing that needs maintaining, as Google continues to change things in Android

xdsopl avatar Dec 13 '24 08:12 xdsopl