mirror of https://github.com/AxioDL/amuse.git
1411 lines
66 KiB
HTML
1411 lines
66 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::Voice 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_voice.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="#pub-methods">Public Member Functions</a> |
|
|
<a href="#friends">Friends</a> |
|
|
<a href="classamuse_1_1_voice-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">amuse::Voice Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p><code>#include <<a class="el" href="_voice_8hpp_source.html">Voice.hpp</a>></code></p>
|
|
<div class="dynheader">
|
|
Inheritance diagram for amuse::Voice:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classamuse_1_1_voice__inherit__graph.png" border="0" usemap="#amuse_1_1_voice_inherit__map" alt="Inheritance graph"/></div>
|
|
<map name="amuse_1_1_voice_inherit__map" id="amuse_1_1_voice_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="12,5,151,229"/>
|
|
</map>
|
|
</div>
|
|
<div class="dynheader">
|
|
Collaboration diagram for amuse::Voice:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classamuse_1_1_voice__coll__graph.png" border="0" usemap="#amuse_1_1_voice_coll__map" alt="Collaboration graph"/></div>
|
|
<map name="amuse_1_1_voice_coll__map" id="amuse_1_1_voice_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:a5a0f88fb1bb347fff3885b40bb70da68"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5a0f88fb1bb347fff3885b40bb70da68"></a>
|
|
 </td><td class="memItemRight" valign="bottom"><b>Voice</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, int <a class="el" href="classamuse_1_1_voice.html#a429ffdac2e823c580cab9d587eb03e34">vid</a>, bool emitter, <a class="el" href="classamuse_1_1_submix.html">Submix</a> *smx)</td></tr>
|
|
<tr class="separator:a5a0f88fb1bb347fff3885b40bb70da68"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a01cdc52d992c2493fbba3e48de0862b9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a01cdc52d992c2493fbba3e48de0862b9"></a>
|
|
 </td><td class="memItemRight" valign="bottom"><b>Voice</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, int <a class="el" href="classamuse_1_1_voice.html#a429ffdac2e823c580cab9d587eb03e34">vid</a>, bool emitter, <a class="el" href="classamuse_1_1_submix.html">Submix</a> *smx)</td></tr>
|
|
<tr class="separator:a01cdc52d992c2493fbba3e48de0862b9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:add3ed6c6cb84d39ffa5949b7a78f011a"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_voice.html#add3ed6c6cb84d39ffa5949b7a78f011a">supplyAudio</a> (size_t frames, int16_t *data)</td></tr>
|
|
<tr class="separator:add3ed6c6cb84d39ffa5949b7a78f011a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a72e34215e654de0fc11e83ef075a530b"><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_voice.html#a72e34215e654de0fc11e83ef075a530b">getSubmix</a> ()</td></tr>
|
|
<tr class="separator:a72e34215e654de0fc11e83ef075a530b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5e8a94e0fe619f79ae33f0775430bf76"><td class="memItemLeft" align="right" valign="top">VoiceState </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_voice.html#a5e8a94e0fe619f79ae33f0775430bf76">state</a> () const </td></tr>
|
|
<tr class="separator:a5e8a94e0fe619f79ae33f0775430bf76"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a429ffdac2e823c580cab9d587eb03e34"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_voice.html#a429ffdac2e823c580cab9d587eb03e34">vid</a> () const </td></tr>
|
|
<tr class="separator:a429ffdac2e823c580cab9d587eb03e34"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a288e89f4297c7dee9b7d2853b3531447"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_voice.html#a288e89f4297c7dee9b7d2853b3531447">maxVid</a> () const </td></tr>
|
|
<tr class="separator:a288e89f4297c7dee9b7d2853b3531447"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a33a15f506f2a3396b44b59c58259cef1"><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_voice.html#a33a15f506f2a3396b44b59c58259cef1">startChildMacro</a> (int8_t addNote, ObjectId macroId, int macroStep)</td></tr>
|
|
<tr class="separator:a33a15f506f2a3396b44b59c58259cef1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7581a557479140b0e8c71d2f28d934b9"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_voice.html#a7581a557479140b0e8c71d2f28d934b9">loadSoundObject</a> (ObjectId objectId, int macroStep, double ticksPerSec, uint8_t midiKey, uint8_t midiVel, uint8_t midiMod, bool pushPc=false)</td></tr>
|
|
<tr class="separator:a7581a557479140b0e8c71d2f28d934b9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aaf3dee465a2426c998b7b7eb745b552f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_voice.html#aaf3dee465a2426c998b7b7eb745b552f">keyOff</a> ()</td></tr>
|
|
<tr class="separator:aaf3dee465a2426c998b7b7eb745b552f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:acbdc136b862856b9fc8e639816be5cb7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_voice.html#acbdc136b862856b9fc8e639816be5cb7">message</a> (int32_t val)</td></tr>
|
|
<tr class="separator:acbdc136b862856b9fc8e639816be5cb7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa1a2af98a2c2dc59a975ac95b9288a15"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_voice.html#aa1a2af98a2c2dc59a975ac95b9288a15">startSample</a> (int16_t sampId, int32_t offset)</td></tr>
|
|
<tr class="separator:aa1a2af98a2c2dc59a975ac95b9288a15"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aaaeea63b6a6e7e35cb03a3172340b569"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_voice.html#aaaeea63b6a6e7e35cb03a3172340b569">stopSample</a> ()</td></tr>
|
|
<tr class="separator:aaaeea63b6a6e7e35cb03a3172340b569"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0b7367e68d50299d5a0141b6eee16670"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_voice.html#a0b7367e68d50299d5a0141b6eee16670">setVolume</a> (float vol)</td></tr>
|
|
<tr class="separator:a0b7367e68d50299d5a0141b6eee16670"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4661d54efed3b6d8fe1f345d4a29e253"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_voice.html#a4661d54efed3b6d8fe1f345d4a29e253">setPan</a> (float pan)</td></tr>
|
|
<tr class="separator:a4661d54efed3b6d8fe1f345d4a29e253"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aaf3186595b8b08ab41dbe758cf93a03c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_voice.html#aaf3186595b8b08ab41dbe758cf93a03c">setSurroundPan</a> (float span)</td></tr>
|
|
<tr class="separator:aaf3186595b8b08ab41dbe758cf93a03c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a64a73c2997228f74bcda8a9115941c16"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_voice.html#a64a73c2997228f74bcda8a9115941c16">startEnvelope</a> (double dur, float vol, const Curve *envCurve)</td></tr>
|
|
<tr class="separator:a64a73c2997228f74bcda8a9115941c16"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aee786e1253bb264352980ff8b3efff8b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_voice.html#aee786e1253bb264352980ff8b3efff8b">startFadeIn</a> (double dur, float vol, const Curve *envCurve)</td></tr>
|
|
<tr class="separator:aee786e1253bb264352980ff8b3efff8b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a804c03fcf5883683345dbaf03153b1ea"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_voice.html#a804c03fcf5883683345dbaf03153b1ea">startPanning</a> (double dur, uint8_t panPos, uint8_t panWidth)</td></tr>
|
|
<tr class="separator:a804c03fcf5883683345dbaf03153b1ea"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0d3e561005e68fe9d86190905661a3be"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_voice.html#a0d3e561005e68fe9d86190905661a3be">startSpanning</a> (double dur, uint8_t spanPos, uint8_t spanWidth)</td></tr>
|
|
<tr class="separator:a0d3e561005e68fe9d86190905661a3be"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9caa721fef958ec4c1087dd904b53ff0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_voice.html#a9caa721fef958ec4c1087dd904b53ff0">setPitchKey</a> (int32_t cents)</td></tr>
|
|
<tr class="separator:a9caa721fef958ec4c1087dd904b53ff0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a16f75a56138c641dba1826715b3408ef"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_voice.html#a16f75a56138c641dba1826715b3408ef">setPedal</a> (bool pedal)</td></tr>
|
|
<tr class="separator:a16f75a56138c641dba1826715b3408ef"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1ec18ca99f12e16ae58098e4c34f5d80"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_voice.html#a1ec18ca99f12e16ae58098e4c34f5d80">setDoppler</a> (float doppler)</td></tr>
|
|
<tr class="separator:a1ec18ca99f12e16ae58098e4c34f5d80"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3e9d3c228b93cd63dc5197a006bd1963"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_voice.html#a3e9d3c228b93cd63dc5197a006bd1963">setVibrato</a> (int32_t level, int32_t modLevel, float period)</td></tr>
|
|
<tr class="separator:a3e9d3c228b93cd63dc5197a006bd1963"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3fdab52e9983916d3a6e08c3b7b8d146"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_voice.html#a3fdab52e9983916d3a6e08c3b7b8d146">setMod2VibratoRange</a> (int32_t modLevel)</td></tr>
|
|
<tr class="separator:a3fdab52e9983916d3a6e08c3b7b8d146"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a344c84840b3e181dd163b0b8ec32cf27"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_voice.html#a344c84840b3e181dd163b0b8ec32cf27">setTremolo</a> (float tremoloScale, float tremoloModScale)</td></tr>
|
|
<tr class="separator:a344c84840b3e181dd163b0b8ec32cf27"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5c631ed61f7315ad3533c059e6019795"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_voice.html#a5c631ed61f7315ad3533c059e6019795">setLFO1Period</a> (float period)</td></tr>
|
|
<tr class="separator:a5c631ed61f7315ad3533c059e6019795"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aac9115407f688fcf19c8b635a0c9bd3a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_voice.html#aac9115407f688fcf19c8b635a0c9bd3a">setLFO2Period</a> (float period)</td></tr>
|
|
<tr class="separator:aac9115407f688fcf19c8b635a0c9bd3a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a348e531c21f3403eb6b64a61d9469d05"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_voice.html#a348e531c21f3403eb6b64a61d9469d05">setPitchSweep1</a> (uint8_t times, int16_t add)</td></tr>
|
|
<tr class="separator:a348e531c21f3403eb6b64a61d9469d05"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aae5b61cdba3ca5956fb9b104057588c3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_voice.html#aae5b61cdba3ca5956fb9b104057588c3">setPitchSweep2</a> (uint8_t times, int16_t add)</td></tr>
|
|
<tr class="separator:aae5b61cdba3ca5956fb9b104057588c3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac79401353393f068814963c9b2c97cc8"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_voice.html#ac79401353393f068814963c9b2c97cc8">setReverbVol</a> (float rvol)</td></tr>
|
|
<tr class="separator:ac79401353393f068814963c9b2c97cc8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a18c235222f52f9e36780ff7041eef8f4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_voice.html#a18c235222f52f9e36780ff7041eef8f4">setAdsr</a> (ObjectId adsrId, bool dls)</td></tr>
|
|
<tr class="separator:a18c235222f52f9e36780ff7041eef8f4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5258b80d38e8dd7c5425e42e84230808"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_voice.html#a5258b80d38e8dd7c5425e42e84230808">setPitchFrequency</a> (uint32_t hz, uint16_t fine)</td></tr>
|
|
<tr class="separator:a5258b80d38e8dd7c5425e42e84230808"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9b352e449475a4d0bba4b473866a9181"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_voice.html#a9b352e449475a4d0bba4b473866a9181">setPitchAdsr</a> (ObjectId adsrId, int32_t cents)</td></tr>
|
|
<tr class="separator:a9b352e449475a4d0bba4b473866a9181"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a38cce6855072141b6270f68efac8e453"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_voice.html#a38cce6855072141b6270f68efac8e453">setPitchWheel</a> (float pitchWheel)</td></tr>
|
|
<tr class="separator:a38cce6855072141b6270f68efac8e453"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a08878a6d271aadb7c6b774e8040ae431"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_voice.html#a08878a6d271aadb7c6b774e8040ae431">setPitchWheelRange</a> (int8_t up, int8_t down)</td></tr>
|
|
<tr class="separator:a08878a6d271aadb7c6b774e8040ae431"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1e11c6df564c75851c6a7d9c4b273ce8"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_voice.html#a1e11c6df564c75851c6a7d9c4b273ce8">setAftertouch</a> (uint8_t aftertouch)</td></tr>
|
|
<tr class="separator:a1e11c6df564c75851c6a7d9c4b273ce8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6be6b0f40b80900c86d2538e7d8e14c1"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_voice.html#a6be6b0f40b80900c86d2538e7d8e14c1">setKeygroup</a> (uint8_t kg)</td></tr>
|
|
<tr class="separator:a6be6b0f40b80900c86d2538e7d8e14c1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1a0ad039740675ad4ebc3c776c094e50"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_voice.html#a1a0ad039740675ad4ebc3c776c094e50">getLastNote</a> () const </td></tr>
|
|
<tr class="separator:a1a0ad039740675ad4ebc3c776c094e50"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a134ace1611314ae3b86d726d1338563b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a134ace1611314ae3b86d726d1338563b"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>notifyCtrlChange</b> (uint8_t ctrl, int8_t val)</td></tr>
|
|
<tr class="separator:a134ace1611314ae3b86d726d1338563b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:add8d7a730d395de00d56c08b3c02962d"><td class="memItemLeft" align="right" valign="top">int8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_voice.html#add8d7a730d395de00d56c08b3c02962d">getCtrlValue</a> (uint8_t ctrl) const </td></tr>
|
|
<tr class="separator:add8d7a730d395de00d56c08b3c02962d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9135e2dad48f36e6d033cb7335ccbc54"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_voice.html#a9135e2dad48f36e6d033cb7335ccbc54">setCtrlValue</a> (uint8_t ctrl, int8_t val)</td></tr>
|
|
<tr class="separator:a9135e2dad48f36e6d033cb7335ccbc54"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac8997b309d4bade8ace67387d6ca83c0"><td class="memItemLeft" align="right" valign="top">int8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_voice.html#ac8997b309d4bade8ace67387d6ca83c0">getModWheel</a> () const </td></tr>
|
|
<tr class="separator:ac8997b309d4bade8ace67387d6ca83c0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad52fb745363b1f070f74788f001f0184"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_voice.html#ad52fb745363b1f070f74788f001f0184">installCtrlValues</a> (int8_t *cvs)</td></tr>
|
|
<tr class="separator:ad52fb745363b1f070f74788f001f0184"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3514daf558bd10bcf09787ad40a3a35e"><td class="memItemLeft" align="right" valign="top">int8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_voice.html#a3514daf558bd10bcf09787ad40a3a35e">getPitchWheel</a> () const </td></tr>
|
|
<tr class="separator:a3514daf558bd10bcf09787ad40a3a35e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad7ca668e6b36d6f108ee18b0e3464051"><td class="memItemLeft" align="right" valign="top">int8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_voice.html#ad7ca668e6b36d6f108ee18b0e3464051">getAftertouch</a> () const </td></tr>
|
|
<tr class="separator:ad7ca668e6b36d6f108ee18b0e3464051"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a74eb9bb752b4b7d2795ae5f1a80f72f5"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classamuse_1_1_voice.html#a74eb9bb752b4b7d2795ae5f1a80f72f5">getTotalVoices</a> () const </td></tr>
|
|
<tr class="separator:a74eb9bb752b4b7d2795ae5f1a80f72f5"><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>
|
|
<tr class="memitem:a52a69080aff30f06654e72959d45db49"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a52a69080aff30f06654e72959d45db49"></a>
|
|
class </td><td class="memItemRight" valign="bottom"><b>Sequencer</b></td></tr>
|
|
<tr class="separator:a52a69080aff30f06654e72959d45db49"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7e534c4c56668d740c959235bc8ed4ec"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7e534c4c56668d740c959235bc8ed4ec"></a>
|
|
class </td><td class="memItemRight" valign="bottom"><b>SoundMacroState</b></td></tr>
|
|
<tr class="separator:a7e534c4c56668d740c959235bc8ed4ec"><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>Individual source of audio </p>
|
|
|
|
<p>Definition at line <a class="el" href="_voice_8hpp_source.html#l00030">30</a> of file <a class="el" href="_voice_8hpp_source.html">Voice.hpp</a>.</p>
|
|
</div><h2 class="groupheader">Member Function Documentation</h2>
|
|
<a class="anchor" id="ad7ca668e6b36d6f108ee18b0e3464051"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int8_t amuse::Voice::getAftertouch </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 MIDI aftertouch value on voice </p>
|
|
|
|
<p>Definition at line <a class="el" href="_voice_8hpp_source.html#l00308">308</a> of file <a class="el" href="_voice_8hpp_source.html">Voice.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="add8d7a730d395de00d56c08b3c02962d"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int8_t amuse::Voice::getCtrlValue </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>ctrl</em></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 MIDI Controller value on voice </p>
|
|
|
|
<p>Definition at line <a class="el" href="_voice_8hpp_source.html#l00270">270</a> of file <a class="el" href="_voice_8hpp_source.html">Voice.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a1a0ad039740675ad4ebc3c776c094e50"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t amuse::Voice::getLastNote </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 note played on voice </p>
|
|
|
|
<p>Definition at line <a class="el" href="_voice_8hpp_source.html#l00265">265</a> of file <a class="el" href="_voice_8hpp_source.html">Voice.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ac8997b309d4bade8ace67387d6ca83c0"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int8_t amuse::Voice::getModWheel </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 ModWheel value on voice </p>
|
|
|
|
<p>Definition at line <a class="el" href="_voice_8hpp_source.html#l00295">295</a> of file <a class="el" href="_voice_8hpp_source.html">Voice.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a3514daf558bd10bcf09787ad40a3a35e"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int8_t amuse::Voice::getPitchWheel </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 MIDI pitch wheel value on voice </p>
|
|
|
|
<p>Definition at line <a class="el" href="_voice_8hpp_source.html#l00305">305</a> of file <a class="el" href="_voice_8hpp_source.html">Voice.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a72e34215e654de0fc11e83ef075a530b"></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::Voice::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_voice.html">Voice</a>'s <a class="el" href="classamuse_1_1_submix.html">Submix</a> </p>
|
|
|
|
<p>Definition at line <a class="el" href="_voice_8hpp_source.html#l00158">158</a> of file <a class="el" href="_voice_8hpp_source.html">Voice.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a74eb9bb752b4b7d2795ae5f1a80f72f5"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">size_t amuse::Voice::getTotalVoices </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Get count of all voices in hierarchy, including this one </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ad52fb745363b1f070f74788f001f0184"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void amuse::Voice::installCtrlValues </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int8_t * </td>
|
|
<td class="paramname"><em>cvs</em></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>'install' external MIDI controller storage </p>
|
|
|
|
<p>Definition at line <a class="el" href="_voice_8hpp_source.html#l00298">298</a> of file <a class="el" href="_voice_8hpp_source.html">Voice.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aaf3dee465a2426c998b7b7eb745b552f"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void amuse::Voice::keyOff </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Signals voice to begin fade-out (or defer if sustained), eventually reaching silence </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a7581a557479140b0e8c71d2f28d934b9"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool amuse::Voice::loadSoundObject </td>
|
|
<td>(</td>
|
|
<td class="paramtype">ObjectId </td>
|
|
<td class="paramname"><em>objectId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>macroStep</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">double </td>
|
|
<td class="paramname"><em>ticksPerSec</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>midiKey</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>midiVel</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>midiMod</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>pushPc</em> = <code>false</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Load specified Sound Object from within group into voice </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a288e89f4297c7dee9b7d2853b3531447"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int amuse::Voice::maxVid </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Get max VoiceId of this voice and any contained children </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="acbdc136b862856b9fc8e639816be5cb7"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void amuse::Voice::message </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int32_t </td>
|
|
<td class="paramname"><em>val</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Sends numeric message to voice and all siblings </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a18c235222f52f9e36780ff7041eef8f4"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void amuse::Voice::setAdsr </td>
|
|
<td>(</td>
|
|
<td class="paramtype">ObjectId </td>
|
|
<td class="paramname"><em>adsrId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>dls</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Set envelope for voice </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a1e11c6df564c75851c6a7d9c4b273ce8"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void amuse::Voice::setAftertouch </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>aftertouch</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Set aftertouch </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a9135e2dad48f36e6d033cb7335ccbc54"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void amuse::Voice::setCtrlValue </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>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Set MIDI Controller value on voice </p>
|
|
|
|
<p>Definition at line <a class="el" href="_voice_8hpp_source.html#l00282">282</a> of file <a class="el" href="_voice_8hpp_source.html">Voice.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a1ec18ca99f12e16ae58098e4c34f5d80"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void amuse::Voice::setDoppler </td>
|
|
<td>(</td>
|
|
<td class="paramtype">float </td>
|
|
<td class="paramname"><em>doppler</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Set doppler factor for voice </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a6be6b0f40b80900c86d2538e7d8e14c1"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void amuse::Voice::setKeygroup </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>kg</em></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>Assign voice to keygroup for coordinated mass-silencing </p>
|
|
|
|
<p>Definition at line <a class="el" href="_voice_8hpp_source.html#l00262">262</a> of file <a class="el" href="_voice_8hpp_source.html">Voice.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a5c631ed61f7315ad3533c059e6019795"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void amuse::Voice::setLFO1Period </td>
|
|
<td>(</td>
|
|
<td class="paramtype">float </td>
|
|
<td class="paramname"><em>period</em></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>Setup LFO1 for voice </p>
|
|
|
|
<p>Definition at line <a class="el" href="_voice_8hpp_source.html#l00229">229</a> of file <a class="el" href="_voice_8hpp_source.html">Voice.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aac9115407f688fcf19c8b635a0c9bd3a"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void amuse::Voice::setLFO2Period </td>
|
|
<td>(</td>
|
|
<td class="paramtype">float </td>
|
|
<td class="paramname"><em>period</em></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>Setup LFO2 for voice </p>
|
|
|
|
<p>Definition at line <a class="el" href="_voice_8hpp_source.html#l00232">232</a> of file <a class="el" href="_voice_8hpp_source.html">Voice.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a3fdab52e9983916d3a6e08c3b7b8d146"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void amuse::Voice::setMod2VibratoRange </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int32_t </td>
|
|
<td class="paramname"><em>modLevel</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Configure modwheel influence range over vibrato </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a4661d54efed3b6d8fe1f345d4a29e253"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void amuse::Voice::setPan </td>
|
|
<td>(</td>
|
|
<td class="paramtype">float </td>
|
|
<td class="paramname"><em>pan</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Set current voice panning immediately </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a16f75a56138c641dba1826715b3408ef"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void amuse::Voice::setPedal </td>
|
|
<td>(</td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>pedal</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Set sustain status within voice; clearing will trigger a deferred keyoff </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a9b352e449475a4d0bba4b473866a9181"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void amuse::Voice::setPitchAdsr </td>
|
|
<td>(</td>
|
|
<td class="paramtype">ObjectId </td>
|
|
<td class="paramname"><em>adsrId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int32_t </td>
|
|
<td class="paramname"><em>cents</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Set pitch envelope </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a5258b80d38e8dd7c5425e42e84230808"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void amuse::Voice::setPitchFrequency </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint32_t </td>
|
|
<td class="paramname"><em>hz</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint16_t </td>
|
|
<td class="paramname"><em>fine</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Set pitch in absolute hertz </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a9caa721fef958ec4c1087dd904b53ff0"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void amuse::Voice::setPitchKey </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int32_t </td>
|
|
<td class="paramname"><em>cents</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Set voice relative-pitch in cents </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a348e531c21f3403eb6b64a61d9469d05"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void amuse::Voice::setPitchSweep1 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>times</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int16_t </td>
|
|
<td class="paramname"><em>add</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Setup pitch sweep controller 1 </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aae5b61cdba3ca5956fb9b104057588c3"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void amuse::Voice::setPitchSweep2 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>times</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int16_t </td>
|
|
<td class="paramname"><em>add</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Setup pitch sweep controller 2 </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a38cce6855072141b6270f68efac8e453"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void amuse::Voice::setPitchWheel </td>
|
|
<td>(</td>
|
|
<td class="paramtype">float </td>
|
|
<td class="paramname"><em>pitchWheel</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Set pitchwheel value for use with controller </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a08878a6d271aadb7c6b774e8040ae431"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void amuse::Voice::setPitchWheelRange </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int8_t </td>
|
|
<td class="paramname"><em>up</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int8_t </td>
|
|
<td class="paramname"><em>down</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Set effective pitch range via the pitchwheel controller </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ac79401353393f068814963c9b2c97cc8"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void amuse::Voice::setReverbVol </td>
|
|
<td>(</td>
|
|
<td class="paramtype">float </td>
|
|
<td class="paramname"><em>rvol</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Set reverb mix for voice </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aaf3186595b8b08ab41dbe758cf93a03c"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void amuse::Voice::setSurroundPan </td>
|
|
<td>(</td>
|
|
<td class="paramtype">float </td>
|
|
<td class="paramname"><em>span</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Set current voice surround-panning immediately </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a344c84840b3e181dd163b0b8ec32cf27"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void amuse::Voice::setTremolo </td>
|
|
<td>(</td>
|
|
<td class="paramtype">float </td>
|
|
<td class="paramname"><em>tremoloScale</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">float </td>
|
|
<td class="paramname"><em>tremoloModScale</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Setup tremolo parameters for voice </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a3e9d3c228b93cd63dc5197a006bd1963"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void amuse::Voice::setVibrato </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int32_t </td>
|
|
<td class="paramname"><em>level</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int32_t </td>
|
|
<td class="paramname"><em>modLevel</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">float </td>
|
|
<td class="paramname"><em>period</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Set vibrato parameters for voice </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a0b7367e68d50299d5a0141b6eee16670"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void amuse::Voice::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 current voice volume immediately </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a33a15f506f2a3396b44b59c58259cef1"></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::Voice::startChildMacro </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int8_t </td>
|
|
<td class="paramname"><em>addNote</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></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">int </td>
|
|
<td class="paramname"><em>macroStep</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Allocate parallel macro and tie to voice for possible emitter influence </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a64a73c2997228f74bcda8a9115941c16"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void amuse::Voice::startEnvelope </td>
|
|
<td>(</td>
|
|
<td class="paramtype">double </td>
|
|
<td class="paramname"><em>dur</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">float </td>
|
|
<td class="paramname"><em>vol</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const Curve * </td>
|
|
<td class="paramname"><em>envCurve</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Start volume envelope to specified level </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aee786e1253bb264352980ff8b3efff8b"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void amuse::Voice::startFadeIn </td>
|
|
<td>(</td>
|
|
<td class="paramtype">double </td>
|
|
<td class="paramname"><em>dur</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">float </td>
|
|
<td class="paramname"><em>vol</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const Curve * </td>
|
|
<td class="paramname"><em>envCurve</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Start volume envelope from zero to current level </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a804c03fcf5883683345dbaf03153b1ea"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void amuse::Voice::startPanning </td>
|
|
<td>(</td>
|
|
<td class="paramtype">double </td>
|
|
<td class="paramname"><em>dur</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>panPos</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>panWidth</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Start pan envelope to specified position </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aa1a2af98a2c2dc59a975ac95b9288a15"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void amuse::Voice::startSample </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int16_t </td>
|
|
<td class="paramname"><em>sampId</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int32_t </td>
|
|
<td class="paramname"><em>offset</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Start playing specified sample from within group, optionally by sample offset </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a0d3e561005e68fe9d86190905661a3be"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void amuse::Voice::startSpanning </td>
|
|
<td>(</td>
|
|
<td class="paramtype">double </td>
|
|
<td class="paramname"><em>dur</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>spanPos</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>spanWidth</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Start span envelope to specified position </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a5e8a94e0fe619f79ae33f0775430bf76"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">VoiceState amuse::Voice::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 voice </p>
|
|
|
|
<p>Definition at line <a class="el" href="_voice_8hpp_source.html#l00161">161</a> of file <a class="el" href="_voice_8hpp_source.html">Voice.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aaaeea63b6a6e7e35cb03a3172340b569"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void amuse::Voice::stopSample </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Stop playing current sample </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="add3ed6c6cb84d39ffa5949b7a78f011a"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">size_t amuse::Voice::supplyAudio </td>
|
|
<td>(</td>
|
|
<td class="paramtype">size_t </td>
|
|
<td class="paramname"><em>frames</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int16_t * </td>
|
|
<td class="paramname"><em>data</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Request specified count of audio frames (samples) from voice, internally advancing the voice stream </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a429ffdac2e823c580cab9d587eb03e34"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int amuse::Voice::vid </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 VoiceId of this voice (unique to all currently-playing voices) </p>
|
|
|
|
<p>Definition at line <a class="el" href="_voice_8hpp_source.html#l00164">164</a> of file <a class="el" href="_voice_8hpp_source.html">Voice.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="_voice_8hpp_source.html">Voice.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_voice.html">Voice</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>
|