niedev / RTranslator

Open source real-time translation app for Android that runs locally
Apache License 2.0
6.85k stars 518 forks source link

[Feature request] Translating system audio #92

Open mzltest opened 2 days ago

mzltest commented 2 days ago

Thank you for wanting to share an idea! But before starting, ensure to check if this feature request respects the following requirements:


It would be good if it can be used to translate system audio, similar to Chrome's auto caption when playing videos. This would be useful when consuming media content and I really didn't see any application with this functionality.

I believe starting from Android version 10 casting the screen will also receive system audio stream ( I use https://github.com/rom1v/sndcpy to redirect my device audio to computers ) so technically this might be possible. and floaty window should be available in Android since long time ago.

(Note I don't know android development so I might be wrong)

mzltest commented 2 days ago

here is a photo showcasing my mentioned feature in a desktop environment to make sure you know what i mean

generate-live-captions-for-any-streaming-video-audio-file-using-chromes-desktop-app 1280x600

niedev commented 11 hours ago

Hi, thank you for your suggestion, unfortunately I don't have much time to work on the app at the moment, so I prefer to prioritize fixing bugs and improving the features it already has instead of adding new ones. But this would be a really useful feature, so I added it to the list of things to do in the future, if it will be possible to implement it, sooner or later it will surely be included in RTranslator.