/usr/share/doc/libjuce/apiref/structMPESynthesiserBase.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 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 | <!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: MPESynthesiserBase 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="#pro-methods">Protected Member Functions</a> |
<a href="#pro-attribs">Protected Attributes</a> |
<a href="structMPESynthesiserBase-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">MPESynthesiserBase Struct Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div>
</div><!--header-->
<div class="contents">
<p>Derive from this class to create a basic audio generator capable of MPE.
<a href="structMPESynthesiserBase.html#details">More...</a></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
<img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for MPESynthesiserBase:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center">
<img src="structMPESynthesiserBase.png" usemap="#MPESynthesiserBase_map" alt=""/>
<map id="MPESynthesiserBase_map" name="MPESynthesiserBase_map">
<area href="classMPEInstrument_1_1Listener.html" title="Derive from this class to be informed about any changes in the expressive MIDI notes played by this i..." alt="MPEInstrument::Listener" shape="rect" coords="0,0,147,24"/>
<area href="classMPESynthesiser.html" title="Base class for an MPE-compatible musical device that can play sounds. " alt="MPESynthesiser" shape="rect" coords="0,112,147,136"/>
</map>
</div></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:a74424e05c011bc07e8c626e6911b5fd6"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structMPESynthesiserBase.html#a74424e05c011bc07e8c626e6911b5fd6">MPESynthesiserBase</a> ()</td></tr>
<tr class="memdesc:a74424e05c011bc07e8c626e6911b5fd6"><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#a74424e05c011bc07e8c626e6911b5fd6">More...</a><br /></td></tr>
<tr class="separator:a74424e05c011bc07e8c626e6911b5fd6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a15daf0b062b97aed7d4b1eb9fa0112ce"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structMPESynthesiserBase.html#a15daf0b062b97aed7d4b1eb9fa0112ce">MPESynthesiserBase</a> (<a class="el" href="classMPEInstrument.html">MPEInstrument</a> *<a class="el" href="structMPESynthesiserBase.html#a714dfff07d6efda0363f4f0e62839482">instrument</a>)</td></tr>
<tr class="memdesc:a15daf0b062b97aed7d4b1eb9fa0112ce"><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#a15daf0b062b97aed7d4b1eb9fa0112ce">More...</a><br /></td></tr>
<tr class="separator:a15daf0b062b97aed7d4b1eb9fa0112ce"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aae3ea68ecf5083e8b12a89f59935c61e"><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="structMPESynthesiserBase.html#aae3ea68ecf5083e8b12a89f59935c61e">getZoneLayout</a> () const noexcept</td></tr>
<tr class="memdesc:aae3ea68ecf5083e8b12a89f59935c61e"><td class="mdescLeft"> </td><td class="mdescRight">Returns the synthesiser's internal MPE zone layout. <a href="#aae3ea68ecf5083e8b12a89f59935c61e">More...</a><br /></td></tr>
<tr class="separator:aae3ea68ecf5083e8b12a89f59935c61e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afeac8dac88466e65c1b86c94be91fe02"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="structMPESynthesiserBase.html#afeac8dac88466e65c1b86c94be91fe02">setZoneLayout</a> (<a class="el" href="classMPEZoneLayout.html">MPEZoneLayout</a> newLayout)</td></tr>
<tr class="memdesc:afeac8dac88466e65c1b86c94be91fe02"><td class="mdescLeft"> </td><td class="mdescRight">Re-sets the synthesiser's internal MPE zone layout to the one passed in. <a href="#afeac8dac88466e65c1b86c94be91fe02">More...</a><br /></td></tr>
<tr class="separator:afeac8dac88466e65c1b86c94be91fe02"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa4b7f08d7300b5fd4b7dee5afe0a5b6e"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="structMPESynthesiserBase.html#aa4b7f08d7300b5fd4b7dee5afe0a5b6e">setCurrentPlaybackSampleRate</a> (double sampleRate)</td></tr>
<tr class="memdesc:aa4b7f08d7300b5fd4b7dee5afe0a5b6e"><td class="mdescLeft"> </td><td class="mdescRight">Tells the synthesiser what the sample rate is for the audio it's being used to render. <a href="#aa4b7f08d7300b5fd4b7dee5afe0a5b6e">More...</a><br /></td></tr>
<tr class="separator:aa4b7f08d7300b5fd4b7dee5afe0a5b6e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aeeb6866efb815c5fecfaeee7a25df4f8"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="structMPESynthesiserBase.html#aeeb6866efb815c5fecfaeee7a25df4f8">getSampleRate</a> () const noexcept</td></tr>
<tr class="memdesc:aeeb6866efb815c5fecfaeee7a25df4f8"><td class="mdescLeft"> </td><td class="mdescRight">Returns the current target sample rate at which rendering is being done. <a href="#aeeb6866efb815c5fecfaeee7a25df4f8">More...</a><br /></td></tr>
<tr class="separator:aeeb6866efb815c5fecfaeee7a25df4f8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6b0bfbf04857771b9df5c49ea7ba14df"><td class="memTemplParams" colspan="2">template<typename floatType > </td></tr>
<tr class="memitem:a6b0bfbf04857771b9df5c49ea7ba14df"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structMPESynthesiserBase.html#a6b0bfbf04857771b9df5c49ea7ba14df">renderNextBlock</a> (<a class="el" href="classAudioBuffer.html">AudioBuffer</a>< floatType > &outputAudio, const <a class="el" href="classMidiBuffer.html">MidiBuffer</a> &inputMidi, int startSample, int numSamples)</td></tr>
<tr class="memdesc:a6b0bfbf04857771b9df5c49ea7ba14df"><td class="mdescLeft"> </td><td class="mdescRight">Creates the next block of audio output. <a href="#a6b0bfbf04857771b9df5c49ea7ba14df">More...</a><br /></td></tr>
<tr class="separator:a6b0bfbf04857771b9df5c49ea7ba14df"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4d2ec25d39adbbe075cc73b16ac57350"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="structMPESynthesiserBase.html#a4d2ec25d39adbbe075cc73b16ac57350">handleMidiEvent</a> (const <a class="el" href="classMidiMessage.html">MidiMessage</a> &)</td></tr>
<tr class="memdesc:a4d2ec25d39adbbe075cc73b16ac57350"><td class="mdescLeft"> </td><td class="mdescRight">Handle incoming MIDI events (called from renderNextBlock). <a href="#a4d2ec25d39adbbe075cc73b16ac57350">More...</a><br /></td></tr>
<tr class="separator:a4d2ec25d39adbbe075cc73b16ac57350"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a86d907030c48a8abf67810ba08a8ff98"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="structMPESynthesiserBase.html#a86d907030c48a8abf67810ba08a8ff98">setMinimumRenderingSubdivisionSize</a> (int numSamples, bool shouldBeStrict=false) noexcept</td></tr>
<tr class="memdesc:a86d907030c48a8abf67810ba08a8ff98"><td class="mdescLeft"> </td><td class="mdescRight">Sets a minimum limit on the size to which audio sub-blocks will be divided when rendering. <a href="#a86d907030c48a8abf67810ba08a8ff98">More...</a><br /></td></tr>
<tr class="separator:a86d907030c48a8abf67810ba08a8ff98"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4abccdd51b94666cd099d115152da4e5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="structMPESynthesiserBase.html#a4abccdd51b94666cd099d115152da4e5">enableLegacyMode</a> (int pitchbendRange=2, <a class="el" href="classRange.html">Range</a>< int > channelRange=<a class="el" href="classRange.html">Range</a>< int >(1, 17))</td></tr>
<tr class="memdesc:a4abccdd51b94666cd099d115152da4e5"><td class="mdescLeft"> </td><td class="mdescRight">Puts the synthesiser into legacy mode. <a href="#a4abccdd51b94666cd099d115152da4e5">More...</a><br /></td></tr>
<tr class="separator:a4abccdd51b94666cd099d115152da4e5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aaa7616a70ce2cb4e9253d85031caf309"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structMPESynthesiserBase.html#aaa7616a70ce2cb4e9253d85031caf309">isLegacyModeEnabled</a> () const noexcept</td></tr>
<tr class="memdesc:aaa7616a70ce2cb4e9253d85031caf309"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the instrument is in legacy mode, false otherwise. <a href="#aaa7616a70ce2cb4e9253d85031caf309">More...</a><br /></td></tr>
<tr class="separator:aaa7616a70ce2cb4e9253d85031caf309"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1d9886cbd222f3bc01858659fb187787"><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="structMPESynthesiserBase.html#a1d9886cbd222f3bc01858659fb187787">getLegacyModeChannelRange</a> () const noexcept</td></tr>
<tr class="memdesc:a1d9886cbd222f3bc01858659fb187787"><td class="mdescLeft"> </td><td class="mdescRight">Returns the range of MIDI channels (1-16) to be used for notes when in legacy mode. <a href="#a1d9886cbd222f3bc01858659fb187787">More...</a><br /></td></tr>
<tr class="separator:a1d9886cbd222f3bc01858659fb187787"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac4695668d9cc9ad26f3bb1a5a370d582"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="structMPESynthesiserBase.html#ac4695668d9cc9ad26f3bb1a5a370d582">setLegacyModeChannelRange</a> (<a class="el" href="classRange.html">Range</a>< int > channelRange)</td></tr>
<tr class="memdesc:ac4695668d9cc9ad26f3bb1a5a370d582"><td class="mdescLeft"> </td><td class="mdescRight">Re-sets the range of MIDI channels (1-16) to be used for notes when in legacy mode. <a href="#ac4695668d9cc9ad26f3bb1a5a370d582">More...</a><br /></td></tr>
<tr class="separator:ac4695668d9cc9ad26f3bb1a5a370d582"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5edf96cd4354ea30d38350f2f4b38647"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structMPESynthesiserBase.html#a5edf96cd4354ea30d38350f2f4b38647">getLegacyModePitchbendRange</a> () const noexcept</td></tr>
<tr class="memdesc:a5edf96cd4354ea30d38350f2f4b38647"><td class="mdescLeft"> </td><td class="mdescRight">Returns the pitchbend range in semitones (0-96) to be used for notes when in legacy mode. <a href="#a5edf96cd4354ea30d38350f2f4b38647">More...</a><br /></td></tr>
<tr class="separator:a5edf96cd4354ea30d38350f2f4b38647"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9ed7113fa62ec1f9e979b568c6d99893"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="structMPESynthesiserBase.html#a9ed7113fa62ec1f9e979b568c6d99893">setLegacyModePitchbendRange</a> (int pitchbendRange)</td></tr>
<tr class="memdesc:a9ed7113fa62ec1f9e979b568c6d99893"><td class="mdescLeft"> </td><td class="mdescRight">Re-sets the pitchbend range in semitones (0-96) to be used for notes when in legacy mode. <a href="#a9ed7113fa62ec1f9e979b568c6d99893">More...</a><br /></td></tr>
<tr class="separator:a9ed7113fa62ec1f9e979b568c6d99893"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classMPEInstrument_1_1Listener"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classMPEInstrument_1_1Listener')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classMPEInstrument_1_1Listener.html">MPEInstrument::Listener</a></td></tr>
<tr class="memitem:ac877fa9127b1c3718ebad025fcb0ff85 inherit pub_methods_classMPEInstrument_1_1Listener"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classMPEInstrument_1_1Listener.html#ac877fa9127b1c3718ebad025fcb0ff85">~Listener</a> ()</td></tr>
<tr class="memdesc:ac877fa9127b1c3718ebad025fcb0ff85 inherit pub_methods_classMPEInstrument_1_1Listener"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="classMPEInstrument_1_1Listener.html#ac877fa9127b1c3718ebad025fcb0ff85">More...</a><br /></td></tr>
<tr class="separator:ac877fa9127b1c3718ebad025fcb0ff85 inherit pub_methods_classMPEInstrument_1_1Listener"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3ed24fc611a2d655a0a7c06eb0883b6a inherit pub_methods_classMPEInstrument_1_1Listener"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classMPEInstrument_1_1Listener.html#a3ed24fc611a2d655a0a7c06eb0883b6a">noteAdded</a> (<a class="el" href="structMPENote.html">MPENote</a> newNote)=0</td></tr>
<tr class="memdesc:a3ed24fc611a2d655a0a7c06eb0883b6a inherit pub_methods_classMPEInstrument_1_1Listener"><td class="mdescLeft"> </td><td class="mdescRight">Implement this callback to be informed whenever a new expressive MIDI note is triggered. <a href="classMPEInstrument_1_1Listener.html#a3ed24fc611a2d655a0a7c06eb0883b6a">More...</a><br /></td></tr>
<tr class="separator:a3ed24fc611a2d655a0a7c06eb0883b6a inherit pub_methods_classMPEInstrument_1_1Listener"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:adc06f3989c5cd699ae97c391d2117b42 inherit pub_methods_classMPEInstrument_1_1Listener"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classMPEInstrument_1_1Listener.html#adc06f3989c5cd699ae97c391d2117b42">notePressureChanged</a> (<a class="el" href="structMPENote.html">MPENote</a> changedNote)=0</td></tr>
<tr class="memdesc:adc06f3989c5cd699ae97c391d2117b42 inherit pub_methods_classMPEInstrument_1_1Listener"><td class="mdescLeft"> </td><td class="mdescRight">Implement this callback to be informed whenever a currently playing MPE note's pressure value changes. <a href="classMPEInstrument_1_1Listener.html#adc06f3989c5cd699ae97c391d2117b42">More...</a><br /></td></tr>
<tr class="separator:adc06f3989c5cd699ae97c391d2117b42 inherit pub_methods_classMPEInstrument_1_1Listener"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a47609333f6dc48544da697e9d42188ae inherit pub_methods_classMPEInstrument_1_1Listener"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classMPEInstrument_1_1Listener.html#a47609333f6dc48544da697e9d42188ae">notePitchbendChanged</a> (<a class="el" href="structMPENote.html">MPENote</a> changedNote)=0</td></tr>
<tr class="memdesc:a47609333f6dc48544da697e9d42188ae inherit pub_methods_classMPEInstrument_1_1Listener"><td class="mdescLeft"> </td><td class="mdescRight">Implement this callback to be informed whenever a currently playing MPE note's pitchbend value changes. <a href="classMPEInstrument_1_1Listener.html#a47609333f6dc48544da697e9d42188ae">More...</a><br /></td></tr>
<tr class="separator:a47609333f6dc48544da697e9d42188ae inherit pub_methods_classMPEInstrument_1_1Listener"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2479e31f024803b3a3379341c5a6fda1 inherit pub_methods_classMPEInstrument_1_1Listener"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classMPEInstrument_1_1Listener.html#a2479e31f024803b3a3379341c5a6fda1">noteTimbreChanged</a> (<a class="el" href="structMPENote.html">MPENote</a> changedNote)=0</td></tr>
<tr class="memdesc:a2479e31f024803b3a3379341c5a6fda1 inherit pub_methods_classMPEInstrument_1_1Listener"><td class="mdescLeft"> </td><td class="mdescRight">Implement this callback to be informed whenever a currently playing MPE note's timbre value changes. <a href="classMPEInstrument_1_1Listener.html#a2479e31f024803b3a3379341c5a6fda1">More...</a><br /></td></tr>
<tr class="separator:a2479e31f024803b3a3379341c5a6fda1 inherit pub_methods_classMPEInstrument_1_1Listener"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a88c9dda48fed8107b7b5e355b1273d73 inherit pub_methods_classMPEInstrument_1_1Listener"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classMPEInstrument_1_1Listener.html#a88c9dda48fed8107b7b5e355b1273d73">noteKeyStateChanged</a> (<a class="el" href="structMPENote.html">MPENote</a> changedNote)=0</td></tr>
<tr class="memdesc:a88c9dda48fed8107b7b5e355b1273d73 inherit pub_methods_classMPEInstrument_1_1Listener"><td class="mdescLeft"> </td><td class="mdescRight">Implement this callback to be informed whether a currently playing MPE note's key state (whether the key is down and/or the note is sustained) has changed. <a href="classMPEInstrument_1_1Listener.html#a88c9dda48fed8107b7b5e355b1273d73">More...</a><br /></td></tr>
<tr class="separator:a88c9dda48fed8107b7b5e355b1273d73 inherit pub_methods_classMPEInstrument_1_1Listener"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac5ebbf72827b08d96c1e9c45de27c317 inherit pub_methods_classMPEInstrument_1_1Listener"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classMPEInstrument_1_1Listener.html#ac5ebbf72827b08d96c1e9c45de27c317">noteReleased</a> (<a class="el" href="structMPENote.html">MPENote</a> finishedNote)=0</td></tr>
<tr class="memdesc:ac5ebbf72827b08d96c1e9c45de27c317 inherit pub_methods_classMPEInstrument_1_1Listener"><td class="mdescLeft"> </td><td class="mdescRight">Implement this callback to be informed whenever an MPE note is released (either by a note-off message, or by a sustain/sostenuto pedal release for a note that already received a note-off), and should therefore stop playing. <a href="classMPEInstrument_1_1Listener.html#ac5ebbf72827b08d96c1e9c45de27c317">More...</a><br /></td></tr>
<tr class="separator:ac5ebbf72827b08d96c1e9c45de27c317 inherit pub_methods_classMPEInstrument_1_1Listener"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a35cb8fe7b87b603884ee3f4837be07aa"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="structMPESynthesiserBase.html#a35cb8fe7b87b603884ee3f4837be07aa">renderNextSubBlock</a> (<a class="el" href="classAudioBuffer.html">AudioBuffer</a>< float > &outputAudio, int startSample, int numSamples)=0</td></tr>
<tr class="memdesc:a35cb8fe7b87b603884ee3f4837be07aa"><td class="mdescLeft"> </td><td class="mdescRight">Implement this method to render your audio inside. <a href="#a35cb8fe7b87b603884ee3f4837be07aa">More...</a><br /></td></tr>
<tr class="separator:a35cb8fe7b87b603884ee3f4837be07aa"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7eb0cef08098b387967879d30efee749"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="structMPESynthesiserBase.html#a7eb0cef08098b387967879d30efee749">renderNextSubBlock</a> (<a class="el" href="classAudioBuffer.html">AudioBuffer</a>< double > &, int, int)</td></tr>
<tr class="memdesc:a7eb0cef08098b387967879d30efee749"><td class="mdescLeft"> </td><td class="mdescRight">Implement this method if you want to render 64-bit audio as well; otherwise leave blank. <a href="#a7eb0cef08098b387967879d30efee749">More...</a><br /></td></tr>
<tr class="separator:a7eb0cef08098b387967879d30efee749"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a714dfff07d6efda0363f4f0e62839482"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classScopedPointer.html">ScopedPointer</a>< <a class="el" href="classMPEInstrument.html">MPEInstrument</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="structMPESynthesiserBase.html#a714dfff07d6efda0363f4f0e62839482">instrument</a></td></tr>
<tr class="separator:a714dfff07d6efda0363f4f0e62839482"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Derive from this class to create a basic audio generator capable of MPE. </p>
<p>Implement the callbacks of <a class="el" href="classMPEInstrument_1_1Listener.html" title="Derive from this class to be informed about any changes in the expressive MIDI notes played by this i...">MPEInstrument::Listener</a> (noteAdded, notePressureChanged etc.) to let your audio generator know that MPE notes were triggered, modulated, or released. What to do inside them, and how that influences your audio generator, is up to you!</p>
<p>This class uses an instance of <a class="el" href="classMPEInstrument.html">MPEInstrument</a> internally to handle the MPE note state logic.</p>
<p>This class is a very low-level base class for an MPE instrument. If you need something more sophisticated, have a look at <a class="el" href="classMPESynthesiser.html" title="Base class for an MPE-compatible musical device that can play sounds. ">MPESynthesiser</a>. This class extends <a class="el" href="structMPESynthesiserBase.html" title="Derive from this class to create a basic audio generator capable of MPE. ">MPESynthesiserBase</a> by adding the concept of voices that can play notes, a voice stealing algorithm, and much more.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classMPESynthesiser.html" title="Base class for an MPE-compatible musical device that can play sounds. ">MPESynthesiser</a>, <a class="el" href="classMPEInstrument.html">MPEInstrument</a> </dd></dl>
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a id="a74424e05c011bc07e8c626e6911b5fd6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a74424e05c011bc07e8c626e6911b5fd6">§ </a></span>MPESynthesiserBase() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">MPESynthesiserBase::MPESynthesiserBase </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructor. </p>
</div>
</div>
<a id="a15daf0b062b97aed7d4b1eb9fa0112ce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a15daf0b062b97aed7d4b1eb9fa0112ce">§ </a></span>MPESynthesiserBase() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">MPESynthesiserBase::MPESynthesiserBase </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classMPEInstrument.html">MPEInstrument</a> * </td>
<td class="paramname"><em>instrument</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructor. </p>
<p>If you use this constructor, the synthesiser will take ownership of the provided instrument object, and will use it internally to handle the MPE note state logic. This is useful if you want to use an instance of your own class derived from <a class="el" href="classMPEInstrument.html">MPEInstrument</a> for the MPE logic. </p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="aae3ea68ecf5083e8b12a89f59935c61e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aae3ea68ecf5083e8b12a89f59935c61e">§ </a></span>getZoneLayout()</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="classMPEZoneLayout.html">MPEZoneLayout</a> MPESynthesiserBase::getZoneLayout </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 synthesiser's internal MPE zone layout. </p>
<p>This happens by value, to enforce thread-safety and class invariants. </p>
</div>
</div>
<a id="afeac8dac88466e65c1b86c94be91fe02"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afeac8dac88466e65c1b86c94be91fe02">§ </a></span>setZoneLayout()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void MPESynthesiserBase::setZoneLayout </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classMPEZoneLayout.html">MPEZoneLayout</a> </td>
<td class="paramname"><em>newLayout</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Re-sets the synthesiser's internal MPE zone layout to the one passed in. </p>
<p>As a side effect, this will discard all currently playing notes, call noteReleased for all of them, and disable legacy mode (if previously enabled). </p>
</div>
</div>
<a id="aa4b7f08d7300b5fd4b7dee5afe0a5b6e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa4b7f08d7300b5fd4b7dee5afe0a5b6e">§ </a></span>setCurrentPlaybackSampleRate()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void MPESynthesiserBase::setCurrentPlaybackSampleRate </td>
<td>(</td>
<td class="paramtype">double </td>
<td class="paramname"><em>sampleRate</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Tells the synthesiser what the sample rate is for the audio it's being used to render. </p>
<p>Reimplemented in <a class="el" href="classMPESynthesiser.html#aaa4de3655921d4971ad4334001f096b1">MPESynthesiser</a>.</p>
<p>Referenced by <a class="el" href="classMPESynthesiser.html#a66626bd58b9d126ed61d847a572441ee">MPESynthesiser::isVoiceStealingEnabled()</a>.</p>
</div>
</div>
<a id="aeeb6866efb815c5fecfaeee7a25df4f8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeeb6866efb815c5fecfaeee7a25df4f8">§ </a></span>getSampleRate()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">double MPESynthesiserBase::getSampleRate </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 target sample rate at which rendering is being done. </p>
<p>Subclasses may need to know this so that they can pitch things correctly. </p>
<p>References <a class="el" href="classMPEInstrument.html#a5a947eb3f30c2566ba448ce48b2925f8">MPEInstrument::enableLegacyMode()</a>, <a class="el" href="classMPEInstrument.html#a48d08cc214e07dd772fb8ed8c6ec679a">MPEInstrument::getLegacyModeChannelRange()</a>, <a class="el" href="classMPEInstrument.html#a490802cc4db8272096a09123adf8fdf1">MPEInstrument::getLegacyModePitchbendRange()</a>, <a class="el" href="classMPEInstrument.html#a472e505a54849b94df8b2c28721cb05f">MPEInstrument::isLegacyModeEnabled()</a>, <a class="el" href="classMPEInstrument.html#abef02c4b4ea3d4fc9ce6aede066696ef">MPEInstrument::setLegacyModeChannelRange()</a>, and <a class="el" href="classMPEInstrument.html#a6c4f9fd1840122bf9520a504dbfda956">MPEInstrument::setLegacyModePitchbendRange()</a>.</p>
</div>
</div>
<a id="a6b0bfbf04857771b9df5c49ea7ba14df"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6b0bfbf04857771b9df5c49ea7ba14df">§ </a></span>renderNextBlock()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<typename floatType > </div>
<table class="memname">
<tr>
<td class="memname">void MPESynthesiserBase::renderNextBlock </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classAudioBuffer.html">AudioBuffer</a>< floatType > & </td>
<td class="paramname"><em>outputAudio</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classMidiBuffer.html">MidiBuffer</a> & </td>
<td class="paramname"><em>inputMidi</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>startSample</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>numSamples</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates the next block of audio output. </p>
<p>Call this to make sound. This will chop up the <a class="el" href="classAudioBuffer.html" title="A multi-channel buffer of floating point audio samples. ">AudioBuffer</a> into subBlock pieces separated by events in the MIDI buffer, and then call processNextSubBlock on each one of them. In between you will get calls to noteAdded/Changed/Finished, where you can update parameters that depend on those notes to use for your audio rendering. </p>
</div>
</div>
<a id="a4d2ec25d39adbbe075cc73b16ac57350"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4d2ec25d39adbbe075cc73b16ac57350">§ </a></span>handleMidiEvent()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void MPESynthesiserBase::handleMidiEvent </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classMidiMessage.html">MidiMessage</a> & </td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Handle incoming MIDI events (called from renderNextBlock). </p>
<p>The default implementation provided here simply forwards everything to <a class="el" href="classMPEInstrument.html#ad111bad93f9b6820d032ec9884775418" title="Process a MIDI message and trigger the appropriate method calls (noteOn, noteOff etc.) ">MPEInstrument::processNextMidiEvent</a>, where it is used to update the MPE notes, zones etc. MIDI messages not relevant for MPE are ignored.</p>
<p>This method can be overridden if you need to do custom MIDI handling on top of MPE. The <a class="el" href="classMPESynthesiser.html" title="Base class for an MPE-compatible musical device that can play sounds. ">MPESynthesiser</a> class overrides this to implement callbacks for MIDI program changes and non-MPE-related MIDI controller messages. </p>
<p>Reimplemented in <a class="el" href="classMPESynthesiser.html#a2dd519f9423daede17cc9658b90235e9">MPESynthesiser</a>.</p>
<p>Referenced by <a class="el" href="classMPESynthesiser.html#a66626bd58b9d126ed61d847a572441ee">MPESynthesiser::isVoiceStealingEnabled()</a>.</p>
</div>
</div>
<a id="a86d907030c48a8abf67810ba08a8ff98"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a86d907030c48a8abf67810ba08a8ff98">§ </a></span>setMinimumRenderingSubdivisionSize()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void MPESynthesiserBase::setMinimumRenderingSubdivisionSize </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>numSamples</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>shouldBeStrict</em> = <code>false</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>Sets a minimum limit on the size to which audio sub-blocks will be divided when rendering. </p>
<p>When rendering, the audio blocks that are passed into <a class="el" href="structMPESynthesiserBase.html#a6b0bfbf04857771b9df5c49ea7ba14df" title="Creates the next block of audio output. ">renderNextBlock()</a> will be split up into smaller blocks that lie between all the incoming midi messages, and it is these smaller sub-blocks that are rendered with multiple calls to renderVoices().</p>
<p>Obviously in a pathological case where there are midi messages on every sample, then renderVoices() could be called once per sample and lead to poor performance, so this setting allows you to set a lower limit on the block size.</p>
<p>The default setting is 32, which means that midi messages are accurate to about < 1ms accuracy, which is probably fine for most purposes, but you may want to increase or decrease this value for your synth.</p>
<p>If shouldBeStrict is true, the audio sub-blocks will strictly never be smaller than numSamples.</p>
<p>If shouldBeStrict is false (default), the first audio sub-block in the buffer is allowed to be smaller, to make sure that the first MIDI event in a buffer will always be sample-accurate (this can sometimes help to avoid quantisation or phasing issues). </p>
</div>
</div>
<a id="a4abccdd51b94666cd099d115152da4e5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4abccdd51b94666cd099d115152da4e5">§ </a></span>enableLegacyMode()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void MPESynthesiserBase::enableLegacyMode </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>pitchbendRange</em> = <code>2</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classRange.html">Range</a>< int > </td>
<td class="paramname"><em>channelRange</em> = <code><a class="el" href="classRange.html">Range</a>< int >(1, 17)</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Puts the synthesiser into legacy mode. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">pitchbendRange</td><td>The note pitchbend range in semitones to use when in legacy mode. Must be between 0 and 96, otherwise behaviour is undefined. The default pitchbend range in legacy mode is +/- 2 semitones. </td></tr>
<tr><td class="paramname">channelRange</td><td>The range of MIDI channels to use for notes when in legacy mode. The default is to use all MIDI channels (1-16).</td></tr>
</table>
</dd>
</dl>
<p>To get out of legacy mode, set a new MPE zone layout using setZoneLayout. </p>
</div>
</div>
<a id="aaa7616a70ce2cb4e9253d85031caf309"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaa7616a70ce2cb4e9253d85031caf309">§ </a></span>isLegacyModeEnabled()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool MPESynthesiserBase::isLegacyModeEnabled </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 true if the instrument is in legacy mode, false otherwise. </p>
</div>
</div>
<a id="a1d9886cbd222f3bc01858659fb187787"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1d9886cbd222f3bc01858659fb187787">§ </a></span>getLegacyModeChannelRange()</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> MPESynthesiserBase::getLegacyModeChannelRange </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 range of MIDI channels (1-16) to be used for notes when in legacy mode. </p>
</div>
</div>
<a id="ac4695668d9cc9ad26f3bb1a5a370d582"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac4695668d9cc9ad26f3bb1a5a370d582">§ </a></span>setLegacyModeChannelRange()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void MPESynthesiserBase::setLegacyModeChannelRange </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classRange.html">Range</a>< int > </td>
<td class="paramname"><em>channelRange</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Re-sets the range of MIDI channels (1-16) to be used for notes when in legacy mode. </p>
</div>
</div>
<a id="a5edf96cd4354ea30d38350f2f4b38647"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5edf96cd4354ea30d38350f2f4b38647">§ </a></span>getLegacyModePitchbendRange()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int MPESynthesiserBase::getLegacyModePitchbendRange </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 pitchbend range in semitones (0-96) to be used for notes when in legacy mode. </p>
</div>
</div>
<a id="a9ed7113fa62ec1f9e979b568c6d99893"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9ed7113fa62ec1f9e979b568c6d99893">§ </a></span>setLegacyModePitchbendRange()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void MPESynthesiserBase::setLegacyModePitchbendRange </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>pitchbendRange</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Re-sets the pitchbend range in semitones (0-96) to be used for notes when in legacy mode. </p>
</div>
</div>
<a id="a35cb8fe7b87b603884ee3f4837be07aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a35cb8fe7b87b603884ee3f4837be07aa">§ </a></span>renderNextSubBlock() <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">virtual void MPESynthesiserBase::renderNextSubBlock </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classAudioBuffer.html">AudioBuffer</a>< float > & </td>
<td class="paramname"><em>outputAudio</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>startSample</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>numSamples</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">protected</span><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implement this method to render your audio inside. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="structMPESynthesiserBase.html#a6b0bfbf04857771b9df5c49ea7ba14df" title="Creates the next block of audio output. ">renderNextBlock</a> </dd></dl>
<p>Implemented in <a class="el" href="classMPESynthesiser.html#a5192d64f9a0f664dbeb28b34e216381c">MPESynthesiser</a>.</p>
<p>Referenced by <a class="el" href="classMPESynthesiser.html#a8902a959475b2c1a22f04c6235edf214">MPESynthesiser::handleProgramChange()</a>.</p>
</div>
</div>
<a id="a7eb0cef08098b387967879d30efee749"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7eb0cef08098b387967879d30efee749">§ </a></span>renderNextSubBlock() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void MPESynthesiserBase::renderNextSubBlock </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classAudioBuffer.html">AudioBuffer</a>< double > & </td>
<td class="paramname">, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname">, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implement this method if you want to render 64-bit audio as well; otherwise leave blank. </p>
<p>Reimplemented in <a class="el" href="classMPESynthesiser.html#a98c17883ec58f43951ac70026cb7ffd8">MPESynthesiser</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a714dfff07d6efda0363f4f0e62839482"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a714dfff07d6efda0363f4f0e62839482">§ </a></span>instrument</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="classScopedPointer.html">ScopedPointer</a><<a class="el" href="classMPEInstrument.html">MPEInstrument</a>> MPESynthesiserBase::instrument</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="juce__MPESynthesiserBase_8h.html">juce_MPESynthesiserBase.h</a></li>
</ul>
</div><!-- contents -->
<hr class="footer"/>
<address class="footer"><small>All content © ROLI Ltd.</small></address><br/>
</body>
</html>
|