Convert *.wav with crcvg

All those commands that we don't really use very often, but that we should ! Documented or not, they worth it !
User avatar
frank
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 3169
Joined: 06 Jul 2004 00:18
Location: New York
Contact:

Re: Convert *.wav with crcvg

Post by frank »

Hi Sadim,

Can you upload the file in the pastebin ?
Code Free Or Die
sadim
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 691
Joined: 02 Jun 2006 07:11
Location: Portugal

Re: Convert *.wav with crcvg

Post by sadim »

Sorry nut i want to limit the number of distribution
User avatar
Eliott_DUP
Member
Posts: 793
Joined: 19 Apr 2007 11:20
Location: In front of my PC

Re: Convert *.wav with crcvg

Post by Eliott_DUP »

Summary of this thread:

-Need a GPA/Z20VG/CPU6 board
-Wave-File in 8 KHz Mono a-law
-Tool crcvg viewtopic.php?f=47&t=2076
-Copy crcvg-Tool into PCX and change rights to 777 and owner mtcl / group tel
-Copy wav file to /usr7/vg/pc and change rights to 666 and owner mtcl / group tel => -rw-rw-rw- 1 mtcl tel 19558 Jan 2 12:50 812_812
-enter crcvg command: ... Checking CRC of VG files in directory /DHS3ext/vg/pc/ ...
Adding CRC to file /DHS3ext/vg/pc/812_812 CRC = 299733
-Create Voice Guide 812 under System => Voiceguide and System => Recordable Voiceguide => Assignment and Import new files in database
-File will be copied to /usr7/vg/dhs
-Select Voice-guide 812 under System => Recordable Voiceguide => Dynamic voice messages numbers => Go down hierarchy => Dynamic voice messages files -> select
-Restart board

But: Only in Unix releases and bad audio quality compared with Alcatel Audio Station (AAS)

Workaround for Linux: Copy file into a Unix release pcx, convert and copy the result into Linux release.
Never give up!
krzysioD
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 1165
Joined: 30 Aug 2006 13:43
Location: Europe, Poland

Re: Convert *.wav with crcvg

Post by krzysioD »

Yeap, that is some solution.
But:
a) you have to have Ux. (after spending some time with bochs + Janula -- the sucessort of Chorus, opensourced by Sun i've give up) or at least working hdd image somewhere
b) one and only needed thing is calculating CRC, why Alcatel made it so difficult?
Please note that at no time I will provide you with OXE/4400 nor AOS releases.
Note that it's our private time, that we spent to help you, so please don't expect complete solution for your problem.
You will need to do homework by your self.
User avatar
frank
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 3169
Joined: 06 Jul 2004 00:18
Location: New York
Contact:

Re: Convert *.wav with crcvg

Post by frank »

Maybe it s going to be easier with release 8...
Code Free Or Die
ibuza
Member
Posts: 88
Joined: 26 Sep 2006 14:53

Convert *.wav with some tool from Alcatel Professional Servi

Post by ibuza »

For all of you who want to convert wav files to files that can be used as dynamic voice guides there is a new solution.
Known solutions:
1. Buy Alcatel Audio Station 7.x
2. Get Alcatel Audio Station 6.x from someone (was downloadable for free on the Business Partner Website before it was removed - so it should be still free of charge, if you can get it)
3. use crcvg on a UNIX system (R5.01 UX and below)
4. Buy a tool that Sadmin has programmed

New solution(s):
Go to the Alcatel Professional Services Website
Apply for a login to have access to the download area
Download VGComSrv

This is a tool that can exchange Dynamic Voice Guides in a 4400/OXE (upload + activation of the VG).
According to the French description it uses FlexLM for licence managment - so I do not expect that to work without a licence.

But this tool is also able to add the crc and memo to wav files. I only tried that and is seams to work.
Image
After the installation (which is done in French...) you have to change the file VGcustom.ini with a text editor.
The path of the scripts and storage directory has to point to the installation directory. By default this is only the case if you install the program on a French Windows System.
So the entry should look like that for example:
pathFilesScripts=C:/Program Files/VGComSrv/

Only problem so far: when you try to end this program there is some french error message.

But Alcatel Professional Services also delivers another possible solution:
If you install the program there is a new dll file in /Windows/system32
It is called RealSpeakAdaptor.dll and according to the documentation (in French :roll: :( :evil: :!: :?: :!: ) it is able to convert wav files and add crc and memo to a file.

Since I only have very limited programming skills I was not able to use this dll.
If I call a function like CrcVg in this dll it keeps telling me that this function was not found.

But a program like PE Explorer shows that these (and more) functions are available:

//method AddWavePCMHeader
function AddWavePCMHeader(PCMfile: BSTR; OutputPath: BSTR; WavFormatTag: INT; Frequency: INT): BSTR; stdcall;
//method CrcVg
function CrcVg(WaveFileName: BSTR; OutputFile: BSTR); stdcall;
//method AddCrcVgWithMemo
function AddCrcVgWithMemo(WaveFileName: BSTR; Memo: BSTR; OutputFile: BSTR): I4; stdcall;
//method ReadMemoVGFile
function ReadMemoVGFile(VGfile: BSTR): BSTR; stdcall;


Maybe someone with better programming skills can help out and we finally get a handy and FREE tool to convert wav files an add crc.
Only-Alcatel
Member
Posts: 9
Joined: 05 Jan 2008 10:01
Location: Australia

Re: Convert *.wav with crcvg

Post by Only-Alcatel »

Thats AWESOME Ibuza, thanks for all your work on this, I too have have ripped chunks of my hair out trying to get stupid guides into system!!

On the OXO it is a dream to complete this simple task, on OXE/4400 it is a farce!!
" Have we got the machine that goes BING?"
krzysioD
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 1165
Joined: 30 Aug 2006 13:43
Location: Europe, Poland

Re: Convert *.wav with crcvg

Post by krzysioD »

Eliott wrote:Summary of this thread:

-Need a GPA/Z20VG/CPU6 board
-Wave-File in 8 KHz Mono a-law
-Tool crcvg viewtopic.php?f=47&t=2076
-Copy crcvg-Tool into PCX and change rights to 777 and owner mtcl / group tel
-enter crcvg command: ... Checking CRC of VG files in directory /DHS3ext/vg/pc/ ...
And here i've got problem:
(1)xa000000> ./crcvg


... Checking CRC of VG files in directory /DHS3ext/vg/pc/ ...

Adding CRC to file /DHS3ext/vg/pc/900_03 CRC = 11eba6b
Adding CRC to file /DHS3ext/vg/pc/900_04 CRC = 23f84bc
Adding CRC to file /DHS3ext/vg/pc/915_01 CRC = 19beb41
Adding CRC to file /DHS3ext/vg/pc/915_04 CRC = 11814d5
Error on file /DHS3ext/vg/pc/500_01 : Bad content format
Adding CRC to file /DHS3ext/vg/pc/900_01 CRC = fe0678
Error on file /DHS3ext/vg/pc/900_01 : Can't read info fields
Adding CRC to file /DHS3ext/vg/pc/900_02 CRC = 16fe02a
Error on file /DHS3ext/vg/pc/900_02 : Can't read info fields
Please note that at no time I will provide you with OXE/4400 nor AOS releases.
Note that it's our private time, that we spent to help you, so please don't expect complete solution for your problem.
You will need to do homework by your self.
etez2007
Member
Posts: 8
Joined: 07 Jan 2008 13:41
Location: France

Re: Convert *.wav with crcvg

Post by etez2007 »

Concerning VGComSrv, I tried it, but was not able to get a good guide for OXE.

I used a WAV file 16bit A-low 8KHz mono, but nothing ...

Is anybody had success with it ?
CCemail / CCoutbound / CC premium edition / cmII
_____
Love your enemies, it is the best way to irritate them.
User avatar
Eliott_DUP
Member
Posts: 793
Joined: 19 Apr 2007 11:20
Location: In front of my PC

Re: Convert *.wav with crcvg

Post by Eliott_DUP »

16 bit is wrong, I think
Never give up!
Post Reply

Return to “Usefull commands”