#include <TMidiInstrument.h>
Inheritance diagram for TMidiInstrument:

Public Types | |
| enum | { undefined = -1 } |
Public Member Functions | |
| void | setID (const string &id) |
| ID is a MusicXML required attribute that refers to the score-instrument affected by the change. | |
| void | setChannel (long chan) |
| optionnal MIDI channel numbers range from 1 to 16. | |
| void | setName (const string &name) |
| optionnal MIDI name, corresponds to ProgramName meta-events within a Standard MIDI File. | |
| void | setBank (long bank) |
| optionnal MIDI bank number, range from 1 to 16,384. | |
| void | setProgram (long prog) |
| optionnal MIDI program number, range from 1 to 128. | |
| void | setUnpitched (long pitch) |
| const string & | getID () const |
| long | getChannel () const |
| const string & | getName () const |
| long | getBank () const |
| long | getProgram () const |
| long | getUnpitched () const |
| virtual void | accept (TScoreVisitor &visitor) |
Protected Member Functions | |
| TMidiInstrument (string ident) | |
Friends | |
| EXP friend SMARTP< TMidiInstrument > | newMidiInstrument (string id) |
|
|
optionnal : for unpitched instruments, specify a MIDI note number ranging from 1 to 128. Usually used with MIDI banks for percussion. |
1.3.3