CyanideDN wrote:
@Kamoteka,
What modifications are necessary for the voice files to say the side of the street for the destination? Would you mind letting us know how you modified the voice files so that it announces the side of the street?
The commands are found in the commands.csv file in the zipped voice file. The usual command for destination arrival are contained in the "goal" command. The commands for destination with direction are "goal_left" and "goal_right" (there are also "via_left" and "via_right".
For example, you would see this command on the voice file that has destination directions:
Code: Select all"goal_left","call 24-tts-loq left, left.","8",
24-tts-loq refers to a template which you would see towards the bottom of the commands.csv file:
Code: Select all"template 24-tts-loq",,,"16_Destination situations with direction"
,"100[then]*24-tts-loq-t01","Then, arrive at destination, on the %2","16-8 Then arrive at your destination, on the left/right.""
,"300[then3]","*24-tts-loq-t01","16-8 Then arrive at your destination, on the left/right."
,"1000[more]*24-tts-loq-m00","Drive %dist3","06-4-7 Drive %dist."
,"500[more,set_1]*24-tts-loq-m03","Approaching destination, on the %1 in %dist3","16-1 Prepare to arrive at your destiantion, on the left/right, in %dist.""
,"200[more,set_2]","*24-tts-loq-m03","16-1 Prepare to arrive at your destiantion, on the left/right, in %dist."
,"50[more,near,set_3]*24-tts-loq-m02","Approaching destination, on the %1 in %dist3","16-2 You will arrive at your destination, on the left/right, in %dist.""
,"0[more,near,set_4,set_arrive]*24-tts-loq-m01","Arriving at destination, on the %2","16-3 You have reached your destinaion, on the left/right.""
,"800[equal,minsilence=10,if_not_1]","*24-tts-loq-m03","16-1 Prepare to arrive at your destiantion, on the left/right, in %dist."
,"300[equal,minsilence=10,if_not_2]","*24-tts-loq-m03","16-1 Prepare to arrive at your destiantion, on the left/right, in %dist."
,"100[near,minsilence=7,if_not_3]","*24-tts-loq-m02","16-2 You will arrive at your destination, on the left/right, in %dist."
,"1[near,if_not_4,set_arrive]","*24-tts-loq-m01","16-3 You have reached your destinaion, on the left/right."
,,,
The above are taken from the original Susan voice file that supports destination direction. As you can see, there are a lot of typo errors (e.g. destiantion, destinaion - not sure really if these are typo's but they look like typo's to me).
If your voice file does not support destination direction, just copy the "goal_left", "goal_right", "via_left", and "via_right" commands into the commands.csv file of your voice file. Copy as well the corresponding command templates for the four (4) above new commands and insert them toward the bottom of the commands.csv file after the templates for the regular "goal" commands.