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>SEQRunAudioFrame</title> 7<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 8<META http-equiv="Content-Style-Type" content="text/css"> 9</head> 10 11<body> 12 13<h1 align="left">SEQRunAudioFrame</h1> 14 15<h2>C Specification</h2> 16 17<dl> 18 <dd><pre> 19 <CODE> 20 #include <revolution.h> 21 #include <revolution/seq.h> 22 23 void SEQRunAudioFrame(void); 24 </CODE></pre> 25 </dd> 26</dl> 27 28<h2>Arguments</h2> 29 30<p>None.</p> 31 32<h2>Return Values</h2> 33 34<p>None.</p> 35 36<h2>Description</h2> 37 38<p>This function runs the sequence process for a single audio frame. It must be called from the AX callback routine for each audio frame. For example:</p> 39 40<BLOCKQUOTE> 41<pre><CODE>static void callbackForAudioFrame(void) 42{ 43 SEQRunAudioFrame(); // Runs MIDI sequencer 44 SYNRunAudioFrame(); // Runs synthesizer 45 MIXUpdateSettings(); // Reflects the setting changes made by SYN 46} 47 48void main(void) 49{ 50 ... 51 52 AXInit(); 53 MIXInit(); 54 SYNInit(); 55 SEQInit(); 56 AXRegisterCallback(&callbackAudioFrame); 57 58 ... 59 60 SEQQuit(); 61 SYNQuit(); 62 MIXQuit(); 63 AXQuit(); 64 ... 65}</CODE></pre> 66</BLOCKQUOTE> 67 68<p>This function can run with interrupts enabled.</p> 69 70<h2>See Also</h2> 71 72<p> 73<code><a href="../../ax/Initialization/AXRegisterCallback.html">AXRegisterCallback</a>, <a href="../Synthesizer/SYNRunAudioFrame.html">SYNRunAudioFrame</a>, <a href="../Mixer/MIXUpdateSettings.html">MIXUpdateSettings</a>,</code> 74</p> 75 76<h2>Revision History</h2> 77<P>2006/03/01 Initial version.</P> 78 79<hr> 80<P>CONFIDENTIAL</p> 81</BODY> 82</HTML> 83