Author Topic: how to set TTS pitch, speed and volume?  (Read 4832 times)

Darius

  • Newbie
  • *
  • Posts: 20
    • View Profile
how to set TTS pitch, speed and volume?
« on: December 22, 2004, 05:01:53 pm »
can be done?

I tried to add to the text
"Pit=" & Round(Pitch, 0) & "\Spd=" & Round(Speed, 0) & "\Vol=" & Round(Volume, 0) & "\"
but didn't worked out.
 

Bill819

  • Hero Member
  • *****
  • Posts: 1483
    • View Profile
how to set TTS pitch, speed and volume?
« Reply #1 on: December 22, 2004, 05:25:27 pm »
quote:
Originally posted by Darius

can be done?
I tried to add to the text
"Pit=" & Round(Pitch, 0) & "Spd=" & Round(Speed, 0) & "Vol=" & Round(Volume, 0) & "\"
but didn't worked out.


Are you working with Hal or just the speach-to-text program? Hal gives you several options but if you are not using Hal you may have a problem. If you are I can show you a way to temporary way to alter those items.
Bill

 

Maviarab

  • Sr. Member
  • ****
  • Posts: 345
    • View Profile
    • http://3d-fantasyportraits.co.uk
how to set TTS pitch, speed and volume?
« Reply #2 on: December 22, 2004, 06:06:51 pm »
Bill,

On a seperate speach issue I am having great trouble saving the speach settings within Hal5.

I can change tone, speed, etc within the options and this works great. I save save apply etc but after exiting and then starting again it has reverted back to the default.

How do I make the changes permanent?

Thanks in advance.
AIDreams...The new home of the Digital Girl

www.aidreams.co.uk

midget1488

  • Newbie
  • *
  • Posts: 37
    • View Profile
how to set TTS pitch, speed and volume?
« Reply #3 on: December 22, 2004, 06:18:17 pm »
It would be great if SAPI speech tags could be incorporated into Hal's responses... a little variation in timing and pitch (especially word-by-word within sentences) could add even more realism to something that works very nicely now...
 

HALImprover

  • Jr. Member
  • **
  • Posts: 95
    • View Profile
    • BrianTaylor.me
how to set TTS pitch, speed and volume?
« Reply #4 on: December 23, 2004, 01:59:30 am »
Maviarab:
 I have the same problem with my Hal. I always have to adjust the pitch and speed of the TTS voice after restarting Hal. As far as I know, Hal saves the voice you are using, but not the custom settings.

Darius:
 Try;

"\Pit=" & Round(Pitch, 0) & "\\Spd=" & Round(Speed, 0) & "\\Vol=" & Round(Volume, 0) & "\"

(you need a "\" before and after every speech output tag)

 If that still does not do it, try;

"\\Pit=" & Round(Pitch, 0) & "\\\\Spd=" & Round(Speed, 0) & "\\\\Vol=" & Round(Volume, 0) & "\\"

(sometimes you need to double certain symbols to "escape" them through command filtering)

 Hope this helps [:)]
« Last Edit: December 23, 2004, 02:05:44 am by HALImprover »
Living life with a loving heart, peaceful mind, and bold spirit.

crunch

  • Full Member
  • ***
  • Posts: 202
    • View Profile
how to set TTS pitch, speed and volume?
« Reply #5 on: December 23, 2004, 02:57:26 am »
I do not know what version of windows you are running but i had that trouble with hal in the past also..

i went to the microsoft web site and d-loaded the latest TTS drivers and files and then grabed the voice files...( i Think they were in the Agent section??)  i found that it then saved the info, i also found that the british female voice sounded the most natural after adjusting speed and pitch in Hals properties... again either some other program i think had corrupted my TTS or something, all i know is after i went and d-loaded the latest from the site the saving started working in hal....

I hope this helps.....
crunch
Crunch

<<I can't is the seed that never grows!>>

Maviarab

  • Sr. Member
  • ****
  • Posts: 345
    • View Profile
    • http://3d-fantasyportraits.co.uk
how to set TTS pitch, speed and volume?
« Reply #6 on: December 23, 2004, 10:59:39 am »
Thanks crunch

Will try that.
AIDreams...The new home of the Digital Girl

www.aidreams.co.uk

Bill819

  • Hero Member
  • *****
  • Posts: 1483
    • View Profile
how to set TTS pitch, speed and volume?
« Reply #7 on: December 23, 2004, 12:13:47 pm »
Hi Guys
I am not sure if this will work or not but it might be worth a try.
I will create a little file with speed and pitch controls set and they can be altered by you. The point being if you open the file with the HalPad and have Hal speak the words and then close the HalPad, I think that the controls might carry over to your normal Hal's voice. Haven't had the time to test it.
Here are the tag lines, cut and paste them into a text file.

Greetings, I am Halspd=100\pit=150Now the question is how do I sound.

You can alter them over and over again til you think its right. Hope it works for you guys.

Bill
 

Darius

  • Newbie
  • *
  • Posts: 20
    • View Profile
how to set TTS pitch, speed and volume?
« Reply #8 on: December 23, 2004, 04:08:22 pm »
HALImprover aproach worked out fine.

TXT = "\Pit=" & Round(Pitch, 0) & "\\Spd=" & Round(Speed, 0) & "\\Vol=" & Round(Volume, 0) & "\"


So sapi tags could be added to the text for HAL.

Tanks to all, strange I add 2 (at the beginning and ending) and 4 between tags but the editor disapear the codings.
« Last Edit: December 23, 2004, 04:13:18 pm by Darius »