TeleFlow Forums
http://teleflow.org/phpbb/

PCM 8kHz 16-bit Mono WAV file in NMS
http://teleflow.org/phpbb/viewtopic.php?f=11&t=297
Page 1 of 1

Author:  trace [ Wed Nov 30, 2005 5:45 pm ]
Post subject: 

Hello, <br> <br>I get an invalid file format error for the message scripts for NMS 4000. I am using Windows PCM, 8kHz, 16-bit, Mono wav files for the scripts (these files were recorded in the Voice Script Manager of Teleflow 2003). The log file is below. Please let me know if more info is needed. <br> <br>Thank you, <br> <br>Trace <br> <br> <br>Message Code: INTRO <br>Nov 30 16:27:31.15: Playing 'C:\TELEFLOW_ROOT\APPLICATIONS\TestApp\Vox\Eng\Scripts\INTRO.WAV' <br>Nov 30 16:27:31.15: ERROR: Failed to open file <br>Nov 30 16:27:31.15: (196614) VCEERR_WRONG_FILE_TYPE <br>Nov 30 16:27:31.15: attempt 2 <br>Nov 30 16:27:31.16: open file <br>Nov 30 16:27:31.16: ERROR: Failed to open file <br>Nov 30 16:27:31.16: (196614) VCEERR_WRONG_FILE_TYPE <br>Nov 30 16:27:31.16: attempt 3 <br>Nov 30 16:27:31.18: open file <br>Nov 30 16:27:31.18: ERROR: Failed to open file <br>Nov 30 16:27:31.18: (196614) VCEERR_WRONG_FILE_TYPE <br>Nov 30 16:27:31.18: attempt 4 <br>Nov 30 16:27:31.19: open file <br>Nov 30 16:27:31.19: ERROR: Failed to open file <br>Nov 30 16:27:31.19: (196614) VCEERR_WRONG_FILE_TYPE <br>Nov 30 16:27:31.19: attempt 5 <br>Nov 30 16:27:31.21: open file <br>Nov 30 16:27:31.21: ERROR: Failed to open file <br>Nov 30 16:27:31.21: (196614) VCEERR_WRONG_FILE_TYPE <br>Nov 30 16:27:31.21: attempt 6 <br>Nov 30 16:27:31.22: open file <br>Nov 30 16:27:31.22: ERROR: Failed to open file <br>Nov 30 16:27:31.22: (196614) VCEERR_WRONG_FILE_TYPE <br>Nov 30 16:27:31.22: attempt 7 <br>Nov 30 16:27:31.24: open file <br>Nov 30 16:27:31.24: ERROR: Failed to open file <br>Nov 30 16:27:31.24: (196614) VCEERR_WRONG_FILE_TYPE <br>Nov 30 16:27:31.24: attempt 8 <br>Nov 30 16:27:31.26: open file <br>Nov 30 16:27:31.26: ERROR: Failed to open file <br>Nov 30 16:27:31.26: (196614) VCEERR_WRONG_FILE_TYPE <br>Nov 30 16:27:31.26: attempt 9 <br>Nov 30 16:27:31.27: open file <br>Nov 30 16:27:31.27: ERROR: Failed to open file <br>Nov 30 16:27:31.27: (196614) VCEERR_WRONG_FILE_TYPE <br>Nov 30 16:27:31.27: ERROR: Failed to play file <br>Nov 30 16:27:31.27: (196609) VCEERR_NO_MESSAGE <br>Nov 30 16:27:31.27: FAILURE <br>Nov 30 16:27:31.27: ERROR: Missing next step <br>Nov 30 16:27:31.27: FATAL <br>Nov 30 16:27:31.27: Attempting to jump to Fatal Error Global Event label: 'APPLICATION_ERROR' <br>Nov 30 16:27:31.27: [107] Label <br>Nov 30 16:27:31.27: Label: APPLICATION_ERROR <br>Nov 30 16:27:31.27: [108] Run Flowchart <br>Nov 30 16:27:31.27: Flowchart: 'Exit' <br>Nov 30 16:27:31.27: Main==>Exit <br>Nov 30 16:27:31.27: [1] START <br>Nov 30 16:27:31.27: [13] DB Disconnect <br>Nov 30 16:27:31.27: [8] Global Event <br>Nov 30 16:27:31.27: Setting system variable '@FATAL' to 'EXIT_END' <br>Nov 30 16:27:31.27: [11] Global Event <br>Nov 30 16:27:31.27: Setting system variable '@HANGUP' to 'EXIT_END'

Author:  trace [ Thu Dec 01, 2005 3:51 pm ]
Post subject: 

Hi, <br> <br>I have deleted everything and uploaded a fresh copy of the application for testing. I get a different "encoding" error (see log below) but it still has to do with the wav file type. It is still a Windows PCM, 8kHz, 16-bit, Mono. I checked the file type with Cool edit and it does confirm the Windows PCM, 8kHz, 16-bit, Mono. I would like to keep using wav files instead of vce files. <br> <br>Thank you, <br>Trace <br> <br>Message Code: INTRO <br>Dec 01 14:38:02.89: Playing 'C:\TELEFLOW_ROOT\APPLICATIONS\TestApp\Vox\Eng\Scripts\INTRO.WAV' <br>Dec 01 14:38:02.89: ERROR: Failed to open file <br>Dec 01 14:38:02.89: (196615) VCEERR_WRONG_ENCODING <br>Dec 01 14:38:02.89: attempt 2 <br>Dec 01 14:38:02.91: open file <br>Dec 01 14:38:02.91: ERROR: Failed to open file <br>Dec 01 14:38:02.91: (196615) VCEERR_WRONG_ENCODING <br>Dec 01 14:38:02.91: attempt 3 <br>Dec 01 14:38:02.93: open file <br>Dec 01 14:38:02.93: ERROR: Failed to open file <br>Dec 01 14:38:02.93: (196615) VCEERR_WRONG_ENCODING <br>Dec 01 14:38:02.93: attempt 4 <br>Dec 01 14:38:02.94: open file <br>Dec 01 14:38:02.94: ERROR: Failed to open file <br>Dec 01 14:38:02.94: (196615) VCEERR_WRONG_ENCODING <br>Dec 01 14:38:02.94: attempt 5 <br>Dec 01 14:38:02.96: open file <br>Dec 01 14:38:02.96: ERROR: Failed to open file <br>Dec 01 14:38:02.96: (196615) VCEERR_WRONG_ENCODING <br>Dec 01 14:38:02.96: attempt 6 <br>Dec 01 14:38:02.97: open file <br>Dec 01 14:38:02.97: ERROR: Failed to open file <br>Dec 01 14:38:02.97: (196615) VCEERR_WRONG_ENCODING <br>Dec 01 14:38:02.97: attempt 7 <br>Dec 01 14:38:02.99: open file <br>Dec 01 14:38:02.99: ERROR: Failed to open file <br>Dec 01 14:38:02.99: (196615) VCEERR_WRONG_ENCODING <br>Dec 01 14:38:02.99: attempt 8 <br>Dec 01 14:38:03.00: open file <br>Dec 01 14:38:03.00: ERROR: Failed to open file <br>Dec 01 14:38:03.00: (196615) VCEERR_WRONG_ENCODING <br>Dec 01 14:38:03.00: attempt 9 <br>Dec 01 14:38:03.02: open file <br>Dec 01 14:38:03.02: ERROR: Failed to open file <br>Dec 01 14:38:03.02: (196615) VCEERR_WRONG_ENCODING <br>Dec 01 14:38:03.02: ERROR: Failed to play file <br>Dec 01 14:38:03.02: (196609) VCEERR_NO_MESSAGE <br>Dec 01 14:38:03.02: FAILURE <br>Dec 01 14:38:03.02: ERROR: Missing next step <br>Dec 01 14:38:03.02: FATAL <br>Dec 01 14:38:03.02: Attempting to jump to Fatal Error Global Event label: 'APPLICATION_ERROR' <br>Dec 01 14:38:03.02: [107] Label <br>Dec 01 14:38:03.02: Label: APPLICATION_ERROR <br>Dec 01 14:38:03.02: [108] Run Flowchart <br>Dec 01 14:38:03.02: Flowchart: 'Exit' <br>Dec 01 14:38:03.02: Main==>Exit

Author:  trace [ Thu Dec 01, 2005 3:57 pm ]
Post subject: 

P.S. We have another app running on the same server in teleflow that has no problem with wav files. I checked the format of those files and they are in the same format as mine. Unfortunately the guy who setup up that app is unreachable.

Author:  admin [ Thu Dec 01, 2005 4:05 pm ]
Post subject: 

Trace, <br> <br>We will have a response for you on this today.

Author:  Tim [ Thu Dec 01, 2005 4:08 pm ]
Post subject: 

Ensure that the "rvoice" DSP program is loaded in your NMS configuration file(s). If it is not, you'll have to add it. For the changes to take, you'll have to restart your card(s). Your best bet would be to reboot the computer.

Author:  Tim [ Thu Dec 01, 2005 4:11 pm ]
Post subject: 

Actually, scratch that. You said that you have another application on the same server that will play .wav files. Instead... <br> <br>Check the voice Script manager entry "INTRO". Ensure that the "Voice Type" setting is set to WAV. If it is not, you would get this error.

Author:  trace [ Thu Dec 01, 2005 5:35 pm ]
Post subject: 

Hi Tim, <br> <br>The "Voice Type" is set to WAV.

Author:  trace [ Fri Dec 02, 2005 12:13 pm ]
Post subject: 

OK...solved it. All the values under the column "VoxConv" had a value of 4. I compared it to the voice database of the app that was working and the values there were 0002. So I have changed the values of the "VoxConv" field to 0002 and it works. <br> <br>Thank you for responding so fast and looking into this. <br> <br>Trace

Author:  admin [ Fri Dec 02, 2005 12:25 pm ]
Post subject: 

enGenic Team: Where it says "Playing" in the log file, it might be worth adding a code behind that. ie: "Playing VCE (Code: 004)" or something to that effect.

Author:  Awgeewhiz [ Mon Dec 12, 2005 1:48 pm ]
Post subject: 

I've encountered almost identical errors when trying to add to or update the existing script wav files, even though they were the same format. <br> <br>Wav PCM 8000 16 bit mono's. <br> <br>I would also get the "wrong encoding error". <br> <br>Using the Play step, bypassing the "play voice message code" and using the "voice file" paramater with the "Wav 8khz 16b PCM" tick cured the problem.

Page 1 of 1 All times are UTC - 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/