amuse/classamuse_1_1_sound_macro_...

255 lines
12 KiB
HTML
Raw Normal View History

2016-05-19 06:09:10 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Amuse: amuse::SoundMacroState Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
$(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Amuse
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="classes.html"><span>Class&#160;Index</span></a></li>
<li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;Members</span></a></li>
</ul>
</div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classamuse_1_1_sound_macro_state.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="classamuse_1_1_sound_macro_state-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">amuse::SoundMacroState Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="_sound_macro_state_8hpp_source.html">SoundMacroState.hpp</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for amuse::SoundMacroState:</div>
<div class="dyncontent">
<div class="center"><img src="classamuse_1_1_sound_macro_state__coll__graph.png" border="0" usemap="#amuse_1_1_sound_macro_state_coll__map" alt="Collaboration graph"/></div>
<map name="amuse_1_1_sound_macro_state_coll__map" id="amuse_1_1_sound_macro_state_coll__map">
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:af8d0940d0430d8563ba3999fe624c9b8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_sound_macro_state.html#af8d0940d0430d8563ba3999fe624c9b8">initialize</a> (const unsigned char *ptr, int step)</td></tr>
<tr class="separator:af8d0940d0430d8563ba3999fe624c9b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b9059dd6517cb536d9a1d8467689cf9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2b9059dd6517cb536d9a1d8467689cf9"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>initialize</b> (const unsigned char *ptr, int step, double ticksPerSec, uint8_t midiKey, uint8_t midiVel, uint8_t midiMod)</td></tr>
<tr class="separator:a2b9059dd6517cb536d9a1d8467689cf9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab34178f581066aef0fd4d7ffe398171d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_sound_macro_state.html#ab34178f581066aef0fd4d7ffe398171d">advance</a> (<a class="el" href="classamuse_1_1_voice.html">Voice</a> &amp;vox, double dt)</td></tr>
<tr class="separator:ab34178f581066aef0fd4d7ffe398171d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e4cee2bc166197a5529f687afca4b2d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_sound_macro_state.html#a1e4cee2bc166197a5529f687afca4b2d">keyoffNotify</a> (<a class="el" href="classamuse_1_1_voice.html">Voice</a> &amp;vox)</td></tr>
<tr class="separator:a1e4cee2bc166197a5529f687afca4b2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44e40adc27901284a0b3f5b72b45d163"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_sound_macro_state.html#a44e40adc27901284a0b3f5b72b45d163">sampleEndNotify</a> (<a class="el" href="classamuse_1_1_voice.html">Voice</a> &amp;vox)</td></tr>
<tr class="separator:a44e40adc27901284a0b3f5b72b45d163"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a24657954e9f1d12330a031c549e6e850"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a24657954e9f1d12330a031c549e6e850"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>Voice</b></td></tr>
<tr class="separator:a24657954e9f1d12330a031c549e6e850"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Real-time state of SoundMacro execution </p>
<p>Definition at line <a class="el" href="_sound_macro_state_8hpp_source.html#l00014">14</a> of file <a class="el" href="_sound_macro_state_8hpp_source.html">SoundMacroState.hpp</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ab34178f581066aef0fd4d7ffe398171d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool amuse::SoundMacroState::advance </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classamuse_1_1_voice.html">Voice</a> &amp;&#160;</td>
<td class="paramname"><em>vox</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>dt</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>advances <code>dt</code> seconds worth of commands in the SoundMacro </p><dl class="section return"><dt>Returns</dt><dd><code>true</code> if END reached </dd></dl>
</div>
</div>
<a class="anchor" id="af8d0940d0430d8563ba3999fe624c9b8"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void amuse::SoundMacroState::initialize </td>
<td>(</td>
<td class="paramtype">const unsigned char *&#160;</td>
<td class="paramname"><em>ptr</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>step</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>initialize state for SoundMacro data at <code>ptr</code> </p>
</div>
</div>
<a class="anchor" id="a1e4cee2bc166197a5529f687afca4b2d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void amuse::SoundMacroState::keyoffNotify </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classamuse_1_1_voice.html">Voice</a> &amp;&#160;</td>
<td class="paramname"><em>vox</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>keyoff event </p>
</div>
</div>
<a class="anchor" id="a44e40adc27901284a0b3f5b72b45d163"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void amuse::SoundMacroState::sampleEndNotify </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classamuse_1_1_voice.html">Voice</a> &amp;&#160;</td>
<td class="paramname"><em>vox</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>sample end event </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/amuse/<a class="el" href="_sound_macro_state_8hpp_source.html">SoundMacroState.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><b>amuse</b></li><li class="navelem"><a class="el" href="classamuse_1_1_sound_macro_state.html">SoundMacroState</a></li>
<li class="footer">Generated on Wed May 18 2016 20:05:19 for Amuse by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
</ul>
</div>
</body>
</html>