Page 1 of 1

Different Voices in different table-rows?

Posted: Sat Apr 23, 2016 10:38 am
by putzjakob
Hi there!
I've a vocabulary list: in one column german word, in the other the englisch word.
Is there opportunity to tell TextAloud: Read the left column wird e. g. Steffi, the other one with Paul?

If not, another opportunity would be to transform the table into text separating the original coloumns with #. In then a opportunity to tell with regex: swith to german when line starts, switch to english when you find # ?

Thanks!!!
Best wishes,
Jakob

Re: Different Voices in different table-rows?

Posted: Mon Apr 25, 2016 10:50 am
by Jim Bretti
Here is something to try

First, create a new, blank TextAloud article. In this article insert voice change tags for the two voices you want to use. Copy / paste the voice change tags into notepad.

Then from the TextAloud menu click Tools -> Pronunciation Dictionary Maintenance. Create a dictionary entry to change voices at newline characters like this:
Text Matching: Regular Expression
\R+

Pronounce Using: Respell
<your new line (German) voice change tag here>

Next, create your voice change tag to insert at # characters.
Text Matching: Simple Text
#

Pronounce Using: Respell
<your # (English) voice change tag here>

Word Boundary Condition
Defaults to Word Boundary Required. You'll need to adjust this depending on if word boundary characters (like spaces) precede and follow your # character. Set to No Word Boundary Required to insert the voice change tag at every # character, ignoring word boundary characters.

Let me know if that doesn't work or if you need help.

Re: Different Voices in different table-rows?

Posted: Mon Apr 25, 2016 11:45 am
by putzjakob
Super, that works fine!!!