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.srcSelect</title>
7<META http-equiv="Content-Type" content="text/html; charset=utf-8">
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.srcSelect</h1>
15
16<h2>Syntax</h2>
17<dl><dd><pre class="construction">
18#define AX_PB_SRCSEL_POLYPHASE  0x0000  // N64 type polyphase filter (4-tap)
19#define AX_PB_SRCSEL_LINEAR     0x0001  // Linear interpolator
20#define AX_PB_SRCSEL_NONE       0x0002  // No SRC (1:1)
21
22u16 srcSelect;
23</pre></dd></dl>
24
25<h2>Description</h2>
26<p>The <SPAN class="argument">srcSelect</SPAN> function specifies which SRC (Sample Rate Converter) to use for the given voice:</p>
27
28<ul>
29<li><code>AX_PB_SRCSEL_POLYPHASE</code><br>This SRC applies a four-tap polyphase FIR filter to eliminate aliasing/imaging components. While providing a very 'clean' signal, the signal has a truncated frequency band as dictated by the coefficients of the filter. You must select the coefficients using the <code>axvpb.pb.coefSelect</code> parameter. It is very similar to the SRC commonly used in N64 applications.
30<li><code>AX_PB_SRCSEL_LINEAR</code><br> Linear interpolation. Calculation precision is slightly below that of <CODE>POLYPHASE</CODE>, but the load on the DSP is lighter so you can use more voices. If there is no problem with sound quality when you listen to the actual audio, then we recommend you use <code>LINEAR</code>.
31<li><code>AX_PB_SRCSEL_NONE</code><br> This mode will bypass the SRC stage entirely. The mode is useful for samples which do not need to be pitch-shifted (e.g., software streams with 32-kHz sample rate).
32</ul>
33
34<h2>See Also</h2>
35<p class="reference">
36<a href="../Voice_Parameter_Blocks/sync.html">axvpb.sync</a><BR> <a href="coefselect.html">axvpb.pb.coefSelect</a><BR> <a href="../Voice_Parameters/AXSetVoiceSrcType.html">AXSetVoiceSrcType</a>
37</p>
38
39<h2>Revision History</h2>
40<P>
412009/06/19 Revised the description for <CODE>LINEAR</CODE>.<br>2006/03/01 Initial version.<br>
42</P>
43
44<hr><p>CONFIDENTIAL</p></body>
45</html>
46