iOS Question Donald Duck effect

John Woodsmall

Active Member
Licensed User
Longtime User
WHEN the voice is set to tts1.speechRate = .5
on iphone 5 it sounds like donald duck...very quick?
i have tried several setting and nothing changes the sound.

it worked with xcode 6.4 (before 3 days ago). tts1.speechRate=.15

on iphone6 it is normal sound.

Is there a trick i can set or something, it is making everyone laugh,
but no one is happy about this silly sound.
 

John Woodsmall

Active Member
Licensed User
Longtime User
Yes when I changed to xcode 7. and put in the various changes you suggested
to get it to upload to the itunes.connect site.
 
Upvote 0

John Woodsmall

Active Member
Licensed User
Longtime User
ok
My tester in los angeles has an iphon5 and he says now there is still the rapid impossible to understand
voice(donald duck) on my app( have removed the rate setting

TTS1.SpeechRate =0.50
).
This app's only change has been that i am now using xcode7 before it was xcode 6.4.
So will this be fixed soon?

(as if you did not have other things to worry about)

I do not want to rollback to 6.4.
(i know about the on-line thing, but not sure how to use it)
can you provide me a link?
 
Upvote 0

John Woodsmall

Active Member
Licensed User
Longtime User
The lastest build(.86) has to have a TTS1.SpeechRate =0.15
This was required on the older version of the compiler(6.4 on-line from Erel).
With no rate it spoke just like donald duck. But after the new rate; it sounded normal.
all of this done on my iphone6.
So there is hope that this one will work on iphone 5!
have to wait till they test it in los angeles after 6:00 pm gmt
 
Upvote 0

John Woodsmall

Active Member
Licensed User
Longtime User
ok...on the iphone5 and xcode 7.0 the text to speech do not produce an understandable
speech.
but on the iphone5 and xcode 6.4 text to speech work as before and the speech rate is
required (as before) to made the speech understandable!(rate=.15)

so if you app uses speech and runs on the iphone5 you need to use xcode 6.4...(b4i on-line compiler)
 
Upvote 0

shlomole

Member
Licensed User
Longtime User
What is "App" ? I have tried to write a line beginning with "If App.OsVersion < 9 Then ..." but "App" isn't known by B4i. I've tried to replace it by my application label, but it doesn't work either.
 
Upvote 0

tufanv

Expert
Licensed User
Longtime User
What is "App" ? I have tried to write a line beginning with "If App.OsVersion < 9 Then ..." but "App" isn't known by B4i. I've tried to replace it by my application label, but it doesn't work either.
dim app as application
 
Upvote 0

shlomole

Member
Licensed User
Longtime User
Many thanks, this code now works !

B4X:
If App.OSVersion < 9 Then
    TTS1.SpeechRate = (TTS1.MAX_SPEECH_RATE - TTS1.MIN_SPEECH_RATE) /10
Else
    TTS1.SpeechRate = (TTS1.MAX_SPEECH_RATE - TTS1.MIN_SPEECH_RATE) /2  
End If
 
Last edited:
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…