23#ifndef H2_MIDI_COMMON_H
24#define H2_MIDI_COMMON_H
26#include <core/config.h>
108 void setType(
int nStatusByte );
118 QString
toQString(
const QString& sPrefix =
"",
bool bShort =
true )
const;
Basic building block for the communication between the core of Hydrogen and its GUI.
QString toQString(const QString &sPrefix="", bool bShort=true) const
Formatted string version for debugging purposes.
static QStringList getEventList()
Retrieve the string representation for all available Event.
Event
Subset of incoming MIDI events that will be handled by Hydrogen.
void setType(int nStatusByte)
Derives and set m_type (and if applicable m_nChannel) using the statusByte of an incoming MIDI messag...
static QString TypeToQString(MidiMessageType type)
MidiMessageType
All possible types of incoming MIDI messages.
@ POLYPHONIC_KEY_PRESSURE
std::vector< unsigned char > m_sysexData
static QString EventToQString(Event event)
void clear()
Reset message.
static Event QStringToEvent(const QString &sEvent)