Speak symbols like greater than, less than and dollar signs

How-to questions and answers

Speak symbols like greater than, less than and dollar signs

Postby marnold » Sun May 24, 2009 2:49 pm

Hello

I bought a Cepstral voice about a month ago and I am quite happy with it, however there is one nagging problem i am having. I am a programmer and hence tend to have a lot of code read through Cepstral, it reads correctly in most cases, but anything starting with a greater than or dollar sign isn't spoken at all. This is a problem for statements like
Code: Select all
if a < b:
  pass

I only hear "If a, b pass". it is worse in Perl and Php where i don't hear any variable uses at all eg
Code: Select all
if ($a) {
  do_foo($a)
}

i only hear "if open curly do underscore foo close curly"

is it possible to fix this so it speaks the dollar signs as "dollar sign" and greater than and less than as "greater" and "less" respectively
marnold
 
Posts: 1
Joined: Sun May 24, 2009 2:25 pm

Postby clafayette » Tue May 26, 2009 1:29 pm

Try reading your program by specifying text mode. On the command line, type
Code: Select all
swift -m text -f file-to-read
clafayette
 
Posts: 2
Joined: Tue May 26, 2009 1:16 pm


Return to How do I... ?

Who is online

Users browsing this forum: No registered users and 11 guests

cron