Different Voices in different table-rows?

Forum for TextAloud version 3

Moderator: Jim Bretti

Post Reply
putzjakob
Posts: 3
Joined: Sat Apr 23, 2016 10:32 am
Contact:

Different Voices in different table-rows?

Post 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
Jim Bretti
Posts: 1558
Joined: Wed Oct 29, 2003 11:07 am
Contact:

Re: Different Voices in different table-rows?

Post 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.
Jim Bretti
NextUp.com
putzjakob
Posts: 3
Joined: Sat Apr 23, 2016 10:32 am
Contact:

Re: Different Voices in different table-rows?

Post by putzjakob »

Super, that works fine!!!
Post Reply