Android Question How to get sound file from EditText?

punteral

Member
Hi everyone.

I would like to make a code to create a sound file saying what I wrote in an EditText when I press a button.

I already achieved to play the voice reading the sound when I press the button using the TTS library.

B4X:
B4X:

Sub Button1_Click
TTS1.Speak(EditText1.Text, True)
End Sub

But now I need to save that sound file to work with it and I don´t know how to do it. Someone can help me, please?

Thanks a lot!
 

asales

Expert
Licensed User
Longtime User
I need to save that sound file
Check this:
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…