If I'm not mistaken, do you want to use text to speech to read text and store speech sound on the phone in the meantime? And later play the sound?
Did you tag AudioRecordTest ? You can record audio and then play it back later. Itβs worth a try, but I donβt think you can get good quality from the microphone. Hope this helps :)
By the way, as far as I know, android only supports microphone recording for a phone
without a root , which you can check
here . Let me know if you can record the sound source from the Android system.
source share