VoiceGuide IVR Software Main Page
Jump to content

Sound File Could Not Be Found

Recommended Posts

I am calling a webservice which returns several values, I am simply trying to speak the numbers returned, it says the first rv value number, but then it says the sound file specified cannot be found when i try to speak to number the other value.

 

Share this post


Link to post

Can you please post the vgEngine trace file that captures the call.

 

We can then see what data was returned by the Web Service, and in turn what Result Variables were created by VoiceGuide, and what RVs your script is then trying to speak afterwards.

Share this post


Link to post

The web service returns:

<?xml version="1.0" encoding="utf-8"?>
<DrawingResults2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://tempuri.org/">
  <Found>true</Found>
  <DrawingDate>2014-01-18T00:00:00-05:00</DrawingDate>
  <B2 />
  <B3>263</B3>
  <B4>8676</B4>
  <B5 />
</DrawingResults2>

and the $RVs are created:

141356.703 20   1   1       rv    add   B3|263
141356.703 20   1   1       rv    add   B3_1|263
141356.703 20   1   1       rv    add   B4|8676
141356.703 20   1   1       rv    add   B4_1|8676

But in your script you are using this as the input to the Say Number module:

 

$RV[b3],$RV[b4]

 

The comma between the two numbers is not valid input in a Say Number module.

 

change:

 

$RV[b3],$RV[b4]

 

to:

 

$RV[b3]$RV[b4]

 

or use two separate Say Number modules. One to say $RV[b3]and another to say $RV[b4]

141356.703  6   1   1       RunModule start Say Numbers, [Say Number], iModuleIdx=7, previous: vgm=7, vgs=2:2
141356.703  6   1   1       rv    replace start []
141356.703  6   1   1       rv    replace end   [263,8676]
141356.703  6   1   1 state [Say Number] Say Numbers: 263,8676 as
141356.703  6   1   1       CheckForAnyPlayActionsAndSetkeysIfNecessary no PlayActions, vgmidx=7, strPaths=on {timeout 5} goto [Say Goodbye]

141356.703  6   1   1       PlaySoundStartNumbers , , 263,8676,
141356.703  6               dll   vgLib_SayNumbers: Digits begin
141356.703  6   1   1       playing [263,8676] as [] using DLL : [2.wav,6.wav,3.wav,,.wav,8.wav,6.wav,7.wav,6.wav]
141356.703  6   1   1       FindSoundFile start [2.wav]
141356.703  6   1   1       FindSoundFile start [6.wav]
141356.703  6   1   1       FindSoundFile start [3.wav]
141356.703  6   1   1       FindSoundFile start [.wav]
141356.703  6   1   1       File not found [.wav], DirSysVoice=[C:\Program Files\VoiceGuide\system\voice\]
141356.703  6   1   1       FindSoundFile start [8.wav]
141356.703  6   1   1       FindSoundFile start [6.wav]
141356.703  6   1   1       FindSoundFile start [7.wav]
141356.703  6   1   1       FindSoundFile start [6.wav]

141356.703  6   1   1       q_tel +     cmd_PlayStart 161406 ,C:\Program Files\VoiceGuide\system\voice\2.wav,C:\Program Files\VoiceGuide\system\voice\6.wav,C:\Program Files\VoiceGuide\system\voice\3.wav,C:\Program Files\VoiceGuide\system\voice\SoundFileNotFound.wav,C:\Program Files\VoiceGuide\system\voice\8.wav,C:\Program Files\VoiceGuide\system\voice\6.wav,C:\Program Files\VoiceGuide\system\voice\7.wav,C:\Program Files\VoiceGuide\system\voice\6.wav []

Share this post


Link to post

On the last call in the traces the module "Say 4 Ball Number" tries to speak this expression:

 

$[RV[4ball]

 

There is a typo there...

 

You should change $[RV[4ball] to $RV[4ball] ie: remove the "["

 

 

Similar typos can be seen on other calls: $[RV[b4] instead of $RV[b4]

150514.906  6   1   1 state [Say 4 Ball Number] Say Numbers: $[RV[4ball] as Digits
150514.906  6   1   1       CheckForAnyPlayActionsAndSetkeysIfNecessary no PlayActions, vgmidx=10, strPaths=on {timeout 0} goto [Say Goodbye]

150514.906  6   1   1       PlaySoundStartNumbers , , $[RV[4ball], Digits
150514.906  6               dll   vgLib_SayNumbers: Digits begin
150514.906  6   1   1       playing [$[RV[4ball]] as [Digits] using DLL : [$.wav,[.wav,R.wav,V.wav,[.wav,4.wav,b.wav,a.wav,l.wav,l.wav,].wav]
150514.906  6   1   1       FindSoundFile start [$.wav]
150514.906  6   1   1       File not found [$.wav], DirSysVoice=[C:\Program Files\VoiceGuide\system\voice\]
150514.906  6   1   1       FindSoundFile start [[.wav]
150514.906  6   1   1       File not found [[.wav], DirSysVoice=[C:\Program Files\VoiceGuide\system\voice\]
150514.906  6   1   1       FindSoundFile start [R.wav]
150514.906  6   1   1       File not found [R.wav], DirSysVoice=[C:\Program Files\VoiceGuide\system\voice\]
150514.906  6   1   1       FindSoundFile start [V.wav]
150514.906  6   1   1       File not found [V.wav], DirSysVoice=[C:\Program Files\VoiceGuide\system\voice\]
150514.906  6   1   1       FindSoundFile start [[.wav]
150514.906  6   1   1       File not found [[.wav], DirSysVoice=[C:\Program Files\VoiceGuide\system\voice\]
150514.906  6   1   1       FindSoundFile start [4.wav]

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×