Zoltan Report post Posted 06/26/2006 06:51 AM I use 2 languages. At the beginning I define DIRSYSTEMVOICE : E:...\VoiceGuide files\VGSystemVoice_$RV[Language] ...\VoiceGuide files\VGSystemVoice_1 ...\VoiceGuide files\VGSystemVoice_2 I keep the .vgs files and my own sound files together in the \VoiceGuide files When I use the Say number module’s number or time section, it seems that VG is looking for all the sound files (the ones that come with VG and the ones I created) in the folder defined in DIRSYSTEMVOICE folder. But when I use VBS module vg.Play_Start lngLineID, strSoundFilesToPlay , or any other module including the say number module "say before number" and "say after number" part, it seems that VG is looking for all the sound files NOT in the folder defined in DIRSYSTEMVOICE folder, but somewhere else. In my case it is the ...\VoiceGuide files folder. If I use VBS to play a wav file sequence that includes numbers that comes with VG, I must tell the exact DIRSYSTEMVOICE path again to the script. The problem is that if I sometimes use a VBS module and sometimes Say number module to play something with numbers or time that includes the system files (numbers, months, am etc.) and my recorded sound files and also I have changed the lib_num2wav files by putting sound file references such as Minutes.wav, VG cannot manage this. Could you clarify the locations where VG is looking for the files in each case? I have already the help file (multi language, Sound Files etc. part). In which modules does VG go to the DIRSYSTEMVOICE and when does it go to “the other default location”. How and where is this “other dafault location” determined or defined? Share this post Link to post
SupportTeam Report post Posted 06/29/2006 12:15 PM DIRSYSTEMVOICE is used to define location of VG's default system prompts. Sound files played from your own VBScripts should have the full path specified. Share this post Link to post
Zoltan Report post Posted 06/29/2006 06:40 PM If I create wav files and want to use them in the modified lib_num2wav, where shall I place them? In the place defined by DIRSYSTEMVOICE or somewhere else? In what situation do I need to give the path to them? Do the functions in the lib_num2wav script look for all files in the place defined by DIRSYSTEMVOICE or only the original system files that come with VG? How does VG know which are the system files? Files that are in the system folder now or only the original files? How does the answer change if I copy modified lib_num2wav in a VBS? Share this post Link to post
SupportTeam Report post Posted 06/29/2006 07:57 PM If I create wav files and want to use them in the modified lib_num2wav, where shall I place them? In the directory pointed to by DIRSYSTEMVOICE (VG's \system\voice\ subdirectory if DIRSYSTEMVOICE is not explicitly set) Do the functions in the lib_num2wav script look for all files in the place defined by DIRSYSTEMVOICE Yes. That's how they find the new versions of system .wav files are found if the default voice directory was changed using DIRSYSTEMVOICE. How does the answer change if I copy modified lib_num2wav in a VBS? If the file is not found in script's directory then VG will look for file in DIRSYSTEMVOICE. If you are encountering problems please post a script demonstrating the problem as well as the trace capturing the entire call. Share this post Link to post
Zoltan Report post Posted 06/30/2006 07:21 AM I will use two or more languages. So there are two places where VG can find wav files: the script's directory and the directory defined in DIRSYSTEMVOICE. So if I create a minutes.wav file and use it in the original lib_num2wav and also in VBS scripts, I will need a minutes.wav in the system directories for each language and a minutes_1.wav and minutes_2.wav in the script’s directory. Alternatively, I can put all the files (system files and the wav files I created) in the system directory defined in DIRSYSTEMVOICE for each language and make a path reference all the time. Is that correct? Is there any way to make it simplier? (to avoid duplicating wav files or making path references all the time. In the VG software or at the beginning of the first script I should be able to set the location for each wav files (both system and non-system files) for each language. Share this post Link to post
SupportTeam Report post Posted 06/30/2006 10:25 AM Alternatively, I can put all the files (system files and the wav files I created) in the system directory defined in DIRSYSTEMVOICE for each language and make a path reference all the time. Is that correct? Yes, that would probably be an OK way of doing it. It will mean however that both the 'system' sound files and the script-specific sound fies will be in the same directory... I should be able to set the location for each wav files (both system and non-system files) for each language. Well then just specify your script-specific sound files like this: $RV[CurrLanguagePath]\hello.wav and set $RV[CurrLanguagePath] to be the path... eg: C:\Language1 Share this post Link to post