/usr/share/doc/libjuce/apiref/classMPEZoneLayout.html is in libjuce-doc 4.3.0~repack-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 | <!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.12"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>JUCE: MPEZoneLayout 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="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>
<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">JUCE
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- 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><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> |
<a href="#pub-methods">Public Member Functions</a> |
<a href="classMPEZoneLayout-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">MPEZoneLayout Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>This class represents the current MPE zone layout of a device capable of handling MPE.
<a href="classMPEZoneLayout.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classMPEZoneLayout_1_1Listener.html">Listener</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classMPEZoneLayout_1_1Listener.html" title="Listener class. ">Listener</a> class. <a href="classMPEZoneLayout_1_1Listener.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
</table><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:a3e498f25f3e1afb147741b6ca5628f14"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classMPEZoneLayout.html#a3e498f25f3e1afb147741b6ca5628f14">MPEZoneLayout</a> () noexcept</td></tr>
<tr class="memdesc:a3e498f25f3e1afb147741b6ca5628f14"><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <a href="#a3e498f25f3e1afb147741b6ca5628f14">More...</a><br /></td></tr>
<tr class="separator:a3e498f25f3e1afb147741b6ca5628f14"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a838a50d944ed9e05a29809188ade8587"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classMPEZoneLayout.html#a838a50d944ed9e05a29809188ade8587">MPEZoneLayout</a> (const <a class="el" href="classMPEZoneLayout.html">MPEZoneLayout</a> &other)</td></tr>
<tr class="memdesc:a838a50d944ed9e05a29809188ade8587"><td class="mdescLeft"> </td><td class="mdescRight">Copy constuctor. <a href="#a838a50d944ed9e05a29809188ade8587">More...</a><br /></td></tr>
<tr class="separator:a838a50d944ed9e05a29809188ade8587"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a38b050ea2b2fe55ef447e66b587e6052"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classMPEZoneLayout.html">MPEZoneLayout</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classMPEZoneLayout.html#a38b050ea2b2fe55ef447e66b587e6052">operator=</a> (const <a class="el" href="classMPEZoneLayout.html">MPEZoneLayout</a> &other)</td></tr>
<tr class="memdesc:a38b050ea2b2fe55ef447e66b587e6052"><td class="mdescLeft"> </td><td class="mdescRight">Copy assignment operator. <a href="#a38b050ea2b2fe55ef447e66b587e6052">More...</a><br /></td></tr>
<tr class="separator:a38b050ea2b2fe55ef447e66b587e6052"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2539db09285894f55239d72481f087cd"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classMPEZoneLayout.html#a2539db09285894f55239d72481f087cd">addZone</a> (<a class="el" href="structMPEZone.html">MPEZone</a> newZone)</td></tr>
<tr class="memdesc:a2539db09285894f55239d72481f087cd"><td class="mdescLeft"> </td><td class="mdescRight">Adds a new MPE zone to the layout. <a href="#a2539db09285894f55239d72481f087cd">More...</a><br /></td></tr>
<tr class="separator:a2539db09285894f55239d72481f087cd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1a8cb8ce77e33b80ad12906f7d67d7cd"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classMPEZoneLayout.html#a1a8cb8ce77e33b80ad12906f7d67d7cd">clearAllZones</a> ()</td></tr>
<tr class="memdesc:a1a8cb8ce77e33b80ad12906f7d67d7cd"><td class="mdescLeft"> </td><td class="mdescRight">Removes all currently present MPE zones. <a href="#a1a8cb8ce77e33b80ad12906f7d67d7cd">More...</a><br /></td></tr>
<tr class="separator:a1a8cb8ce77e33b80ad12906f7d67d7cd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aea82529498d4a56eac9564ae4b5aba5d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classMPEZoneLayout.html#aea82529498d4a56eac9564ae4b5aba5d">processNextMidiEvent</a> (const <a class="el" href="classMidiMessage.html">MidiMessage</a> &message)</td></tr>
<tr class="memdesc:aea82529498d4a56eac9564ae4b5aba5d"><td class="mdescLeft"> </td><td class="mdescRight">Pass incoming MIDI messages to an object of this class if you want the zone layout to properly react to MPE RPN messages like an MPE device. <a href="#aea82529498d4a56eac9564ae4b5aba5d">More...</a><br /></td></tr>
<tr class="separator:aea82529498d4a56eac9564ae4b5aba5d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:adf33b4a472198c9283d94a6aad836e90"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classMPEZoneLayout.html#adf33b4a472198c9283d94a6aad836e90">processNextMidiBuffer</a> (const <a class="el" href="classMidiBuffer.html">MidiBuffer</a> &buffer)</td></tr>
<tr class="memdesc:adf33b4a472198c9283d94a6aad836e90"><td class="mdescLeft"> </td><td class="mdescRight">Pass incoming MIDI buffers to an object of this class if you want the zone layout to properly react to MPE RPN messages like an MPE device. <a href="#adf33b4a472198c9283d94a6aad836e90">More...</a><br /></td></tr>
<tr class="separator:adf33b4a472198c9283d94a6aad836e90"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af4f017dcbccd3308c1a83cc230df3ae3"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classMPEZoneLayout.html#af4f017dcbccd3308c1a83cc230df3ae3">getNumZones</a> () const noexcept</td></tr>
<tr class="memdesc:af4f017dcbccd3308c1a83cc230df3ae3"><td class="mdescLeft"> </td><td class="mdescRight">Returns the current number of MPE zones. <a href="#af4f017dcbccd3308c1a83cc230df3ae3">More...</a><br /></td></tr>
<tr class="separator:af4f017dcbccd3308c1a83cc230df3ae3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3c4fff68e432d141f490e4ec879be5f2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structMPEZone.html">MPEZone</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classMPEZoneLayout.html#a3c4fff68e432d141f490e4ec879be5f2">getZoneByIndex</a> (int index) const noexcept</td></tr>
<tr class="memdesc:a3c4fff68e432d141f490e4ec879be5f2"><td class="mdescLeft"> </td><td class="mdescRight">Returns a pointer to the MPE zone at the given index, or nullptr if there is no such zone. <a href="#a3c4fff68e432d141f490e4ec879be5f2">More...</a><br /></td></tr>
<tr class="separator:a3c4fff68e432d141f490e4ec879be5f2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa9d451a6d26a4b6dcaa63f8a036bad8a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structMPEZone.html">MPEZone</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classMPEZoneLayout.html#aa9d451a6d26a4b6dcaa63f8a036bad8a">getZoneByChannel</a> (int midiChannel) const noexcept</td></tr>
<tr class="memdesc:aa9d451a6d26a4b6dcaa63f8a036bad8a"><td class="mdescLeft"> </td><td class="mdescRight">Returns a pointer to the zone which uses the specified channel (1-16), or nullptr if there is no such zone. <a href="#aa9d451a6d26a4b6dcaa63f8a036bad8a">More...</a><br /></td></tr>
<tr class="separator:aa9d451a6d26a4b6dcaa63f8a036bad8a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1d73e408a76c8718ae6f9ef45875a1b7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structMPEZone.html">MPEZone</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classMPEZoneLayout.html#a1d73e408a76c8718ae6f9ef45875a1b7">getZoneByMasterChannel</a> (int midiChannel) const noexcept</td></tr>
<tr class="memdesc:a1d73e408a76c8718ae6f9ef45875a1b7"><td class="mdescLeft"> </td><td class="mdescRight">Returns a pointer to the zone which has the specified channel (1-16) as its master channel, or nullptr if there is no such zone. <a href="#a1d73e408a76c8718ae6f9ef45875a1b7">More...</a><br /></td></tr>
<tr class="separator:a1d73e408a76c8718ae6f9ef45875a1b7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a613bd0a75d53ca9f7a71ce45213a2dc6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structMPEZone.html">MPEZone</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classMPEZoneLayout.html#a613bd0a75d53ca9f7a71ce45213a2dc6">getZoneByFirstNoteChannel</a> (int midiChannel) const noexcept</td></tr>
<tr class="memdesc:a613bd0a75d53ca9f7a71ce45213a2dc6"><td class="mdescLeft"> </td><td class="mdescRight">Returns a pointer to the zone which has the specified channel (1-16) as its first note channel, or nullptr if there is no such zone. <a href="#a613bd0a75d53ca9f7a71ce45213a2dc6">More...</a><br /></td></tr>
<tr class="separator:a613bd0a75d53ca9f7a71ce45213a2dc6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7a029714df9f8ffe8761ee4e991ea709"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structMPEZone.html">MPEZone</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classMPEZoneLayout.html#a7a029714df9f8ffe8761ee4e991ea709">getZoneByNoteChannel</a> (int midiChannel) const noexcept</td></tr>
<tr class="memdesc:a7a029714df9f8ffe8761ee4e991ea709"><td class="mdescLeft"> </td><td class="mdescRight">Returns a pointer to the zone which has the specified channel (1-16) as one of its note channels, or nullptr if there is no such zone. <a href="#a7a029714df9f8ffe8761ee4e991ea709">More...</a><br /></td></tr>
<tr class="separator:a7a029714df9f8ffe8761ee4e991ea709"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1646514b879aebd48659764d968c87dc"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classMPEZoneLayout.html#a1646514b879aebd48659764d968c87dc">addListener</a> (<a class="el" href="classMPEZoneLayout_1_1Listener.html">Listener</a> *const listenerToAdd) noexcept</td></tr>
<tr class="memdesc:a1646514b879aebd48659764d968c87dc"><td class="mdescLeft"> </td><td class="mdescRight">Adds a listener. <a href="#a1646514b879aebd48659764d968c87dc">More...</a><br /></td></tr>
<tr class="separator:a1646514b879aebd48659764d968c87dc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1651a42bdc4fa6124e2a8fc737d69a5c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classMPEZoneLayout.html#a1651a42bdc4fa6124e2a8fc737d69a5c">removeListener</a> (<a class="el" href="classMPEZoneLayout_1_1Listener.html">Listener</a> *const listenerToRemove) noexcept</td></tr>
<tr class="memdesc:a1651a42bdc4fa6124e2a8fc737d69a5c"><td class="mdescLeft"> </td><td class="mdescRight">Removes a listener. <a href="#a1651a42bdc4fa6124e2a8fc737d69a5c">More...</a><br /></td></tr>
<tr class="separator:a1651a42bdc4fa6124e2a8fc737d69a5c"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>This class represents the current MPE zone layout of a device capable of handling MPE. </p>
<p>Use the <a class="el" href="classMPEMessages.html" title="This helper class contains the necessary helper functions to generate MIDI messages that are exclusiv...">MPEMessages</a> helper class to convert the zone layout represented by this object to MIDI message sequences that you can send to an Expressive MIDI device to set its zone layout, add zones etc.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="structMPEZone.html" title="This struct represents an MPE Zone. ">MPEZone</a>, <a class="el" href="classMPEInstrument.html">MPEInstrument</a> </dd></dl>
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a id="a3e498f25f3e1afb147741b6ca5628f14"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3e498f25f3e1afb147741b6ca5628f14">§ </a></span>MPEZoneLayout() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">MPEZoneLayout::MPEZoneLayout </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Default constructor. </p>
<p>This will create a layout with no MPE zones. You can add an MPE zone using the method addZone. </p>
</div>
</div>
<a id="a838a50d944ed9e05a29809188ade8587"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a838a50d944ed9e05a29809188ade8587">§ </a></span>MPEZoneLayout() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">MPEZoneLayout::MPEZoneLayout </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classMPEZoneLayout.html">MPEZoneLayout</a> & </td>
<td class="paramname"><em>other</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Copy constuctor. </p>
<p>This will not copy the listeners registered to the <a class="el" href="classMPEZoneLayout.html" title="This class represents the current MPE zone layout of a device capable of handling MPE...">MPEZoneLayout</a>. </p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a38b050ea2b2fe55ef447e66b587e6052"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a38b050ea2b2fe55ef447e66b587e6052">§ </a></span>operator=()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classMPEZoneLayout.html">MPEZoneLayout</a>& MPEZoneLayout::operator= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classMPEZoneLayout.html">MPEZoneLayout</a> & </td>
<td class="paramname"><em>other</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Copy assignment operator. </p>
<p>This will not copy the listeners registered to the <a class="el" href="classMPEZoneLayout.html" title="This class represents the current MPE zone layout of a device capable of handling MPE...">MPEZoneLayout</a>. </p>
</div>
</div>
<a id="a2539db09285894f55239d72481f087cd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2539db09285894f55239d72481f087cd">§ </a></span>addZone()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool MPEZoneLayout::addZone </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structMPEZone.html">MPEZone</a> </td>
<td class="paramname"><em>newZone</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds a new MPE zone to the layout. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">newZone</td><td>The zone to add.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if the zone was added without modifying any other zones added previously to the same zone layout object (if any); false if any existing MPE zones had to be truncated or deleted entirely in order to to add this new zone. (Note: the zone itself will always be added with the channel bounds that were specified; this will not fail.) </dd></dl>
</div>
</div>
<a id="a1a8cb8ce77e33b80ad12906f7d67d7cd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1a8cb8ce77e33b80ad12906f7d67d7cd">§ </a></span>clearAllZones()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void MPEZoneLayout::clearAllZones </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Removes all currently present MPE zones. </p>
</div>
</div>
<a id="aea82529498d4a56eac9564ae4b5aba5d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aea82529498d4a56eac9564ae4b5aba5d">§ </a></span>processNextMidiEvent()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void MPEZoneLayout::processNextMidiEvent </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classMidiMessage.html">MidiMessage</a> & </td>
<td class="paramname"><em>message</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Pass incoming MIDI messages to an object of this class if you want the zone layout to properly react to MPE RPN messages like an MPE device. </p>
<p>MPEMessages::rpnNumber will add or remove zones; RPN 0 will set the per-note or master pitchbend ranges.</p>
<p>Any other MIDI messages will be ignored by this class.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classMPEMessages.html" title="This helper class contains the necessary helper functions to generate MIDI messages that are exclusiv...">MPEMessages</a> </dd></dl>
</div>
</div>
<a id="adf33b4a472198c9283d94a6aad836e90"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adf33b4a472198c9283d94a6aad836e90">§ </a></span>processNextMidiBuffer()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void MPEZoneLayout::processNextMidiBuffer </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classMidiBuffer.html">MidiBuffer</a> & </td>
<td class="paramname"><em>buffer</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Pass incoming MIDI buffers to an object of this class if you want the zone layout to properly react to MPE RPN messages like an MPE device. </p>
<p>MPEMessages::rpnNumber will add or remove zones; RPN 0 will set the per-note or master pitchbend ranges.</p>
<p>Any other MIDI messages will be ignored by this class.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classMPEMessages.html" title="This helper class contains the necessary helper functions to generate MIDI messages that are exclusiv...">MPEMessages</a> </dd></dl>
</div>
</div>
<a id="af4f017dcbccd3308c1a83cc230df3ae3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af4f017dcbccd3308c1a83cc230df3ae3">§ </a></span>getNumZones()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int MPEZoneLayout::getNumZones </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">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the current number of MPE zones. </p>
</div>
</div>
<a id="a3c4fff68e432d141f490e4ec879be5f2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3c4fff68e432d141f490e4ec879be5f2">§ </a></span>getZoneByIndex()</h2>
<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="structMPEZone.html">MPEZone</a>* MPEZoneLayout::getZoneByIndex </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>index</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a pointer to the MPE zone at the given index, or nullptr if there is no such zone. </p>
<p>Zones are sorted by insertion order (most recently added zone last). </p>
</div>
</div>
<a id="aa9d451a6d26a4b6dcaa63f8a036bad8a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa9d451a6d26a4b6dcaa63f8a036bad8a">§ </a></span>getZoneByChannel()</h2>
<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="structMPEZone.html">MPEZone</a>* MPEZoneLayout::getZoneByChannel </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>midiChannel</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a pointer to the zone which uses the specified channel (1-16), or nullptr if there is no such zone. </p>
</div>
</div>
<a id="a1d73e408a76c8718ae6f9ef45875a1b7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1d73e408a76c8718ae6f9ef45875a1b7">§ </a></span>getZoneByMasterChannel()</h2>
<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="structMPEZone.html">MPEZone</a>* MPEZoneLayout::getZoneByMasterChannel </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>midiChannel</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a pointer to the zone which has the specified channel (1-16) as its master channel, or nullptr if there is no such zone. </p>
</div>
</div>
<a id="a613bd0a75d53ca9f7a71ce45213a2dc6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a613bd0a75d53ca9f7a71ce45213a2dc6">§ </a></span>getZoneByFirstNoteChannel()</h2>
<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="structMPEZone.html">MPEZone</a>* MPEZoneLayout::getZoneByFirstNoteChannel </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>midiChannel</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a pointer to the zone which has the specified channel (1-16) as its first note channel, or nullptr if there is no such zone. </p>
</div>
</div>
<a id="a7a029714df9f8ffe8761ee4e991ea709"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7a029714df9f8ffe8761ee4e991ea709">§ </a></span>getZoneByNoteChannel()</h2>
<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="structMPEZone.html">MPEZone</a>* MPEZoneLayout::getZoneByNoteChannel </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>midiChannel</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a pointer to the zone which has the specified channel (1-16) as one of its note channels, or nullptr if there is no such zone. </p>
</div>
</div>
<a id="a1646514b879aebd48659764d968c87dc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1646514b879aebd48659764d968c87dc">§ </a></span>addListener()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void MPEZoneLayout::addListener </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classMPEZoneLayout_1_1Listener.html">Listener</a> *const </td>
<td class="paramname"><em>listenerToAdd</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds a listener. </p>
</div>
</div>
<a id="a1651a42bdc4fa6124e2a8fc737d69a5c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1651a42bdc4fa6124e2a8fc737d69a5c">§ </a></span>removeListener()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void MPEZoneLayout::removeListener </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classMPEZoneLayout_1_1Listener.html">Listener</a> *const </td>
<td class="paramname"><em>listenerToRemove</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Removes a listener. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="juce__MPEZoneLayout_8h.html">juce_MPEZoneLayout.h</a></li>
</ul>
</div><!-- contents -->
<hr class="footer"/>
<address class="footer"><small>All content © ROLI Ltd.</small></address><br/>
</body>
</html>
|