mirror of https://github.com/AxioDL/amuse.git
713 lines
37 KiB
HTML
713 lines
37 KiB
HTML
<!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::Sequencer 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 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 List</span></a></li>
|
|
<li><a href="classes.html"><span>Class Index</span></a></li>
|
|
<li><a href="inherits.html"><span>Class Hierarchy</span></a></li>
|
|
<li><a href="functions.html"><span>Class 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_sequencer.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> |
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="#friends">Friends</a> |
|
|
<a href="classamuse_1_1_sequencer-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">amuse::Sequencer Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p><code>#include <<a class="el" href="_sequencer_8hpp_source.html">Sequencer.hpp</a>></code></p>
|
|
<div class="dynheader">
|
|
Inheritance diagram for amuse::Sequencer:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classamuse_1_1_sequencer__inherit__graph.png" border="0" usemap="#amuse_1_1_sequencer_inherit__map" alt="Inheritance graph"/></div>
|
|
<map name="amuse_1_1_sequencer_inherit__map" id="amuse_1_1_sequencer_inherit__map">
|
|
<area shape="rect" id="node2" href="classamuse_1_1_entity.html" title="{amuse::Entity\n|# m_destroyed\l# m_engine\l# m_audioGroup\l# m_groupId\l# m_objectId\l|+ Entity()\l+ ~Entity()\l+ getEngine()\l+ getAudioGroup()\l+ getGroupId()\l+ getObjectId()\l# _destroy()\l}" alt="" coords="5,5,144,229"/>
|
|
</map>
|
|
</div>
|
|
<div class="dynheader">
|
|
Collaboration diagram for amuse::Sequencer:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classamuse_1_1_sequencer__coll__graph.png" border="0" usemap="#amuse_1_1_sequencer_coll__map" alt="Collaboration graph"/></div>
|
|
<map name="amuse_1_1_sequencer_coll__map" id="amuse_1_1_sequencer_coll__map">
|
|
<area shape="rect" id="node2" href="classamuse_1_1_entity.html" title="{amuse::Entity\n|# m_destroyed\l# m_groupId\l# m_objectId\l|+ Entity()\l+ ~Entity()\l+ getEngine()\l+ getAudioGroup()\l+ getGroupId()\l+ getObjectId()\l# _destroy()\l}" alt="" coords="98,351,237,545"/>
|
|
<area shape="rect" id="node3" href="classamuse_1_1_audio_group.html" title="{amuse::AudioGroup\n||+ operator bool()\l+ AudioGroup()\l+ getSample()\l+ getSampleData()\l+ getProj()\l+ getPool()\l}" alt="" coords="5,71,148,222"/>
|
|
<area shape="rect" id="node4" href="classamuse_1_1_engine.html" title="{amuse::Engine\n||+ ~Engine()\l+ Engine()\l+ getBackend()\l+ pumpEngine()\l+ addAudioGroup()\l+ removeAudioGroup()\l+ addSubmix()\l+ removeSubmix()\l+ fxStart()\l+ addEmitter()\l+ seqPlay()\l+ findVoice()\l+ killKeygroup()\l+ sendMacroMessage()\l+ nextRandom()\l}" alt="" coords="172,5,347,288"/>
|
|
</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:ae66fc77106147a8b3222293a7f6d9f65"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae66fc77106147a8b3222293a7f6d9f65"></a>
|
|
 </td><td class="memItemRight" valign="bottom"><b>Sequencer</b> (<a class="el" href="classamuse_1_1_engine.html">Engine</a> &engine, const <a class="el" href="classamuse_1_1_audio_group.html">AudioGroup</a> &group, int groupId, const <a class="el" href="structamuse_1_1_song_group_index.html">SongGroupIndex</a> &songGroup, int setupId, <a class="el" href="classamuse_1_1_submix.html">Submix</a> *smx)</td></tr>
|
|
<tr class="separator:ae66fc77106147a8b3222293a7f6d9f65"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a78b6deea1077a014d5da5d0c317701c5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_sequencer.html#a78b6deea1077a014d5da5d0c317701c5">advance</a> (double dt)</td></tr>
|
|
<tr class="separator:a78b6deea1077a014d5da5d0c317701c5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7e111ab4f9d5a95f7d8feb8e2e621939"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classamuse_1_1_submix.html">Submix</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_sequencer.html#a7e111ab4f9d5a95f7d8feb8e2e621939">getSubmix</a> ()</td></tr>
|
|
<tr class="separator:a7e111ab4f9d5a95f7d8feb8e2e621939"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4626f794cd600ed23daa2eecd6a9df53"><td class="memItemLeft" align="right" valign="top">SequencerState </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_sequencer.html#a4626f794cd600ed23daa2eecd6a9df53">state</a> () const </td></tr>
|
|
<tr class="separator:a4626f794cd600ed23daa2eecd6a9df53"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2174dd97aa67c7428796d30d1e262792"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_sequencer.html#a2174dd97aa67c7428796d30d1e262792">getVoiceCount</a> () const </td></tr>
|
|
<tr class="separator:a2174dd97aa67c7428796d30d1e262792"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:acaa7c830bf37042d3675dd94f77a6286"><td class="memItemLeft" align="right" valign="top">std::shared_ptr< <a class="el" href="classamuse_1_1_voice.html">Voice</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_sequencer.html#acaa7c830bf37042d3675dd94f77a6286">keyOn</a> (uint8_t chan, uint8_t note, uint8_t velocity)</td></tr>
|
|
<tr class="separator:acaa7c830bf37042d3675dd94f77a6286"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aef65851b88abe1a2dbd0a184f5f0f9ec"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_sequencer.html#aef65851b88abe1a2dbd0a184f5f0f9ec">keyOff</a> (uint8_t chan, uint8_t note, uint8_t velocity)</td></tr>
|
|
<tr class="separator:aef65851b88abe1a2dbd0a184f5f0f9ec"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a44a480fb73c2d5f6c2c30baa2ea3b5ec"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_sequencer.html#a44a480fb73c2d5f6c2c30baa2ea3b5ec">setCtrlValue</a> (uint8_t chan, uint8_t ctrl, int8_t val)</td></tr>
|
|
<tr class="separator:a44a480fb73c2d5f6c2c30baa2ea3b5ec"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6d777947ccd592e69ede36ef90a90445"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_sequencer.html#a6d777947ccd592e69ede36ef90a90445">setPitchWheel</a> (uint8_t chan, float pitchWheel)</td></tr>
|
|
<tr class="separator:a6d777947ccd592e69ede36ef90a90445"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab37ec3fef671e60a3c1732a3cd575e7c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_sequencer.html#ab37ec3fef671e60a3c1732a3cd575e7c">allOff</a> (bool now=false)</td></tr>
|
|
<tr class="separator:ab37ec3fef671e60a3c1732a3cd575e7c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a64a53cb8cce66ff5b734fe8112eae494"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_sequencer.html#a64a53cb8cce66ff5b734fe8112eae494">killKeygroup</a> (uint8_t kg, bool now)</td></tr>
|
|
<tr class="separator:a64a53cb8cce66ff5b734fe8112eae494"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0677a97bef6a47d8f78932feab759684"><td class="memItemLeft" align="right" valign="top">std::shared_ptr< <a class="el" href="classamuse_1_1_voice.html">Voice</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_sequencer.html#a0677a97bef6a47d8f78932feab759684">findVoice</a> (int vid)</td></tr>
|
|
<tr class="separator:a0677a97bef6a47d8f78932feab759684"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a726c361721f68582b2983b1174233119"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_sequencer.html#a726c361721f68582b2983b1174233119">sendMacroMessage</a> (ObjectId macroId, int32_t val)</td></tr>
|
|
<tr class="separator:a726c361721f68582b2983b1174233119"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5826dde7b0b6d54c6e57f563d6e2783a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_sequencer.html#a5826dde7b0b6d54c6e57f563d6e2783a">setTempo</a> (double ticksPerSec)</td></tr>
|
|
<tr class="separator:a5826dde7b0b6d54c6e57f563d6e2783a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a98d4d478b6ec484ffd8bb1596c96b4b3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_sequencer.html#a98d4d478b6ec484ffd8bb1596c96b4b3">playSong</a> (const unsigned char *arrData, bool dieOnEnd=true)</td></tr>
|
|
<tr class="separator:a98d4d478b6ec484ffd8bb1596c96b4b3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aab26e512ca8b56555452409b25b8f5be"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_sequencer.html#aab26e512ca8b56555452409b25b8f5be">setVolume</a> (float vol)</td></tr>
|
|
<tr class="separator:aab26e512ca8b56555452409b25b8f5be"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af3dbf58ec988e35ccf192a45bb1b6f1d"><td class="memItemLeft" align="right" valign="top">int8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_sequencer.html#af3dbf58ec988e35ccf192a45bb1b6f1d">getChanProgram</a> (int8_t chanId) const </td></tr>
|
|
<tr class="separator:af3dbf58ec988e35ccf192a45bb1b6f1d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a393b7e1f00a64bceeeb15cc3b3a211b3"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_sequencer.html#a393b7e1f00a64bceeeb15cc3b3a211b3">setChanProgram</a> (int8_t chanId, int8_t prog)</td></tr>
|
|
<tr class="separator:a393b7e1f00a64bceeeb15cc3b3a211b3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa3845d51cb99313220a6469fc8565801"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_sequencer.html#aa3845d51cb99313220a6469fc8565801">nextChanProgram</a> (int8_t chanId)</td></tr>
|
|
<tr class="separator:aa3845d51cb99313220a6469fc8565801"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a07be5231579085b6c32f979c55f87d0e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_sequencer.html#a07be5231579085b6c32f979c55f87d0e">prevChanProgram</a> (int8_t chanId)</td></tr>
|
|
<tr class="separator:a07be5231579085b6c32f979c55f87d0e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9219aa3d6eb40780810697afde48df73"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_sequencer.html#a9219aa3d6eb40780810697afde48df73">kill</a> ()</td></tr>
|
|
<tr class="separator:a9219aa3d6eb40780810697afde48df73"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="inherit_header pub_methods_classamuse_1_1_entity"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classamuse_1_1_entity')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classamuse_1_1_entity.html">amuse::Entity</a></td></tr>
|
|
<tr class="memitem:a47a992c8b6652668c5dd950408988070 inherit pub_methods_classamuse_1_1_entity"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a47a992c8b6652668c5dd950408988070"></a>
|
|
 </td><td class="memItemRight" valign="bottom"><b>Entity</b> (<a class="el" href="classamuse_1_1_engine.html">Engine</a> &engine, const <a class="el" href="classamuse_1_1_audio_group.html">AudioGroup</a> &group, int groupId, ObjectId oid=ObjectId())</td></tr>
|
|
<tr class="separator:a47a992c8b6652668c5dd950408988070 inherit pub_methods_classamuse_1_1_entity"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7a80d0bba104fea407a0f0369bf8615c inherit pub_methods_classamuse_1_1_entity"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7a80d0bba104fea407a0f0369bf8615c"></a>
|
|
<a class="el" href="classamuse_1_1_engine.html">Engine</a> & </td><td class="memItemRight" valign="bottom"><b>getEngine</b> ()</td></tr>
|
|
<tr class="separator:a7a80d0bba104fea407a0f0369bf8615c inherit pub_methods_classamuse_1_1_entity"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2b495ce425cca1cec48a4d998f65e369 inherit pub_methods_classamuse_1_1_entity"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2b495ce425cca1cec48a4d998f65e369"></a>
|
|
const <a class="el" href="classamuse_1_1_audio_group.html">AudioGroup</a> & </td><td class="memItemRight" valign="bottom"><b>getAudioGroup</b> () const </td></tr>
|
|
<tr class="separator:a2b495ce425cca1cec48a4d998f65e369 inherit pub_methods_classamuse_1_1_entity"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a56322c8946faee72551194459233f46b inherit pub_methods_classamuse_1_1_entity"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a56322c8946faee72551194459233f46b"></a>
|
|
int </td><td class="memItemRight" valign="bottom"><b>getGroupId</b> () const </td></tr>
|
|
<tr class="separator:a56322c8946faee72551194459233f46b inherit pub_methods_classamuse_1_1_entity"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa992a4b2d56f6345b20820ade0a0bc8e inherit pub_methods_classamuse_1_1_entity"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa992a4b2d56f6345b20820ade0a0bc8e"></a>
|
|
ObjectId </td><td class="memItemRight" valign="bottom"><b>getObjectId</b> () const </td></tr>
|
|
<tr class="separator:aa992a4b2d56f6345b20820ade0a0bc8e inherit pub_methods_classamuse_1_1_entity"><td class="memSeparator" colspan="2"> </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:a3e1914489e4bed4f9f23cdeab34a43dc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3e1914489e4bed4f9f23cdeab34a43dc"></a>
|
|
class </td><td class="memItemRight" valign="bottom"><b>Engine</b></td></tr>
|
|
<tr class="separator:a3e1914489e4bed4f9f23cdeab34a43dc"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
|
|
Additional Inherited Members</h2></td></tr>
|
|
<tr class="inherit_header pro_methods_classamuse_1_1_entity"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classamuse_1_1_entity')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classamuse_1_1_entity.html">amuse::Entity</a></td></tr>
|
|
<tr class="memitem:a6128f61bb44144f9f3fab353b90bf6f2 inherit pro_methods_classamuse_1_1_entity"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6128f61bb44144f9f3fab353b90bf6f2"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>_destroy</b> ()</td></tr>
|
|
<tr class="separator:a6128f61bb44144f9f3fab353b90bf6f2 inherit pro_methods_classamuse_1_1_entity"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="inherit_header pro_attribs_classamuse_1_1_entity"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classamuse_1_1_entity')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classamuse_1_1_entity.html">amuse::Entity</a></td></tr>
|
|
<tr class="memitem:a8daa80960e618e3553f2092051c44ebe inherit pro_attribs_classamuse_1_1_entity"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8daa80960e618e3553f2092051c44ebe"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><b>m_destroyed</b> = false</td></tr>
|
|
<tr class="separator:a8daa80960e618e3553f2092051c44ebe inherit pro_attribs_classamuse_1_1_entity"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1382e56f563ec3fc772b3fc027e02b0c inherit pro_attribs_classamuse_1_1_entity"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1382e56f563ec3fc772b3fc027e02b0c"></a>
|
|
<a class="el" href="classamuse_1_1_engine.html">Engine</a> & </td><td class="memItemRight" valign="bottom"><b>m_engine</b></td></tr>
|
|
<tr class="separator:a1382e56f563ec3fc772b3fc027e02b0c inherit pro_attribs_classamuse_1_1_entity"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa71a4031b665176c49cebf9f5ccf7d6f inherit pro_attribs_classamuse_1_1_entity"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa71a4031b665176c49cebf9f5ccf7d6f"></a>
|
|
const <a class="el" href="classamuse_1_1_audio_group.html">AudioGroup</a> & </td><td class="memItemRight" valign="bottom"><b>m_audioGroup</b></td></tr>
|
|
<tr class="separator:aa71a4031b665176c49cebf9f5ccf7d6f inherit pro_attribs_classamuse_1_1_entity"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a62c7f163ca10b1e68bdadbab5156537b inherit pro_attribs_classamuse_1_1_entity"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a62c7f163ca10b1e68bdadbab5156537b"></a>
|
|
int </td><td class="memItemRight" valign="bottom"><b>m_groupId</b></td></tr>
|
|
<tr class="separator:a62c7f163ca10b1e68bdadbab5156537b inherit pro_attribs_classamuse_1_1_entity"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0359d16c7e02c42002b0eb3f40a8ec3b inherit pro_attribs_classamuse_1_1_entity"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0359d16c7e02c42002b0eb3f40a8ec3b"></a>
|
|
ObjectId </td><td class="memItemRight" valign="bottom"><b>m_objectId</b> = 0xffff</td></tr>
|
|
<tr class="separator:a0359d16c7e02c42002b0eb3f40a8ec3b inherit pro_attribs_classamuse_1_1_entity"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p>Multi-voice lifetime manager and polyphonic parameter tracking </p>
|
|
|
|
<p>Definition at line <a class="el" href="_sequencer_8hpp_source.html#l00027">27</a> of file <a class="el" href="_sequencer_8hpp_source.html">Sequencer.hpp</a>.</p>
|
|
</div><h2 class="groupheader">Member Function Documentation</h2>
|
|
<a class="anchor" id="a78b6deea1077a014d5da5d0c317701c5"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void amuse::Sequencer::advance </td>
|
|
<td>(</td>
|
|
<td class="paramtype">double </td>
|
|
<td class="paramname"><em>dt</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Advance current song data (if any) </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab37ec3fef671e60a3c1732a3cd575e7c"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void amuse::Sequencer::allOff </td>
|
|
<td>(</td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>now</em> = <code>false</code></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Send keyoffs to all active notes, silence immediately if <code>now</code> set </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a0677a97bef6a47d8f78932feab759684"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">std::shared_ptr<<a class="el" href="classamuse_1_1_voice.html">Voice</a>> amuse::Sequencer::findVoice </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>vid</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Find voice instance contained within <a class="el" href="classamuse_1_1_sequencer.html">Sequencer</a> </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="af3dbf58ec988e35ccf192a45bb1b6f1d"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int8_t amuse::Sequencer::getChanProgram </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int8_t </td>
|
|
<td class="paramname"><em>chanId</em></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Get current program number of channel </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a7e111ab4f9d5a95f7d8feb8e2e621939"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classamuse_1_1_submix.html">Submix</a>* amuse::Sequencer::getSubmix </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Obtain pointer to <a class="el" href="classamuse_1_1_sequencer.html">Sequencer</a>'s <a class="el" href="classamuse_1_1_submix.html">Submix</a> </p>
|
|
|
|
<p>Definition at line <a class="el" href="_sequencer_8hpp_source.html#l00092">92</a> of file <a class="el" href="_sequencer_8hpp_source.html">Sequencer.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a2174dd97aa67c7428796d30d1e262792"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">size_t amuse::Sequencer::getVoiceCount </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Get number of active voices </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aef65851b88abe1a2dbd0a184f5f0f9ec"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void amuse::Sequencer::keyOff </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>chan</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>note</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>velocity</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Register key release with voice set </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="acaa7c830bf37042d3675dd94f77a6286"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">std::shared_ptr<<a class="el" href="classamuse_1_1_voice.html">Voice</a>> amuse::Sequencer::keyOn </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>chan</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>note</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>velocity</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Register key press with voice set </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a9219aa3d6eb40780810697afde48df73"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void amuse::Sequencer::kill </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Manually kill sequencer for deferred release from engine </p>
|
|
|
|
<p>Definition at line <a class="el" href="_sequencer_8hpp_source.html#l00146">146</a> of file <a class="el" href="_sequencer_8hpp_source.html">Sequencer.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a64a53cb8cce66ff5b734fe8112eae494"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void amuse::Sequencer::killKeygroup </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>kg</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>now</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Stop all voices in <code>kg</code>, stops immediately (no KeyOff) when <code>now</code> set </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aa3845d51cb99313220a6469fc8565801"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void amuse::Sequencer::nextChanProgram </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int8_t </td>
|
|
<td class="paramname"><em>chanId</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Advance to next program in channel </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a98d4d478b6ec484ffd8bb1596c96b4b3"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void amuse::Sequencer::playSong </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const unsigned char * </td>
|
|
<td class="paramname"><em>arrData</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>dieOnEnd</em> = <code>true</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Play MIDI arrangement </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a07be5231579085b6c32f979c55f87d0e"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void amuse::Sequencer::prevChanProgram </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int8_t </td>
|
|
<td class="paramname"><em>chanId</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Advance to prev program in channel </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a726c361721f68582b2983b1174233119"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void amuse::Sequencer::sendMacroMessage </td>
|
|
<td>(</td>
|
|
<td class="paramtype">ObjectId </td>
|
|
<td class="paramname"><em>macroId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int32_t </td>
|
|
<td class="paramname"><em>val</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Send all voices using <code>macroId</code> the message <code>val</code> </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a393b7e1f00a64bceeeb15cc3b3a211b3"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool amuse::Sequencer::setChanProgram </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int8_t </td>
|
|
<td class="paramname"><em>chanId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int8_t </td>
|
|
<td class="paramname"><em>prog</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Set current program number of channel </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a44a480fb73c2d5f6c2c30baa2ea3b5ec"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void amuse::Sequencer::setCtrlValue </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>chan</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>ctrl</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int8_t </td>
|
|
<td class="paramname"><em>val</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Set MIDI control value [0,127] for all voices </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a6d777947ccd592e69ede36ef90a90445"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void amuse::Sequencer::setPitchWheel </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>chan</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">float </td>
|
|
<td class="paramname"><em>pitchWheel</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Set pitchwheel value for use with voice controllers </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a5826dde7b0b6d54c6e57f563d6e2783a"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void amuse::Sequencer::setTempo </td>
|
|
<td>(</td>
|
|
<td class="paramtype">double </td>
|
|
<td class="paramname"><em>ticksPerSec</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Set tempo of sequencer and all voices in ticks per second </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aab26e512ca8b56555452409b25b8f5be"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void amuse::Sequencer::setVolume </td>
|
|
<td>(</td>
|
|
<td class="paramtype">float </td>
|
|
<td class="paramname"><em>vol</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Set total volume of sequencer </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a4626f794cd600ed23daa2eecd6a9df53"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">SequencerState amuse::Sequencer::state </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Get current state of sequencer </p>
|
|
|
|
<p>Definition at line <a class="el" href="_sequencer_8hpp_source.html#l00095">95</a> of file <a class="el" href="_sequencer_8hpp_source.html">Sequencer.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following file:<ul>
|
|
<li>include/amuse/<a class="el" href="_sequencer_8hpp_source.html">Sequencer.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_sequencer.html">Sequencer</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>
|