$wave = Date2Wav ( <Date>, [Prefix], [Language], [Accent], [Delay] )
Date to Wave converter
is used to announce the date in human voice.
<Date> Any valid date. Supported formats are dd/mm/yyyy and yyyymmdd.
Wave file name prefix. This parameter is optional. The default value is "SRE".
to be used. Default parameter is "ENG_US".
The type of accent - FALSE to cease or TRUE to continue. Default value is FALSE.
Pause in milliseconds between 2 consecutive wave files. Default value is 0.
in human voice.
- You can use
customized wave files with the artist's name as filename prefix. To do customized
recording, you have to follow some standard rules.
- Xtend IVR supports 3 different flavors of English
language. Hence the language parameters will change accordingly. To support
- Indian English, give "ENG_IN"
- American English, give "ENG_US" or "ENG" or "ENGLISH"
- British English, give "ENG_UK"
1) $wave = Date2Wav ("01/01/2000")
$wave now contains SRE_First.wav SRE_Jan.wav SRE_2.wav SREthousand.wav
2) $x = "2/1/1999"
$wave = Date2Wav ($x)
$wave now contains SRE_2nd.wav SRE_Jan.wav SRE_19.wav SRE_99.wav
3) $wave = Date2Wav ("3/01/2001","SRE","ENG")
$wave now contains SRE_3rd.wav SRE_Jan.wav SRE_2.wav SRE_thousand.wav SRE1.wav
4) $wave = Date2Wav ("25/12/2000","SRE","ENG",TRUE,3)
$wave now contains SRE_25th.wav SRE_Dec.wav SRE_2.wav SREthousand.wav