1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
6<title>axvpb.pb.mix</title>
7<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
8<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 6.5.0.0 for Windows">
9<META http-equiv="Content-Style-Type" content="text/css">
10</head>
11
12<body>
13
14<h1 align="left">axvpb.pb.mix</h1>
15
16
17<h2>C Specification</h2>
18<BLOCKQUOTE>
19<pre><CODE>typedef struct _AXPBMIX
20{
21
22    u16 vL;             // volume left
23    u16 vDeltaL;        // volume ramp left
24    u16 vR;             // volume right
25    u16 vDeltaR;        // volume ramp right
26
27    u16 vAuxAL;         // volume AUX A left
28    u16 vDeltaAuxAL;    // volume ramp AUX A left
29    u16 vAuxAR;         // volume AUX A right
30    u16 vDeltaAuxAR;    // volume ramp AUX A right
31
32    u16 vAuxBL;         // volume AUX B left
33    u16 vDeltaAuxBL;    // volume ramp AUX B left
34    u16 vAuxBR;         // volume AUX B right
35    u16 vDeltaAuxBR;    // volume ramp AUX B right
36
37    u16 vAuxCL;         // volume AUX C left
38    u16 vDeltaAuxCL;    // volume ramp AUX C left
39    u16 vAuxCR;         // volume AUX C right
40    u16 vDeltaAuxCR;    // volume ramp AUX C right
41
42    u16 vS;             // volume surround
43    u16 vDeltaS;        // volume ramp surround
44    u16 vAuxAS;         // volume AUX A surround
45    u16 vDeltaAuxAS;    // volume ramp AUX A surround
46    u16 vAuxBS;         // volume AUX B surround
47    u16 vDeltaAuxBS;    // volume ramp AUX B surround
48    u16 vAuxCS;         // volume AUX C surround
49    u16 vDeltaAuxCS;    // volume ramp AUX C surround
50
51} AXPBMIX;</CODE></pre>
52</BLOCKQUOTE>
53<h2>Description</h2>
54
55<p>These values specify the mixing parameters for each of the 12 channels in a given voice. Volume is expressed as a 16-bit, fixed-point number (most significant bit for the integer, 15 bits of fraction). <BR><B>Note:</B> The <code>axvpb.pb.mixerCtrl</code> value must also be initialized correctly in order to apply these values.</p>
56
57<p><strong><B>Note:</B></strong> The DSP does not clamp volume-ramp computations. Your audio application is responsible for ensuring that the computation remains within bounds.</p>
58
59<p>In <code>AX_MODE_DPL2</code> mode, <code>AXPBMIX</code> is used as follows:</p>
60
61<pre><CODE>
62// Note: In DPL2, AuxC bus is not supported.
63
64    u16 vL;             // volume left
65    u16 vDeltaL;        // volume ramp left
66    u16 vR;             // volume right
67    u16 vDeltaR;        // volume ramp right
68
69    u16 vAuxAL;         // volume AUX A left
70    u16 vDeltaAuxAL;    // volume ramp AUX A left
71    u16 vAuxAR;         // volume AUX A right
72    u16 vDeltaAuxAR;    // volume ramp AUX A right
73
74    u16 vAuxBL;         // volume AUX B left
75    u16 vDeltaAuxBL;    // volume ramp AUX B left
76    u16 vAuxBR;         // volume AUX B right
77    u16 vDeltaAuxBR;    // volume ramp AUX B right
78
79    u16 vAuxCL;         // volume right surround
80    u16 vDeltaAuxCL;    // volume ramp right surround
81    u16 vAuxCR;         // volume Aux A right surround
82    u16 vDeltaAuxCR;    // volume ramp Aux A right surround
83
84    u16 vS;             // volume left surround
85    u16 vDeltaS;    // volume ramp left surround
86    u16 vAuxAS;         // volume AUX A left surround
87    u16 vDeltaAuxAS;    // volume ramp left AUX A surround
88    u16 vAuxBS;         // volume AUX B left surround
89    u16 vDeltaAuxBS;    // volume ramp AUX B left surround
90    u16 vAuxCS;         // volume AUX B right surround
91    u16 vDeltaAuxCS;    // volume ramp AUX B right surround
92
93</CODE></pre>
94
95<p>The user must assert the <code>AX_SYNC_USER_MIX</code> bit in the <code>axvpb.sync</code> member, when any of the above values have changed.</p>
96
97<h2>See Also</h2>
98<p>
99<code><a href="../Voice_Parameter_Blocks/sync.html">axvpb.sync</a><br> <a href="mixerCtrl.html">axvpb.pb.mixerCtrl</a><br> <a href="../Voice_Parameters/AXSetVoiceMix.html">AXSetVoiceMix</a></code>
100</p>
101
102<h2>Revision History</h2>
103
104<P>2006/03/01 Initial version.</P><p>&nbsp;</p>
105<hr>
106<P>CONFIDENTIAL</p>
107</BODY>
108</HTML>
109