EvoSapien.com
Robosapien Hacks, Tips, & Tricks Forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
  ProfileProfile     Log in to check your private messagesLog in to check your private messages     Log inLog in  
Log inPictures/Portal
Remote Control Robosapien V2 Media
Buy The Robosapien RS Media Now
Saving two voices for same command

 
Post new topic   Reply to topic    EvoSapien.com Forum Index -> Voice Control
View previous topic :: View next topic  
Author Message
Joe Fishback



Joined: 11 Jan 2008
Posts: 1
Location: Georgia

PostPosted: Mon Aug 04, 2008 1:23 am    Post subject: Saving two voices for same command Reply with quote

I am controlling a Robopet with Robodance and everything run fine. My problem is that I have two different people using the same Robopet and their pronucation of the command words are different. I can get things to work by changing the spelling for each person each time they use Robodance. Is there any way to save the two different pronucations of the same command?

Joe Fishback
Back to top
View user's profile Send private message
roschler
Site Admin


Joined: 28 Feb 2005
Posts: 953

PostPosted: Tue Aug 05, 2008 10:58 am    Post subject: Reply with quote

You can't do that with Robodance currently. You can do it in a pretty awkward but simple way outside of Robodance. The pronunciation table is stored in a file called [ROBOT-NAME-codes.txt] in the sub-directory underneath where you installed Robodance called /data/[ROBOT-NAME]. For example, if you installed Robodance to the default location, and in your case for the Robopet, you would find the robopet_v1-codes.txt file here:

C:\Program Files\Robodance\data\ROBOPET_V1\robopet_v1-codes.txt

So if you wanted to have different people with their own pronunciations, you would have two separate codes files, one for each user. Let's say you have two users named User1 and User2 (you could use their real names just as well). First you would have User1 use Robodance to modify the command pronunciations. Then you would exit Robodance and copy the file shown above to:

C:\Program Files\Robodance\data\ROBOPET_V1\robopet_v1-codes-USER1.txt

Then you would repeat the process for User2 except when you exit Robodance, you would copy the file to:

C:\Program Files\Robodance\data\ROBOPET_V1\robopet_v1-codes-USER2.txt

Then you would create two simple batch files that you would call to run Robodance that would copy over the desired users codes file before running Robodance. For example, here's a sample SWITCH-TO-USER-1.BAT batch file:

Code:
copy C:\Program Files\Robodance\data\ROBOPET_V1\robopet_v1-codes-USER1.txt C:\Program Files\Robodance\data\ROBOPET_V1\robopet_v1-codes.txt
C:\Program Files\Robodance\robodance.exe


And a second example for User2 called SWITCH-TO-USER-2.BAT:

Code:
copy C:\Program Files\Robodance\data\ROBOPET_V1\robopet_v1-codes-USER2.txt C:\Program Files\Robodance\data\ROBOPET_V1\robopet_v1-codes.txt
C:\Program Files\Robodance\robodance.exe


NOTE: You would have to remember to update the user specific codes files as talked about above whenever you made new changes to the pronunciations for either of the users.

At some point in the future I want to add user profiles to Robodance, but there's a lot of stuff in front of that feature since there hasn't been much call for it.

Thanks,
Robert
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    EvoSapien.com Forum Index -> Voice Control All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group