532 Voice API for Windows Operating Systems Library Reference — November 2003
TN_GENCAD — cadenced tone generation template
tone[4]
The tone[ ] array contains four elements that specify TN_GEN single- or dual-tone definitions
(frequency, amplitude, & duration). The tone[ ] element is ignored if the segment is not
specified in numsegs.
The dx_bldtngen( ) function can be used to set up the TN_GEN tone[ ] elements. At least one
tone definition, tone[0], is required for each segment used, and you must specify a valid
frequency (tg_freq1); otherwise an EDX_FREQGEN error is produced. See the TN_GEN
structure for more information.
!
!!
!Example
For examples of TN_GENCAD, see the standard call progress signals used with the
dx_playtoneEx( ) function.