MuseScore  3.4
Music composition and notation
Public Member Functions | Private Attributes | List of all members
MidiEvent Class Reference

#include <midievent.h>

Public Member Functions

 MidiEvent ()
 
 MidiEvent (MidiEventType t, char c, char a, char b)
 
void set (MidiEventType t, char c, char a, char b)
 
MidiEventType type () const
 
void setType (MidiEventType t)
 
char channel () const
 
char dataA () const
 
char dataB () const
 

Private Attributes

MidiEventType _type
 
char _channel
 
char _dataA
 
char _dataB
 

Constructor & Destructor Documentation

◆ MidiEvent() [1/2]

MidiEvent::MidiEvent ( )
inline

◆ MidiEvent() [2/2]

MidiEvent::MidiEvent ( MidiEventType  t,
char  c,
char  a,
char  b 
)
inline

Member Function Documentation

◆ channel()

char MidiEvent::channel ( ) const
inline

◆ dataA()

char MidiEvent::dataA ( ) const
inline

◆ dataB()

char MidiEvent::dataB ( ) const
inline

◆ set()

void MidiEvent::set ( MidiEventType  t,
char  c,
char  a,
char  b 
)
inline

◆ setType()

void MidiEvent::setType ( MidiEventType  t)
inline

◆ type()

MidiEventType MidiEvent::type ( ) const
inline

Member Data Documentation

◆ _channel

char MidiEvent::_channel
private

◆ _dataA

char MidiEvent::_dataA
private

◆ _dataB

char MidiEvent::_dataB
private

◆ _type

MidiEventType MidiEvent::_type
private

The documentation for this class was generated from the following file: