MuseScore  3.4
Music composition and notation
Public Member Functions | Protected Attributes | List of all members
Ms::PlayEvent Class Reference

#include <event.h>

Inheritance diagram for Ms::PlayEvent:
Inheritance graph
[legend]
Collaboration diagram for Ms::PlayEvent:
Collaboration graph
[legend]

Public Member Functions

 PlayEvent ()
 
 PlayEvent (const MidiCoreEvent &e)
 
 PlayEvent (uchar t, uchar c, uchar a, uchar b)
 
float tuning () const
 
void setTuning (float v)
 
- Public Member Functions inherited from Ms::MidiCoreEvent
 MidiCoreEvent ()
 
 MidiCoreEvent (uchar t, uchar c, uchar a, uchar b)
 
void set (uchar t, uchar c, uchar a, uchar b)
 
uchar type () const
 
void setType (uchar t)
 
uchar channel () const
 
void setChannel (uchar c)
 
int dataA () const
 
int pitch () const
 
int controller () const
 
void setDataA (int v)
 
void setPitch (int v)
 
void setController (int v)
 
int dataB () const
 
int velo () const
 
int value () const
 
void setDataB (int v)
 
void setVelo (int v)
 
void setValue (int v)
 
void setData (int a, int b)
 
void setData (int t, int a, int b)
 
bool isChannelEvent () const
 
void write (XmlWriter &) const
 
bool operator== (const MidiCoreEvent &e) const
 

Protected Attributes

float _tuning = .0f
 
- Protected Attributes inherited from Ms::MidiCoreEvent
uchar _type = 0
 
uchar _channel = 0
 
uchar _a = 0
 
uchar _b = 0
 

Constructor & Destructor Documentation

◆ PlayEvent() [1/3]

Ms::PlayEvent::PlayEvent ( )
inline

◆ PlayEvent() [2/3]

Ms::PlayEvent::PlayEvent ( const MidiCoreEvent e)
inline

◆ PlayEvent() [3/3]

Ms::PlayEvent::PlayEvent ( uchar  t,
uchar  c,
uchar  a,
uchar  b 
)
inline

Member Function Documentation

◆ setTuning()

void Ms::PlayEvent::setTuning ( float  v)
inline

◆ tuning()

float Ms::PlayEvent::tuning ( ) const
inline

Member Data Documentation

◆ _tuning

float Ms::PlayEvent::_tuning = .0f
protected

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