34#if defined(DRUMSTICK_STATIC)
35#define DRUMSTICK_RT_EXPORT
37#if defined(drumstick_rt_EXPORTS)
38#define DRUMSTICK_RT_EXPORT Q_DECL_EXPORT
40#define DRUMSTICK_RT_EXPORT Q_DECL_IMPORT
160 virtual QList<MIDIConnection>
connections(
bool advanced =
false) = 0;
253Q_DECLARE_METATYPE(
drumstick::rt::MIDIConnection)
The QObject class is the base class of all Qt objects.
The QSettings class provides persistent platform-independent application settings.
virtual ~MIDIOutput()=default
~MIDIOutput destructor
virtual void setExcludedConnections(QStringList conns)=0
setExcludedConnections
MIDIOutput(QObject *parent=nullptr)
MIDIOutput constructor.
virtual void initialize(QSettings *settings)=0
initialize
virtual QString backendName()=0
backendName
virtual MIDIConnection currentConnection()=0
currentConnection
virtual void sendPitchBend(int chan, int value)=0
sendPitchBend 0xE
virtual void sendNoteOn(int chan, int note, int vel)=0
sendNoteOn 0x9
virtual void sendChannelPressure(int chan, int value)=0
sendChannelPressure 0xD
virtual void sendKeyPressure(int chan, int note, int value)=0
sendKeyPressure 0xA
virtual QList< MIDIConnection > connections(bool advanced=false)=0
connections
virtual QString publicName()=0
publicName
virtual void sendController(int chan, int control, int value)=0
sendController 0xB
virtual void open(const MIDIConnection &conn)=0
open the MIDI port by name
virtual void sendProgram(int chan, int program)=0
sendProgram 0xC
virtual void sendNoteOff(int chan, int note, int vel)=0
sendNoteOff 0x8
virtual void close()=0
close the MIDI port
virtual void sendSystemMsg(const int status)=0
sendSystemMsg
virtual void sendSysex(const QByteArray &data)=0
sendSysex
virtual void setPublicName(QString name)=0
setPublicName
const quint8 MIDI_STATUS_CONTROLCHANGE
MIDI status byte for CONTROL change messages.
int MIDI_LSB(int x)
MIDI_LSB is a function to extract the least significative byte of a MIDI value.
const quint8 MIDI_COMMON_SONGPP
MIDI Song Position status message.
const quint8 MIDI_GM_STD_DRUM_CHANNEL
Number of the GM percussion channel.
const quint8 MIDI_COMMON_SONGSELECT
MIDI Song Select status message.
const quint8 MIDI_CONTROL_ALL_SOUNDS_OFF
MIDI Controller number for All sounds off.
const quint8 MIDI_REALTIME_CONTINUE
MIDI Continue status message.
QPair< QString, QVariant > MIDIConnection
MIDIConnection represents a connection identifier.
const quint8 MIDI_REALTIME_RESET
MIDI Reset status message.
const quint8 MIDI_STATUS_PROGRAMCHANGE
MIDI status byte for PROGRAM change messages.
const quint8 MIDI_STATUS_SYSEX
MIDI status byte for System Exclusive START messages.
const quint8 MIDI_STATUS_KEYPRESURE
MIDI status byte for KEY pressure messages.
const quint8 MIDI_STATUS_NOTEON
MIDI status byte for NOTE ON messages.
const quint8 MIDI_STD_CHANNELS
Standard number of MIDI channels.
const quint8 MIDI_CONTROL_LSB_BANK_SELECT
MIDI Controller number for LSB Bank number.
const quint8 MIDI_REALTIME_CLOCK
MIDI Clock status message.
int MIDI_MSB(int x)
MIDI_MSB is a function to extract the most significative byte of a MIDI value.
const quint8 MIDI_CONTROL_MSB_MAIN_VOLUME
MIDI Controller number for MSB volume.
const quint8 MIDI_STATUS_NOTEOFF
MIDI status byte for NOTE OFF messages.
const quint8 MIDI_COMMON_TUNEREQ
MIDI Tune Request status message.
const quint8 MIDI_CONTROL_RESET_CONTROLLERS
MIDI Controller number for Reset all controllers.
const quint8 MIDI_COMMON_QTRFRAME
MIDI Quarter frame status message.
const quint8 MIDI_STATUS_CHANNELPRESSURE
MIDI status byte for CHANNEL PRESSURE messages.
const quint8 MIDI_CONTROL_REVERB_SEND
MIDI Controller number for Reverb send.
const quint8 MIDI_STATUS_REALTIME
Minimum value for MIDI Realtime messages status.
const quint8 MIDI_CHANNEL_MASK
Mask to extract the MIDI channel byte from a MIDI message.
const quint8 MIDI_STATUS_PITCHBEND
MIDI status byte for PITCH bend messages.
const quint8 MIDI_CONTROL_ALL_NOTES_OFF
MIDI Controller number for All notes off.
const quint8 MIDI_CONTROL_MSB_BANK_SELECT
MIDI Controller number for MSB Bank number.
const quint8 MIDI_REALTIME_STOP
MIDI Stop status message.
const quint8 MIDI_REALTIME_SENSING
MIDI Active Sensing status message.
const quint8 MIDI_STATUS_ENDSYSEX
MIDI status byte for System Exclusive END messages.
const quint8 MIDI_STATUS_MASK
Mask to extract the MIDI status byte from a MIDI message.
const quint8 MIDI_REALTIME_START
MIDI Start status message.