|
wavelength 1.0.0
|
Bank loaded from a file to report which notes it plays. More...
#include <BankLookup.h>
Public Member Functions | |
| BankLookup (const String &filename) | |
| Load a bank without prompting for missing files. | |
| ~BankLookup () | |
| Delete the bank. | |
| bool | HasKey (unsigned char key, int program) |
| Report whether a note falls in the key range of a sample description. | |
Bank loaded from a file to report which notes it plays.
No routine creates one.
The class has no RTTI, and its name is inferred. The object is 4 bytes. Its routines are in BankManager.cpp.
|
explicit |
Load a bank without prompting for missing files.
| filename | The path of the bank file. |
| BankLookup::~BankLookup | ( | ) |
Delete the bank.
| bool BankLookup::HasKey | ( | unsigned char | key, |
| int | program ) |
Report whether a note falls in the key range of a sample description.
| key | The note. |
| program | The program number of the instrument to search, or -1 for every instrument. |