|
Author
|
Topic: Provide forward/backward functionality in playing audio file.
|
Vimal
Junior Member
Member # 3970
Rate Member
|
posted November 07, 2006 01:32 AM
Hi,
I am developing an application in which while playing of document(which is in WAV format) i want to provide functions like
1) Navigation function like to go back or forward 5 seconds (WAV). 2) User can pause and start playing of document from beginning or can start from where he says pause.
How to provide such fuctionalities? Is there any build in fuction by which i can perform the same?
Thank & Regards, ------- Vimal
Posts: 2 | From: ahmedabad | Registered: Nov 2006
| IP: Logged
|
|
mheadd
Member
Member # 3181
Member Rated:
|
posted November 08, 2006 10:40 AM
There isn't anything in the VoiceXML specification itself that lets you do this with audio files. Some vendors, however, have added extensions to their platforms to allow this.
Check out the VoiceGenie site for more information on audio control properties.
Hope this helps.
-------------------- Mark VoiceinGov.org http://www.voiceingov.org
Posts: 55 | Registered: Jun 2005
| IP: Logged
|
|
mheadd
Member
Member # 3181
Member Rated:
|
posted November 09, 2006 04:55 PM
Actually, on further investigation, I found this article on the VoiceXML review.
It demonstrates how to use server-side logic to manipulate an audio file to provide backward and forward navigational capability.
Hope this helps.
-------------------- Mark VoiceinGov.org http://www.voiceingov.org
Posts: 55 | Registered: Jun 2005
| IP: Logged
|
|
|
|
mheadd
Member
Member # 3181
Member Rated:
|
posted January 02, 2007 12:28 PM
For those interested, I've gone ahead and written a quick script that demonstrates how to implement fast forward and rewind functionality using PHP and WAV audio files.
This approach should work with a wide array of VoiceXML platforms, and (since it's written in PHP) it should work on Windows or Linux.
You can download this script from my site.
Cheers!
-------------------- Mark VoiceinGov.org http://www.voiceingov.org
Posts: 55 | Registered: Jun 2005
| IP: Logged
|
|