Ardour  9.0-pre0-822-g12e3bc5c20
MIDI Namespace Reference

Namespaces

 Name
 

Classes

class  Channel
 
class  IPMIDIPort
 
class  MachineControl
 
class  MachineControlCommand
 
class  Parser
 
class  Port
 
struct  PortSet
 
struct  EventTwoBytes
 

Typedefs

typedef unsigned char byte
 
typedef PBD::Signal< void(Parser &)> ZeroByteSignal
 
typedef PBD::Signal< void(Parser &, unsigned short)> BankSignal
 
typedef PBD::Signal< void(Parser &, samplecnt_t)> TimestampedSignal
 
typedef PBD::Signal< void(Parser &, byte)> OneByteSignal
 
typedef PBD::Signal< void(Parser &, EventTwoBytes *)> TwoByteSignal
 
typedef PBD::Signal< void(Parser &, pitchbend_t)> PitchBendSignal
 
typedef PBD::Signal< void(Parser &, uint16_t, int)> RPNSignal
 
typedef PBD::Signal< void(Parser &, uint16_t, float)> RPNValueSignal
 
typedef PBD::Signal< void(Parser &, byte *, size_t)> Signal
 
typedef PBD::Signal< void(Parser &, byte *, size_t, samplecnt_t)> AnySignal
 
typedef char channel_t
 
typedef float controller_value_t
 
typedef unsigned short pitchbend_t
 
typedef uint32_t timestamp_t
 
typedef int64_t samplecnt_t
 
typedef uint32_t pframes_t
 

Enumerations

enum  eventType {
  none = 0x0 , raw = 0xF4 , any = 0xF5 , off = 0x80 ,
  on = 0x90 , controller = 0xB0 , program = 0xC0 , chanpress = 0xD0 ,
  polypress = 0xA0 , pitchbend = 0xE0 , sysex = 0xF0 , mtc_quarter = 0xF1 ,
  position = 0xF2 , song = 0xF3 , tune = 0xF6 , eox = 0xF7 ,
  timing = 0xF8 , tick = 0xF9 , start = 0xFA , contineu = 0xFB ,
  stop = 0xFC , active = 0xFE , reset = 0xFF
}
 
enum  MTC_FPS { MTC_24_FPS = 0 , MTC_25_FPS = 1 , MTC_30_FPS_DROP = 2 , MTC_30_FPS = 3 }
 
enum  MTC_Status { MTC_Stopped = 0 , MTC_Forward , MTC_Backward }
 

Functions

std::ostream & operator<< (std::ostream &os, const Port &port)
 
byte decode_controller_name (const char *name)
 

Variables

const char * controller_names []
 

Typedef Documentation

◆ AnySignal

typedef PBD::Signal<void(Parser &, byte *, size_t, samplecnt_t)> MIDI::AnySignal

Definition at line 46 of file parser.h.

◆ BankSignal

typedef PBD::Signal<void(Parser&,unsigned short)> MIDI::BankSignal

Definition at line 38 of file parser.h.

◆ byte

typedef unsigned char MIDI::byte

◆ channel_t

typedef char MIDI::channel_t

Definition at line 28 of file midi++2/midi++/types.h.

◆ controller_value_t

typedef float MIDI::controller_value_t

Definition at line 29 of file midi++2/midi++/types.h.

◆ OneByteSignal

Definition at line 40 of file parser.h.

◆ pframes_t

typedef uint32_t MIDI::pframes_t

Definition at line 36 of file midi++2/midi++/types.h.

◆ pitchbend_t

typedef unsigned short MIDI::pitchbend_t

Definition at line 31 of file midi++2/midi++/types.h.

◆ PitchBendSignal

Definition at line 42 of file parser.h.

◆ RPNSignal

typedef PBD::Signal<void(Parser &, uint16_t, int)> MIDI::RPNSignal

Definition at line 43 of file parser.h.

◆ RPNValueSignal

typedef PBD::Signal<void(Parser &, uint16_t, float)> MIDI::RPNValueSignal

Definition at line 44 of file parser.h.

◆ samplecnt_t

typedef int64_t MIDI::samplecnt_t

XXX: dupes from libardour

Definition at line 35 of file midi++2/midi++/types.h.

◆ Signal

typedef PBD::Signal<void(Parser &, byte *, size_t)> MIDI::Signal

Definition at line 45 of file parser.h.

◆ timestamp_t

typedef uint32_t MIDI::timestamp_t

Definition at line 32 of file midi++2/midi++/types.h.

◆ TimestampedSignal

Definition at line 39 of file parser.h.

◆ TwoByteSignal

Definition at line 41 of file parser.h.

◆ ZeroByteSignal

Definition at line 37 of file parser.h.

Enumeration Type Documentation

◆ eventType

Enumerator
none 
raw 
any 
off 
on 
controller 
program 
chanpress 
polypress 
pitchbend 
sysex 
mtc_quarter 
position 
song 
tune 
eox 
timing 
tick 
start 
contineu 
stop 
active 
reset 

Definition at line 38 of file midi++2/midi++/types.h.

◆ MTC_FPS

Enumerator
MTC_24_FPS 
MTC_25_FPS 
MTC_30_FPS_DROP 
MTC_30_FPS 

Definition at line 78 of file midi++2/midi++/types.h.

◆ MTC_Status

Enumerator
MTC_Stopped 
MTC_Forward 
MTC_Backward 

Definition at line 85 of file midi++2/midi++/types.h.

Function Documentation

◆ decode_controller_name()

byte MIDI::decode_controller_name ( const char *  name)

◆ operator<<()

std::ostream& MIDI::operator<< ( std::ostream &  os,
const Port port 
)

Variable Documentation

◆ controller_names

const char* MIDI::controller_names[]
extern