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<BASE target="main"> 9<TITLE>Synthesizer (SYN) API Function List</TITLE> 10</HEAD> 11<BODY> 12<H1><A name="Sound Synthesizer API">Synthesizer (SYN) API Function List</A></H1> 13 14<H2><a name="Initialize">Initialization</a></H2> 15<TABLE class="api_list" border="1"> 16 <TBODY> 17 <TR> 18<TH><a href="Synthesizer/SYNInit.html">SYNInit</a></TH> 19<TD>Initializes the synthesizer's internal data members.</TD> 20 </TR> 21 <TR> 22<TH><a href="Synthesizer/SYNInitSpecifyMem.html">SYNInitSpecifyMem</a></TH> 23<TD>Specifies the memory region for the library and initializes the synthesizer's internal data members.</TD> 24 </TR> 25 <TR> 26<TH><a href="Synthesizer/SYNGetMemorySize.html">SYNGetMemorySize</a></TH> 27<TD>Returns the size (in bytes) of the memory region required by the synthesizer library.</TD> 28 </TR> 29 <TR> 30<TH><a href="Synthesizer/SYNQuit.html">SYNQuit</a></TH> 31<TD>Shuts down the synthesizer.</TD> 32 </TR> 33 <TR> 34<TH><a href="Synthesizer/SYNInitSynth.html">SYNInitSynth</a></TH> 35<TD>Initializes a user-allocated instance of the synthesizer.</TD> 36 </TR> 37 <TR> 38<TH><a href="Synthesizer/SYNQuitSynth.html">SYNQuitSynth</a></TH> 39<TD>Shuts down running synthesizer instances.</TD> 40 </TR> 41 </TBODY> 42</TABLE> 43 44<H2><a name="Operation">Operation</a></H2> 45<TABLE class="api_list" border="1"> 46 <TBODY> 47 <TR> 48<TH><a href="Synthesizer/SYNRunAudioFrame.html">SYNRunAudioFrame</a></TH> 49<TD>Runs and services all active voices for a single audio frame.</TD> 50 </TR> 51 <TR> 52<TH><a href="Synthesizer/SYNMidiInput.html">SYNMidiInput</a></TH> 53<TD>Sends MIDI input data to the specified synthesizer instance.</TD> 54 </TR> 55 <TR> 56<TH><a href="Synthesizer/SYNGetMidiController.html">SYNGetMidiController</a></TH> 57<TD>Gets the current value for the specified MIDI controller, MIDI channel and synthesizer instance.</TD> 58 </TR> 59 <TR> 60<TH><a href="Synthesizer/SYNGetActiveNotes.html">SYNGetActiveNotes</a></TH> 61<TD>Gets the number of notes still running for the specified synthesizer.</TD> 62 </TR> 63 </TBODY> 64</TABLE> 65 66<H2><a name="Setting">Settings</a></H2> 67<TABLE class="api_list" border="1"> 68 <TBODY> 69 <TR> 70<TH><a href="Synthesizer/SYNSetMasterVolume.html">SYNSetMasterVolume</a></TH> 71<TD>Sets the master volume of a synthesizer instance.</TD> 72 </TR> 73 <TR> 74<TH><a href="Synthesizer/SYNGetMasterVolume.html">SYNGetMasterVolume</a></TH> 75<TD>Gets the master volume setting of the specified synthesizer instance.</TD> 76 </TR> 77 </TBODY> 78</TABLE> 79 80<H2><a name="Callback">Callbacks</a></H2> 81<TABLE class="api_list" border="1"> 82 <TBODY> 83 <TR> 84<TH><a href="Synthesizer/SYNSetInitCallback.html">SYNSetInitCallback</a></TH> 85<TD>Registers a callback function with the specified synthesizer; the callback will be invoked when the synthesizer's status is Note On.</TD> 86 </TR> 87 <TR> 88<TH><a href="Synthesizer/SYNSetUpdateCallback.html">SYNSetUpdateCallback</a></TH> 89<TD>Registers a callback function with the specified synthesizer; the callback will be invoked every three milliseconds for each audio frame.</TD> 90 </TR> 91 </TBODY> 92</TABLE> 93 94<br><br><br> 95 96<hr><p>CONFIDENTIAL</p></body> 97</HTML>