F fanfalveto Active Member Licensed User Longtime User Dec 19, 2012 #1 good evening, I tried the example and works great, but is there any way to save the settings pitch and sppech rate used in activity for use in another? this settings i see are only read,is possible do that? thank you very much
good evening, I tried the example and works great, but is there any way to save the settings pitch and sppech rate used in activity for use in another? this settings i see are only read,is possible do that? thank you very much
NJDude Expert Licensed User Longtime User Dec 19, 2012 #2 You could save them using a simple text file or a Map. Upvote 0
F fanfalveto Active Member Licensed User Longtime User Dec 19, 2012 #3 thnaks,i try but i don´t know how do that pitch is write only i can´t put values of this in a map or float or an string.i try but i can´t,sorry Upvote 0
thnaks,i try but i don´t know how do that pitch is write only i can´t put values of this in a map or float or an string.i try but i can´t,sorry
F fanfalveto Active Member Licensed User Longtime User Dec 19, 2012 #4 i try to do that B4X: tono=tts1.pitch and is wrong then B4X: Sub barPitch_ValueChanged (Value As Int, UserChanged As Boolean) If UserChanged Then TTS1.Pitch = Value / 10 tono=Value / 10 Log (tono) End If End Sub and ok thank you Upvote 0
i try to do that B4X: tono=tts1.pitch and is wrong then B4X: Sub barPitch_ValueChanged (Value As Int, UserChanged As Boolean) If UserChanged Then TTS1.Pitch = Value / 10 tono=Value / 10 Log (tono) End If End Sub and ok thank you
Beja Expert Licensed User Longtime User Dec 20, 2012 #5 tono=tts1.pitch Click to expand... Hi, I didn't try speech, but logically speaking, I think you may want to save the absolute numerical value of the pitch and not reference it. DIM PitchNumber as Long PitchNumber = tts1.pitch then save PitchNumber to a text file and when you come back assign it to tts1 Last edited: Dec 20, 2012 Upvote 0
tono=tts1.pitch Click to expand... Hi, I didn't try speech, but logically speaking, I think you may want to save the absolute numerical value of the pitch and not reference it. DIM PitchNumber as Long PitchNumber = tts1.pitch then save PitchNumber to a text file and when you come back assign it to tts1