Pause for m-dash?

Discussion Forum for TextAloud. Great place to share ideas, ask questions, talk with other users. If you have a tough technical question, still feel free to ask us at support@nextup.com. Also, if you would like a personal response, be sure to leave your email address.

Moderators: kdwhite, Jim Bretti, D.Leikin

Pause for m-dash?

Postby tel » Fri Jun 06, 2008 7:16 pm

Hi NextUp,

I'm trialling TextAloud 2.285 and I'm trying (in vain) to make it so the long dash (m-dash, "—") is pronounced as a half second pause. The thing is, the words surrounding the m-dash will usually be hard up against the m-dash.

So using the Pronunciation Editor > Basic Editing, I've tried this:
    Word: —
    Pronounce As: {{pause=.5}}
and that works for "one — two", but not for "one—two", presumably because it is not finding the m-dash as a separate word. So I tried this regular expression:
    Word: {{re=—}}
    Pronounce As: {{pause=.5}}

but that doesn't work, but I don't know why.

Any ideas how to get "one—two" to be pronounced with a half second pause between "one" and "two"?

Thanks...TRS
tel
 
Posts: 3
Joined: Thu Jun 05, 2008 6:09 pm

Postby kremesch » Fri Jun 06, 2008 7:27 pm

I haven't had a chance to test it out. But you might want to try:

Word: &—&
Pronounce As: {{pause=0.5}}
kremesch
 
Posts: 178
Joined: Sun Jan 13, 2008 5:53 pm
Location: Canada

Postby tel » Fri Jun 06, 2008 7:32 pm

Awesome response time, and it even worked! Thanks!

BTW: What does "&" mean, exactly? Some kind of boundary marker?
tel
 
Posts: 3
Joined: Thu Jun 05, 2008 6:09 pm

Postby kremesch » Fri Jun 06, 2008 9:03 pm

I'm not the best at explaining things, but I'll give it my best:

The '&' wildcard means to include a character, or characters, either before, after, or both.

In other words, &—& would mean to create the pause when the dash is between one or more characters on either side (ex: one—two, a—b, a—bee, ey—b, etc...).

Whereas, &— would only include the pause if there is a character before, and either a space, or nothing, after (ex: one— ), and —& would include the pause only if there is a character after, and nothing, or a space, before (ex: —two).

Hence, the reason you would only hear the pause if the long dash was preceded, and followed, by spaces was because there was no rule telling it to include anything on either side.

Hopefully that makes sense.
kremesch
 
Posts: 178
Joined: Sun Jan 13, 2008 5:53 pm
Location: Canada

Postby tel » Fri Jun 06, 2008 9:24 pm

Awesome! Thanks.
tel
 
Posts: 3
Joined: Thu Jun 05, 2008 6:09 pm


Return to TextAloud 2 Forum

Who is online

Users browsing this forum: Google [Bot] and 1 guest