1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<HTML>
3<HEAD>
4<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<META name="GENERATOR" content="Microsoft FrontPage 5.0">
6<META http-equiv="Content-Style-Type" content="text/css">
7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
8<TITLE>AX Stream</TITLE>
9</HEAD>
10<BODY>
11<H1 align="left">axstream</H1>
12
13<H2>Description</H2>
14<P>This program demonstrates 'software audio streaming'. Audio data are streamed from main memory into ARAM and played through the DSP using a looped AX voice. <B>Note:</B> Special handling is required for ADPCM-encoded audio data.</P>
15<P>Because the SRC is not used in this demo, each demo sound was created using the base sample rate of 32KHz.</P>
16<H2>Coverage</H2>
17
18<UL type="DISC">
19<LI>AX initialization, setup, shutdown.
20<LI>AX voice acquisition, runtime manipulation.
21<LI>MIX initialization, setup, shutdown.
22<LI>MIX runtime manipulation.
23</UL>
24<H2>Operation Method</H2>
25<TABLE border="0" width="615">
26  <TBODY>
27    <TR>
28<TD width="149">A Button&nbsp;&nbsp;</TD>
29<TD width="458">Plays looped 16-bit PCM stream.</TD>
30    </TR>
31    <TR>
32<TD width="149">B Button&nbsp;&nbsp;</TD>
33<TD width="458">Plays looped 8-bit PCM stream.</TD>
34    </TR>
35    <TR>
36<TD width="149">X Button&nbsp;&nbsp;</TD>
37<TD width="458">Plays looped ADPCM stream.</TD>
38    </TR>
39    <TR>
40<TD width="149">Y Button&nbsp;&nbsp;</TD>
41<TD width="458">Stops stream (to stop before starting another).</TD>
42    </TR>
43    <TR>
44<TD width="149">Start/Pause&nbsp;&nbsp;</TD>
45<TD width="458">Exits program.</TD>
46    </TR>
47  </TBODY>
48</TABLE>
49<P>This program does not display any video Instructions are printed to the serial output during runtime.</P>
50<H2>Required Data Files</H2>
51<UL type="DISC">
52<LI><FONT face="Courier New">//axdemo/stream/left.pcm16 </FONT>
53<LI><FONT face="Courier New">//axdemo/stream/right.pcm16 </FONT>
54<LI><FONT face="Courier New">//axdemo/stream/left.pcm8 </FONT>
55<LI><FONT face="Courier New">//axdemo/stream/right.pcm8 </FONT>
56<LI><FONT face="Courier New">//axdemo/stream/left.adpcm </FONT>
57<LI><FONT face="Courier New">//axdemo/stream/right.adpcm </FONT>&nbsp;
58</UL>
59<H2>Revision History</H2>
60<P>03/01/2006 Initial version.</P>
61</BODY>
62</HTML>