Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Easy to get the audio out of sync with the graphics (Repost)
Replies: 14   Last Post: Apr 26, 2013 11:08 PM

 Search Thread: Advanced Search

 Messages: [ Previous | Next ]
 Richard Fateman Posts: 1,539 Registered: 12/7/04
Speak errors (was Re: audio)
Posted: Apr 20, 2013 5:55 AM
 Plain Text Reply

The audio etc subject line was sufficient to get me to try Speak[],
and I immediately found two serious errors.

{Speak[x*(x + b*(c + x + z))], Speak[x*(x + b*(c + x) + z)]}

show that Mathematica's Speak program is inadequate to distinguish
two distinct mathematical expressions.
SpokenString tells us they are the same but this is a lie:

{"x times the quantity x plus b times the quantity c plus x plus z",
"x times the quantity x plus b times the quantity c plus x plus z"}

oops.

The other is that Mathematica does not know how to pronounce the
A in A+B. What you really want is something like Hay plus Bee.

Not Ahh plus Bee.

Much of the solution to this speaking issue can be resolved quite
without Mathematica because (I suspect) common browsers are happy
to speak phrases, numbers, etc, directly from XML. See

http://msdn.microsoft.com/en-us/library/ms717077%28v=vs.85%29.aspx

Furthermore, there are lots and lots of detailed specifications for
text-to-speech that are quite inaccessible in the current Mathematica
design.

Also for what it is worth, there are programs to utter mathematics (into
XML)
CORRECTLY. Fundamentally, one needs only a few lines of code to do
"in-order tree traversal" plus a bunch of data e.g. to pronounce Cos as
cosine, etc. To do a really bang-up job one should diddle with the
speed, volume, and such details as to maybe use SPELLING to pronounce
certain variable names.

The current program fails on the in-order tree traversal, apparently.

On the larger issue, of getting kindergarten children to pronounce the
numbers from 1 to 10. Uh, do you really need to use a computer? Running
Mathematica?

RJF

Date Subject Author
4/19/13 David Park
4/20/13 Richard Fateman
4/22/13 mathboy@hushmail.com
4/20/13 Clif McInnis
4/21/13 Clif McInnis
4/22/13 Richard Fateman
4/24/13 Murray Eisenberg
4/25/13 Richard Fateman
4/25/13 debguy
4/26/13 Richard Fateman
4/26/13 debguy
4/26/13 Louis Talman
4/26/13 Clif McInnis

© The Math Forum at NCTM 1994-2018. All Rights Reserved.