




7.3. Using Speed and Volume Control
This section describes the steps for the following:
- Setting play adjustment conditions
- Adjusting play explicitly
7.3.1. Setting Adjustment Conditions
Adjustment conditions are set in the same way for speed or volume. The following steps describe how to set conditions upon which volume should be adjusted:
- Set up the Volume Modification Table (if you do not want to use the defaults):
· Set up the DX_SVMT structure to specify the size and number of the steps in the table.
· Call the dx_setsvmt( ) function, which points to the DX_SVMT structure, to modify the Volume Modification Table (dx_setsvmt( ) can also be used to reset the table to its default values).
- Set up the DX_SVCB structure to specify the condition, the size and type of adjustment.
- Call dx_setsvcond( ), which points to an array of DX_SVCB structures. All subsequent plays will adjust volume as required whenever one of the conditions specified in the array occur.
See the Voice Software Reference: Programmer's Guide for more information on dx_setsvcond( ) and dx_setsvmt( ). See the Voice Software Reference: Programmer's Guide for information on the DX_SVMT and DX_SVCB structures.
7.3.2. Explicitly Adjusting Speed and Volume
Speed and volume adjustments are made in the same way. The following is an example of the steps you should take to adjust speed, but you can use exactly the same procedure for volume:
- Set up the Speed Modification Table (if you do not want to use the defaults):
· Set up the DX_SVMT structure to specify the size and number of the steps in the table.
· Call the dx_setsvmt( ) function, which points to the DX_SVMT structure, to modify the Speed Modification Table (dx_setsvmt( ) can also be used to reset the table to its default values).
- When required, call dx_adjsv( ) to adjust the Speed Modification Table, by specifying the size and type of the adjustment.
See the Voice Software Reference: Programmer's Guide for more information on dx_adjsv( ) and dx_setsvmt( ). See the Voice Software Reference: Programmer's Guide for information about the DX_SVMT structure.





Click here to contact Dialogic Customer Engineering
Copyright 2001, Dialogic Corporation
All rights reserved
This page generated January, 2001