VoiceGuide IVR Software Main Page
Jump to content

Record into new file when silence heard

Recommended Posts

Question was asked about how to record into separate files when it is known that the sound spoken on the line will have silences in it.

In answer: this is easily achieved by just setting the silence length, and then recording as usual. The "on {silence} goto [...]" path will be taken when silence is encountered. The "on {silence} goto [...]" path can just point to another Record module to continue recording into new file after the silence.

Here is a sample script created to demonstrate how this is done:

image.thumb.png.2bf3eabae277789e2fb81b20482cd897.png

Here is the .VGS file itself (open .VGS in VoiceGuide Script Editor):

test1.vgs

The above demo script sets the silence length to be 1 second, and then records up to 4 sound files with script moving to next record module whenever a 1 second silence is heard.

To test this a call was placed into the system and this sound file was played when the "test1.vgs" script answered:

count_1_to_16_with_1sec_pauses.wav

image.thumb.png.196e888b6582d574efe937ca0740cc90.png

The sound file is a recording of a person saying 1 to 16, with 1.1 second silence gap after each 4th number spoken.

When tested, the system detected the 1 second silence gaps and as expected recorded this into 4 separate sound files.

Here is the  vgEngine trace capturing the call:

test1_vgengine.txt

and here are the 4 sound files recorded:

0424121608_225_73_.wav

0424121611_225_73_.wav

0424121614_225_73_.wav

0424121617_225_73_.wav

Here is one of the files opened in Audacity:

image.thumb.png.0dccad421413f2a97c1e40daefef909a.png

 

 

 

Share this post


Link to post

Please post the vgEngine trace capturing the call, and the recording made by [rec 1] module.

Share this post


Link to post

Please also post the sound file recorded by the 'record' type module. Trace shows it is this file: C:\callrecord\1.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
×