VoiceGuide IVR Software Main Page
Jump to content

Multiple Wav Files In Play Module

Recommended Posts

;) I would like to know how to get the play module to play more than one wav file, the help says seperate

the wav files with a comma but this does not appear to work. I have an approximate 5 minute message and need longer than the 60 seconds than the module supports, the closest I have come is the last wav file plays and disregards the first one.

 

Any help would be appreciated, I am running the evaluation version currently.

 

Paul

Share this post


Link to post

Are you perhaps using an old version of VoiceGuide which did not support multiple sound files?

 

If you are using a current version (4.8.45) could you please send us a copy of VoiceGuide's Debug Printout which captures the problem, this will allow us to see what is going wrong.

 

(When running the script click on VoiceGuide's View menu and select 'Event Trace Log' option - any log information will then appear in this window. You must open the trace window before making the call.)

 

Here are the traces of the tests that I've just made - I set up a script with a Play module in which I specified to have 4 sound files played one after another. The filenames were separated by commas. I tested on both Modems and Dialogic cards, and both worked OK.

 

 

Dialogic:

28671 6 [TestMultiPlay] Playing

28671 6 [TestMultiPlay] Playing (C:\Projects\vg32\system\voicedlgc\0.WAV, C:\Projects\vg32\system\voicedlgc\1.WAV,C:\Projects\vg32\system\voicedlgc\2.WAV, C:\Projects\vg32\system\voicedlgc\3.WAV)

28671 6 PlayMulti(1)[C:\Projects\vg32\system\voicedlgc\0.WAV]

28671 6 PlayMulti(2)[C:\Projects\vg32\system\voicedlgc\1.WAV]

28671 6 PlayMulti(3)[C:\Projects\vg32\system\voicedlgc\2.WAV]

28671 6 PlayMulti(4)[C:\Projects\vg32\system\voicedlgc\3.WAV]

28703 6 PlaySoundStartMulti ok

28703 6 RunModule PLAY end

31968 6 Play End line[6] (id=928671)

31968 6 LsPlayMsg EV_PLAY_FINISHED

 

 

Modem:

62718 0 [TestMultiPlay] Playing

62718 0 [TestMultiPlay] Playing (C:\Projects\vg32\system\voice\0.WAV, C:\Projects\vg32\system\voice\1.WAV,C:\Projects\vg32\system\voice\2.WAV, C:\Projects\vg32\system\voice\3.WAV)

62734 0 PlayMulti(1)[C:\Projects\vg32\system\voice\0.WAV]

62734 0 PlayMulti(2)[C:\Projects\vg32\system\voice\1.WAV]

62734 0 PlayMulti(3)[C:\Projects\vg32\system\voice\2.WAV]

62734 0 PlayMulti(4)[C:\Projects\vg32\system\voice\3.WAV]

63109 0 PlaySoundStartMulti ok

63109 0 RunModule PLAY end

66312 0 Play End line[0] (id=162734)

66328 0 LsPlayMsg EV_PLAY_FINISHED

 

 

Regarding your second problem:

 

There is no limit on the length of the sound file you can use in the Play module (why are you under impression that it only supports 60 seconds?).

 

We have mentioned before that Modem's wave drivers take longr to sart playing long sound files, but this only applied to sound files which are 20+ monites long.

(Dialogic have no problems playing soundfiles longer then one hour...)

 

I've again captured some traces to show this. First I had a Dialogic card play a 30 minute sound file. Trace shows:

 

48203 6 [Play 11] Playing (Dlgc30min.wav)

48359 6 PlaySoundStart ok [C:\Projects\vg32\Scripts\Dlgc30min.wav]

 

you can see that it took 150ms for the Dialogic to load and start playing the 30 minute sound file. (those numbers on left hand side show milliseconds)

 

Next I had the modem play a 5 minute sound file:

 

22468 0 [TestPlayLongFile] Playing (Mdm5min.wav)

24218 0 PlaySoundStart ok [C:\Projects\vg32\Scripts\Mdm5min.wav]

 

It took the Modem's Wave drivers about 1.8 seconds to load the file and start playing it...

 

 

If you are finding that your system behaves differently please send us a copy of VoiceGuide's Debug Printout which captures the problem.

Share this post


Link to post

Also, the Evaluation version is no way limited in the lengths of the sound files that can be played... you can play 10 hour long sound files if you need to (use Dialogic cards)...

 

The Evaluation version of VoiceGuide functions just like the Enterprise version + the VoiceGuide Dialer add-on - (it's only limitation is that it needs to be restarted every hour)...

Share this post


Link to post

Thank you for your reply,

 

I got the impression of the 60 seconds because when I opened the sound recorder

and started recording, it would count up to 60 seconds and stop, but I noticed if you stop

recording and restart, you continue with another 60 seconds from where you left off.

I just assumed it would be continuous, am I doing something wrong or is this how it works ?

 

I should mention I am using a modem and believe I am recording via the sound card, the modem wave

drivers appear to be loaded correctly, however I can not seem to record through it.

 

Paul.

Share this post


Link to post

The Window's Sound Recorder is a pretty basic tool, and it has the 60 second record limit.

 

We recommend using CoolEdit for recording and editing of sound files - an evaluation version can be obtained from:

 

http://www.cooledit.com/

 

The sound files you intend to use in your script should be recorded using the sound card, you should not use the modem to record your script's sound files...

 

If you can play files though the modem after the call is answered then there should be no problems with recording caller's messages - if there are some glitches encountered while recording could you please send us a copy of VoiceGuide's Debug Printout which captures the problem, this will allow us to see what is going wrong.

 

(When running the script click on VoiceGuide's View menu and select 'Event Trace Log' option - any log information will then appear in this window. You must open the trace window before making the call.)

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
×