When preparing applications, a developer will often come across numbers especially to make numeric announcements including date, currency, time, digits and numbers. Xtend IVR facilitates digit handling and their play back a bit more easier with Number-to-Speech plugins.
However, there are some points to be kept in mind while working with WAVE files. These are discussed below.
- Multiple wave files delimited by a space may be specified as arguments with the Play command.
- All Number-to-Speech plugins return a string containing multiple wave files separated by a space.
- All wave plugins dynamically create and return the wave file names.
- The conventions to name a wave file in English are as follows:
- The prefix of a wave file name usually represents the language and the artist. For example,
Engsam25.wav denotes the number 25 articulated by Mr.Sam in English.
Arbjab33.wav denotes the number 33 articulated by Mr.Jaber in Arabic.
- A number is expressed in both continuous and conclusive accent. Thus we need two wave files to represent each number. To distinguish a file with a continuous accent we insert an '_' before the filename. For example,
Engsam_25.wav means the number 25 articulated by Mr.Sam in English with a continuous accent.
Arbjab_33.wav means the number 33 articulated by Mr.Jaber in Arabic with a continuous accent.
- We write in words, in place of numerals, to indicate numbers above hundred such as,
Engsamhundred.wav to denote the number 100 spoken by Mr.Sam in English. At the same time,
Engsam_hundred.wav denotes the number 100 spoken by Mr.Sam in English with a continuous tone.
- Similarly, we name the Hindi wave files, in that, we specify Hin in place of Eng such as HinSre49.wav, HinSre_Feb.wav and so on.
Thus, we have 100 wave files for numbers from 0 to 99 with a conclusive accent, like engsam0.wav to engsam99.wav and another 100 wave files to represent the same in a continuous tone, like engsam_0.wav to engsam_99.wav. Also, we keep two wave files for each of the following numbers:
100 Hundred.wav, _Hundred.wav
1000 Thousand.wav, _Thousand.wav
100000 Lakh.wav, _Lakh.wav
1000000 Million.wav, _Million.wav
10000000 Crore.wav, _Crore.wav
100000000 Billion.wav, _Billion.wav
1000000000000 Trillion.wav, _Trillion.wav
In case of announcing numbers in Hindi, we save the files as
100 Sau.wav, _Sau.wav
1000 Hasaar.wav, _Hasaar.wav
100000 Lakh.wav, _Lakh.wav
10000000 Karode.wav, _karode.wav
Xtend IVR supports another 12 wave files to express the 12 months of a year such as _jan.wav, _feb.wav, _mar.wav and so on. We follow the same names in both Hindi and English languages. The currency files supported right now include:
dollar.wav, _dollar.wav
dollars.wav, _dollars.wav
pound.wav, _pound.wav
pounds.wav, _pounds.wav
Coming to Hindi language, the same would be in
rupaya.wav, _rupaya.wav
rupaye.wav, _rupaye.wav
paisa.wav, _paisa.wav
paisae.wav, _paisae.wav
A set of waves auxiliary to time plugins consists of the following wave files in English.
hour.wav, _hour.wav
hours.wav, _hours.wav
minute.wav, _minute.wav
minutes.wav, _minutes.wav
For Hindi speaking linguistic regions, we can save the wave files in the following names.
Khanda.wav, _Khanda.wav
Khande.wav, _Khande.wav
minute.wav, _minute.wav
minutes.wav, _minutes.wav
In addition to the above mentioned waves, some miscellaneous waves are also necessary for Number-to-Speech plugins to function properly. They are:
_and.wav
_first.wav
_second.wav
_third.wav
_th.wav
_21st.wav
_22nd.wav
_23rd.wav
_25th.wav
_31st.wav
_point.wav
_minus.wav
Auxiliary wave files that are of use in Hindi speech are:
_dashamsh.wav
_point.wav
_minus.wav