TTS, RR and OS X
Kurt Kaufman
kurtkaufman at hotmail.com
Mon Apr 15 09:51:01 EDT 2002
Please forgive me if this is gradually becoming a bit off-topic. As someone
who has worked a bit (using SuperCard) with the speech "in-line" commands-
http://homepage.mac.com/usefulsoftware/
then click on the "SimpleSong" link
-I have since noted OS X apparently "chokes" on extended spoken strings,
whereas the same string will function as expected in OS 9. To illustrate,
play one of the "songs" in OS 9 SimpleText or even via "Classic" (although
the performance is somewhat degraded in Classic, at least on a 500 mHz 2001
iBook), and the complete extended string is "sung". Paste the same into a
RR field, then using Applescript OR the available external, and the speech
garbles and is truncated. In the case of the external, subsequent calls for
speech appear to remain garbled. Maybe this has to do with my workaround
with commas to allow for extended pitch stipulations? (see below, example).
I'm not sure if email text-wrapping will destroy the necessary formatting,
but you can try pasting the example "song" below into SimpleText and then
into a RR field for testing; you'll see what I mean.
[[pmod 0]] [[pbas 59]][[rate 100]]i [[pbas 60]][[rate 300]]would [[pbas
62]][[rate 100]]while [[pbas 59]][[rate 200]]ah [[pbas 55]][[rate 100]]way
[[pbas 57]][[rate 200]]the [[pbas 59]][[rate 200]]ow [[pbas 55]][[rate
50]]ers [[pbas 57]][[rate 200]]cuhn [[pbas 59]][[rate 100]]vir [[pbas
55]][[rate 200]]sing [[pbas 52]][[rate 100]]with [[pbas 54]][[rate 200]]the
[[pbas 55]][[rate 200]]flauw [[pbas 52]][[rate 50]]ers [[pbas 50]][[rate
200]]cun [[pbas 50]][[rate 100]]sult [[pbas 50]][[rate 200]]ting [[pbas
50]][[rate 100]]with [[pbas 50]][[rate 200]]the [[pbas 50]][[rate 50]]rain
[[cmnt]] [[slnc 500]] [[cmnt]] [[slnc 500]] [[cmnt]] [[slnc 500]] [[pbas
55]][[rate 100]]and [[pbas 54]][[rate 200]]my [[pbas 52]][[rate 50]]head
[[pbas 64]][[rate 100]]ide [[pbas 62]][[rate 200]]be [[pbas 60]][[rate
100]]scrat [[pbas 59]][[rate 200]]chin [[pbas 57]][[rate 100]]while [[rate
10000]]u, [[pbas 55]][[rate 200]]my [[pbas 54]][[rate 100]]thoughts [[pbas
54]][[rate 200]]were [[pbas 66]][[rate 100]]biz [[pbas 64]][[rate 200]]zee
[[pbas 62]][[rate 100]]hatch [[pbas 60]][[rate 200]]chin [[pbas 59]][[rate
100]]if [[pbas 57]][[rate 200]]i [[pbas 55]][[rate 100]]own [[pbas
55]][[rate 200]]lee [[pbas 55]][[rate 200]]had [[pbas 55]][[rate 200]]ah
[[pbas 55]][[rate 25]]brain
I suppose the problem lies with OS X and not with RR, since both OS X
Applescript and external exhibit similar behavior.
-Kurt
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
More information about the use-livecode
mailing list