#include <gxMidiStatusMap.h>
Public Member Functions | |
gxMidiStatusMap () | |
virtual | ~gxMidiStatusMap () |
virtual gxMidiTransform * | castMidiTransform ()=0 |
The midi status map is actually an instance of a gxMidiTransform. | |
virtual void | enableByStatusType (int statusType, bool enable=true)=0 |
Enable (or disable) all messages of a given status type for all midi channels. | |
virtual void | enableByChannel (int channel, bool enable=true)=0 |
Enable (or disable) all messages of a given status channel for all status types. | |
virtual int | getMapEntry (int input)=0 |
Returns a single entry in the status map. | |
virtual void | setOutputChannel (int channel)=0 |
Modify the mapping table such that all output channel voice messages are set to a specific midi channel. | |
virtual void | setMapEntry (int input, int output)=0 |
Set the status transform for a single status byte value. | |
virtual void | reset (bool enable=true)=0 |
Reset the status transform to a known value. |
|
|
|
|
|
The midi status map is actually an instance of a gxMidiTransform. Use this method to dynamically cast to the gxMidiTransform interface. |
|
Enable (or disable) all messages of a given status channel for all status types. Enabling a channel will restore the identity mapping. Channel is one-base (1 - 16). |
|
Enable (or disable) all messages of a given status type for all midi channels. Enabling a status type will restore the identity channel mapping (0 to 0, 1 to 1 etc.). If the status type is F0, all system messages (F0 - FF) will be enabled or disabled as specified by "enable". |
|
Returns a single entry in the status map. The input must be between 0x80 and 0xFF (note that a few of the 0xFn values are undefined by the midi spec, but the status map does not care). Returns the output status byte (an integer between 0x80 and 0xFF if the status byte is enabled, or -1 if disabled). |
|
Reset the status transform to a known value. If enable is true, then the status transform is set to identity - output messages are identical to input messages. If enable is false, all messages are disabled. |
|
Set the status transform for a single status byte value. To filter out that status value, specify -1 as output |
|
Modify the mapping table such that all output channel voice messages are set to a specific midi channel. Disabled status values are not affected. The channel number is 0-based (0 - 15). System message status values are not affected. Channel is one-base (1 - 16). |