/usr/share/doc/libjuce/apiref/structMPEZone.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 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 | <!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: MPEZone Struct 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="#pub-methods">Public Member Functions</a> |
<a href="structMPEZone-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">MPEZone Struct Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>This struct represents an MPE Zone.
<a href="structMPEZone.html#details">More...</a></p>
<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:a2d96a154e68b1a202dc3725df72c1fed"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structMPEZone.html#a2d96a154e68b1a202dc3725df72c1fed">MPEZone</a> (int masterChannel, int numNoteChannels, int perNotePitchbendRange=48, int masterPitchbendRange=2) noexcept</td></tr>
<tr class="memdesc:a2d96a154e68b1a202dc3725df72c1fed"><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#a2d96a154e68b1a202dc3725df72c1fed">More...</a><br /></td></tr>
<tr class="separator:a2d96a154e68b1a202dc3725df72c1fed"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5c8402c080b6ee1ae2259a6833728fa8"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structMPEZone.html#a5c8402c080b6ee1ae2259a6833728fa8">getMasterChannel</a> () const noexcept</td></tr>
<tr class="separator:a5c8402c080b6ee1ae2259a6833728fa8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a48c7c57fd450b0017a77157bf64e9972"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structMPEZone.html#a48c7c57fd450b0017a77157bf64e9972">getNumNoteChannels</a> () const noexcept</td></tr>
<tr class="memdesc:a48c7c57fd450b0017a77157bf64e9972"><td class="mdescLeft"> </td><td class="mdescRight">Returns the number of note channels occupied by this zone. <a href="#a48c7c57fd450b0017a77157bf64e9972">More...</a><br /></td></tr>
<tr class="separator:a48c7c57fd450b0017a77157bf64e9972"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac77dcd94460cf578a35cbf02c85dfae0"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structMPEZone.html#ac77dcd94460cf578a35cbf02c85dfae0">getFirstNoteChannel</a> () const noexcept</td></tr>
<tr class="separator:ac77dcd94460cf578a35cbf02c85dfae0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae916c26e015513b57f17672ea9d3e3d9"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structMPEZone.html#ae916c26e015513b57f17672ea9d3e3d9">getLastNoteChannel</a> () const noexcept</td></tr>
<tr class="separator:ae916c26e015513b57f17672ea9d3e3d9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aaff063326ac4c3178601838c690f110a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classRange.html">Range</a>< int > </td><td class="memItemRight" valign="bottom"><a class="el" href="structMPEZone.html#aaff063326ac4c3178601838c690f110a">getNoteChannelRange</a> () const noexcept</td></tr>
<tr class="memdesc:aaff063326ac4c3178601838c690f110a"><td class="mdescLeft"> </td><td class="mdescRight">Returns the MIDI channel numbers (in the range 1-16) of the note channels of this zone as a <a class="el" href="classRange.html" title="A general-purpose range object, that simply represents any linear range with a start and end point...">Range</a>. <a href="#aaff063326ac4c3178601838c690f110a">More...</a><br /></td></tr>
<tr class="separator:aaff063326ac4c3178601838c690f110a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abd60c0e930d481d10501d9c934ddbc47"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structMPEZone.html#abd60c0e930d481d10501d9c934ddbc47">isUsingChannel</a> (int channel) const noexcept</td></tr>
<tr class="memdesc:abd60c0e930d481d10501d9c934ddbc47"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the MIDI channel (in the range 1-16) is used by this zone either as a note channel or as the master channel; false otherwise. <a href="#abd60c0e930d481d10501d9c934ddbc47">More...</a><br /></td></tr>
<tr class="separator:abd60c0e930d481d10501d9c934ddbc47"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aee5b9ab4c1c5ebf6e90073001150d558"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structMPEZone.html#aee5b9ab4c1c5ebf6e90073001150d558">isUsingChannelAsNoteChannel</a> (int channel) const noexcept</td></tr>
<tr class="memdesc:aee5b9ab4c1c5ebf6e90073001150d558"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the MIDI channel (in the range 1-16) is used by this zone as a note channel; false otherwise. <a href="#aee5b9ab4c1c5ebf6e90073001150d558">More...</a><br /></td></tr>
<tr class="separator:aee5b9ab4c1c5ebf6e90073001150d558"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7e4a8289d2d973c5b1a3e4cb10ad4212"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structMPEZone.html#a7e4a8289d2d973c5b1a3e4cb10ad4212">getPerNotePitchbendRange</a> () const noexcept</td></tr>
<tr class="memdesc:a7e4a8289d2d973c5b1a3e4cb10ad4212"><td class="mdescLeft"> </td><td class="mdescRight">Returns the per-note pitchbend range in semitones set for this zone. <a href="#a7e4a8289d2d973c5b1a3e4cb10ad4212">More...</a><br /></td></tr>
<tr class="separator:a7e4a8289d2d973c5b1a3e4cb10ad4212"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8c32eb9cec3506e4e21b833235fad1b2"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structMPEZone.html#a8c32eb9cec3506e4e21b833235fad1b2">getMasterPitchbendRange</a> () const noexcept</td></tr>
<tr class="memdesc:a8c32eb9cec3506e4e21b833235fad1b2"><td class="mdescLeft"> </td><td class="mdescRight">Returns the master pitchbend range in semitones set for this zone. <a href="#a8c32eb9cec3506e4e21b833235fad1b2">More...</a><br /></td></tr>
<tr class="separator:a8c32eb9cec3506e4e21b833235fad1b2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab047573d95e602d38fa27535274c4dbc"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="structMPEZone.html#ab047573d95e602d38fa27535274c4dbc">setPerNotePitchbendRange</a> (int rangeInSemitones) noexcept</td></tr>
<tr class="memdesc:ab047573d95e602d38fa27535274c4dbc"><td class="mdescLeft"> </td><td class="mdescRight">Sets the per-note pitchbend range in semitones for this zone. <a href="#ab047573d95e602d38fa27535274c4dbc">More...</a><br /></td></tr>
<tr class="separator:ab047573d95e602d38fa27535274c4dbc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad610f0ec014a21eb869cdb2ff169210f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="structMPEZone.html#ad610f0ec014a21eb869cdb2ff169210f">setMasterPitchbendRange</a> (int rangeInSemitones) noexcept</td></tr>
<tr class="memdesc:ad610f0ec014a21eb869cdb2ff169210f"><td class="mdescLeft"> </td><td class="mdescRight">Sets the master pitchbend range in semitones for this zone. <a href="#ad610f0ec014a21eb869cdb2ff169210f">More...</a><br /></td></tr>
<tr class="separator:ad610f0ec014a21eb869cdb2ff169210f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a195d7523cd2d153e304b0f66472ededf"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structMPEZone.html#a195d7523cd2d153e304b0f66472ededf">overlapsWith</a> (<a class="el" href="structMPEZone.html">MPEZone</a> other) const noexcept</td></tr>
<tr class="memdesc:a195d7523cd2d153e304b0f66472ededf"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the MIDI channels occupied by this zone overlap with those occupied by the other zone. <a href="#a195d7523cd2d153e304b0f66472ededf">More...</a><br /></td></tr>
<tr class="separator:a195d7523cd2d153e304b0f66472ededf"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa788aba111e390bc59f035106bac2ad5"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structMPEZone.html#aa788aba111e390bc59f035106bac2ad5">truncateToFit</a> (<a class="el" href="structMPEZone.html">MPEZone</a> zoneToAvoid) noexcept</td></tr>
<tr class="memdesc:aa788aba111e390bc59f035106bac2ad5"><td class="mdescLeft"> </td><td class="mdescRight">Tries to truncate this zone in such a way that the range of MIDI channels it occupies do not overlap with the other zone, by reducing this zone's number of note channels. <a href="#aa788aba111e390bc59f035106bac2ad5">More...</a><br /></td></tr>
<tr class="separator:aa788aba111e390bc59f035106bac2ad5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a78d76c9dceba085a2ce376828b7635d1"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structMPEZone.html#a78d76c9dceba085a2ce376828b7635d1">operator==</a> (const <a class="el" href="structMPEZone.html">MPEZone</a> &other) const noexcept</td></tr>
<tr class="separator:a78d76c9dceba085a2ce376828b7635d1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3e475b844b64850620cbc4951c37b58e"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structMPEZone.html#a3e475b844b64850620cbc4951c37b58e">operator!=</a> (const <a class="el" href="structMPEZone.html">MPEZone</a> &other) const noexcept</td></tr>
<tr class="separator:a3e475b844b64850620cbc4951c37b58e"><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 struct represents an MPE Zone. </p>
<p>An MPE Zone occupies one master MIDI channel and an arbitrary number of note channels that immediately follow the master channel. It also defines a pitchbend range (in semitones) to be applied for per-note pitchbends and master pitchbends, respectively.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classMPEZoneLayout.html" title="This class represents the current MPE zone layout of a device capable of handling MPE...">MPEZoneLayout</a> </dd></dl>
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a id="a2d96a154e68b1a202dc3725df72c1fed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2d96a154e68b1a202dc3725df72c1fed">§ </a></span>MPEZone()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">MPEZone::MPEZone </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>masterChannel</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>numNoteChannels</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>perNotePitchbendRange</em> = <code>48</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>masterPitchbendRange</em> = <code>2</code> </td>
</tr>
<tr>
<td></td>
<td>)</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>Constructor. </p>
<p>Creates an MPE zone with the given master channel and number of note channels.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">masterChannel</td><td>The master MIDI channel of the new zone. All master (not per-note) messages should be send to this channel. Must be between 1 and 15. Otherwise, the behaviour is undefined.</td></tr>
<tr><td class="paramname">numNoteChannels</td><td>The number of note channels that the new zone should use. The first note channel will be one higher than the master channel. The number of note channels must be at least 1 and no greater than 16 - masterChannel. Otherwise, the behaviour is undefined.</td></tr>
<tr><td class="paramname">perNotePitchbendRange</td><td>The per-note pitchbend range in semitones of the new zone. Must be between 0 and 96. Otherwise the behaviour is undefined. If unspecified, the default setting of +/- 48 semitones will be used.</td></tr>
<tr><td class="paramname">masterPitchbendRange</td><td>The master pitchbend range in semitones of the new zone. Must be between 0 and 96. Otherwise the behaviour is undefined. If unspecified, the default setting of +/- 2 semitones will be used. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a5c8402c080b6ee1ae2259a6833728fa8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5c8402c080b6ee1ae2259a6833728fa8">§ </a></span>getMasterChannel()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int MPEZone::getMasterChannel </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">
</div>
</div>
<a id="a48c7c57fd450b0017a77157bf64e9972"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a48c7c57fd450b0017a77157bf64e9972">§ </a></span>getNumNoteChannels()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int MPEZone::getNumNoteChannels </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 number of note channels occupied by this zone. </p>
</div>
</div>
<a id="ac77dcd94460cf578a35cbf02c85dfae0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac77dcd94460cf578a35cbf02c85dfae0">§ </a></span>getFirstNoteChannel()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int MPEZone::getFirstNoteChannel </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">
</div>
</div>
<a id="ae916c26e015513b57f17672ea9d3e3d9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae916c26e015513b57f17672ea9d3e3d9">§ </a></span>getLastNoteChannel()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int MPEZone::getLastNoteChannel </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">
</div>
</div>
<a id="aaff063326ac4c3178601838c690f110a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaff063326ac4c3178601838c690f110a">§ </a></span>getNoteChannelRange()</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="classRange.html">Range</a><int> MPEZone::getNoteChannelRange </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 MIDI channel numbers (in the range 1-16) of the note channels of this zone as a <a class="el" href="classRange.html" title="A general-purpose range object, that simply represents any linear range with a start and end point...">Range</a>. </p>
</div>
</div>
<a id="abd60c0e930d481d10501d9c934ddbc47"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abd60c0e930d481d10501d9c934ddbc47">§ </a></span>isUsingChannel()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool MPEZone::isUsingChannel </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>channel</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 true if the MIDI channel (in the range 1-16) is used by this zone either as a note channel or as the master channel; false otherwise. </p>
</div>
</div>
<a id="aee5b9ab4c1c5ebf6e90073001150d558"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aee5b9ab4c1c5ebf6e90073001150d558">§ </a></span>isUsingChannelAsNoteChannel()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool MPEZone::isUsingChannelAsNoteChannel </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>channel</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 true if the MIDI channel (in the range 1-16) is used by this zone as a note channel; false otherwise. </p>
</div>
</div>
<a id="a7e4a8289d2d973c5b1a3e4cb10ad4212"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7e4a8289d2d973c5b1a3e4cb10ad4212">§ </a></span>getPerNotePitchbendRange()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int MPEZone::getPerNotePitchbendRange </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 per-note pitchbend range in semitones set for this zone. </p>
</div>
</div>
<a id="a8c32eb9cec3506e4e21b833235fad1b2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8c32eb9cec3506e4e21b833235fad1b2">§ </a></span>getMasterPitchbendRange()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int MPEZone::getMasterPitchbendRange </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 master pitchbend range in semitones set for this zone. </p>
</div>
</div>
<a id="ab047573d95e602d38fa27535274c4dbc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab047573d95e602d38fa27535274c4dbc">§ </a></span>setPerNotePitchbendRange()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void MPEZone::setPerNotePitchbendRange </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>rangeInSemitones</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>Sets the per-note pitchbend range in semitones for this zone. </p>
</div>
</div>
<a id="ad610f0ec014a21eb869cdb2ff169210f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad610f0ec014a21eb869cdb2ff169210f">§ </a></span>setMasterPitchbendRange()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void MPEZone::setMasterPitchbendRange </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>rangeInSemitones</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>Sets the master pitchbend range in semitones for this zone. </p>
</div>
</div>
<a id="a195d7523cd2d153e304b0f66472ededf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a195d7523cd2d153e304b0f66472ededf">§ </a></span>overlapsWith()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool MPEZone::overlapsWith </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structMPEZone.html">MPEZone</a> </td>
<td class="paramname"><em>other</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 true if the MIDI channels occupied by this zone overlap with those occupied by the other zone. </p>
</div>
</div>
<a id="aa788aba111e390bc59f035106bac2ad5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa788aba111e390bc59f035106bac2ad5">§ </a></span>truncateToFit()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool MPEZone::truncateToFit </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structMPEZone.html">MPEZone</a> </td>
<td class="paramname"><em>zoneToAvoid</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>Tries to truncate this zone in such a way that the range of MIDI channels it occupies do not overlap with the other zone, by reducing this zone's number of note channels. </p>
<dl class="section return"><dt>Returns</dt><dd>true if the truncation succeeded or if no truncation is necessary because the zones do not overlap. False if the zone cannot be truncated in a way that would remove the overlap (in this case you need to delete the zone to remove the overlap). </dd></dl>
</div>
</div>
<a id="a78d76c9dceba085a2ce376828b7635d1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a78d76c9dceba085a2ce376828b7635d1">§ </a></span>operator==()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool MPEZone::operator== </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="structMPEZone.html">MPEZone</a> & </td>
<td class="paramname"><em>other</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">
<dl class="section return"><dt>Returns</dt><dd>true if this zone is equal to the one passed in. </dd></dl>
</div>
</div>
<a id="a3e475b844b64850620cbc4951c37b58e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3e475b844b64850620cbc4951c37b58e">§ </a></span>operator!=()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool MPEZone::operator!= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="structMPEZone.html">MPEZone</a> & </td>
<td class="paramname"><em>other</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">
<dl class="section return"><dt>Returns</dt><dd>true if this zone is not equal to the one passed in. </dd></dl>
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="juce__MPEZone_8h.html">juce_MPEZone.h</a></li>
</ul>
</div><!-- contents -->
<hr class="footer"/>
<address class="footer"><small>All content © ROLI Ltd.</small></address><br/>
</body>
</html>
|