Mixxx

/home/maxime/Projets/Mixxx/1.10/mixxx/src/midi/midimessage.h File Reference

#include <QDebug>
#include "configobject.h"
Include dependency graph for midimessage.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MidiMessage

Enumerations

enum  MidiStatusByte {
  MIDI_STATUS_NOTE_OFF = 0x80, MIDI_STATUS_NOTE_ON = 0x90, MIDI_STATUS_AFTERTOUCH = 0xA0, MIDI_STATUS_CC = 0xB0,
  MIDI_STATUS_PROGRAM_CH = 0xC0, MIDI_STATUS_CH_AFTERTOUCH = 0xD0, MIDI_STATUS_PITCH_BEND = 0xE0, MIDI_STATUS_SYSEX = 0xF0,
  MIDI_STATUS_TIME_CODE = 0xF1, MIDI_STATUS_SONG_POS = 0xF2, MIDI_STATUS_SONG = 0xF3, MIDI_STATUS_UNDEFINED1 = 0xF4,
  MIDI_STATUS_UNDEFINED2 = 0xF5, MIDI_STATUS_TUNE_REQ = 0xF6, MIDI_STATUS_EOX = 0xF7, MIDI_STATUS_TIMING_CLK = 0xF8,
  MIDI_STATUS_UNDEFINED3 = 0xF9, MIDI_STATUS_START = 0xFA, MIDI_STATUS_CONTINUE = 0xFB, MIDI_STATUS_STOP = 0xFC,
  MIDI_STATUS_UNDEFINED4 = 0xFD, MIDI_STATUS_ACTIVE_SENSE = 0xFE, MIDI_STATUS_SYSTEM_RESET = 0xFF
}
enum  MidiCategory {
  NOTE_OFF = 0x80, NOTE_ON = 0x90, AFTERTOUCH = 0xA0, CTRL_CHANGE = 0xB0,
  PROG_CHANGE = 0xC0, CHANNEL_PRESSURE = 0xD0, PITCH_WHEEL = 0xE0
}

Functions

uint qHash (const MidiMessage &key)
QDataStream & operator<< (QDataStream &stream, const MidiMessage &first)

Enumeration Type Documentation

Enumerator:
NOTE_OFF 
NOTE_ON 
AFTERTOUCH 
CTRL_CHANGE 
PROG_CHANGE 
CHANNEL_PRESSURE 
PITCH_WHEEL 

Definition at line 40 of file midimessage.h.

Note: The hash table in the MIDI mapping class maps MidiMessages onto MidiControls! First byte of a MIDI message (aka Status Byte). The nibbles that are "0" in this enum are actually the channel nibble.

Enumerator:
MIDI_STATUS_NOTE_OFF 
MIDI_STATUS_NOTE_ON 
MIDI_STATUS_AFTERTOUCH 
MIDI_STATUS_CC 
MIDI_STATUS_PROGRAM_CH 
MIDI_STATUS_CH_AFTERTOUCH 
MIDI_STATUS_PITCH_BEND 
MIDI_STATUS_SYSEX 
MIDI_STATUS_TIME_CODE 
MIDI_STATUS_SONG_POS 
MIDI_STATUS_SONG 
MIDI_STATUS_UNDEFINED1 
MIDI_STATUS_UNDEFINED2 
MIDI_STATUS_TUNE_REQ 
MIDI_STATUS_EOX 
MIDI_STATUS_TIMING_CLK 
MIDI_STATUS_UNDEFINED3 
MIDI_STATUS_START 
MIDI_STATUS_CONTINUE 
MIDI_STATUS_STOP 
MIDI_STATUS_UNDEFINED4 
MIDI_STATUS_ACTIVE_SENSE 
MIDI_STATUS_SYSTEM_RESET 

Definition at line 12 of file midimessage.h.


Function Documentation

QDataStream& operator<< ( QDataStream &  stream,
const MidiMessage first 
) [inline]

Definition at line 98 of file midimessage.h.

Here is the call graph for this function:

uint qHash ( const MidiMessage key)

Hash function so we can use MidiMessage in a QHash table

Definition at line 98 of file midimessage.cpp.

Here is the call graph for this function:

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines