Author Topic: Having trouble with CereProc Tag Set in VA  (Read 2249 times)

spario

  • Guest
Having trouble with CereProc Tag Set in VA
« on: July 03, 2018, 07:25:30 AM »
Hey, this is my first time posting here. Anyway, I've been making a profile that controls my computer, and Elite. I'm using the CereVoice Giles TTS, and in the documentation I found it talks about special SSML tags that can be used with it, such as <spurt>, which adds vocal gestures, and <voice> which changes the emotion of the voice. However when adding these tags to a Say with TTS command, it produces no sound.

This is the code I put in the Say with TTS:

Code: [Select]
<?xml version="1.0" encoding="ISO-8859-1"?>
<speak version="1.0"
 xmlns="http://www.w3.org/2001/10/synthesis"
 xml:lang="en-US">

<spurt audio="g0001_006"> Ahem! </spurt> This is a test of Vocal Gestures!

</speak>

I'm not sure why it wouldn't be working, as if I use standard SSML it works. I think I'm just missing something in the header section, but I can't seem to find what it is. Also to note, on both the CereProc website, and Microsoft's old school TTS preview program, putting in just <speak> <spurt audio="g0001_006"> Ahem! </spurt> This is a test of Vocal Gestures! </speak> works.

EDIT: Also I tried using the <audio> tag, and it works. However if I have any text after it, VoiceAttack will crash, most of the time but only if I preview the voice, issuing the command works fine.

EDIT 2:

OK so I got it some what working. However if I preview anything with this method it crashes. What I did was use a different header, for SSML.

Code: [Select]
<?xml version="1.0"?>
<speak version="1.0" xmlns="http://www.w3.org/2001/10/synthesis"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
                   http://www.w3.org/TR/speech-synthesis/synthesis.xsd"
         xml:lang="en-US">

Text here.

</speak>

This header seems to work, however it would crash VA if I preview it. So problem half solved.
« Last Edit: July 03, 2018, 10:50:44 AM by spario »