Struct Ase::MidiEvent
MidiEvent data structure.
#include <midievent.hh>
Public Attributes
Type | Name |
---|---|
union Ase::MidiEvent | MidiEvent |
union Ase::MidiEvent | MidiEvent |
union Ase::MidiEvent | MidiEvent |
uint | channel 0…15 for standard events |
uint | cval CONTROL_CHANGE control value, 0…0x7f. |
char * | data Data event byte array. |
uint8 | fragment Flag for multi-part control change mesages. |
uint | frame Offset into current block, delayed if negative. |
uint8 | key NOTE, KEY_PRESSURE MIDI note, 0…0x7f, 60 = middle C at 261.63 Hz. |
uint | length Data event length of byte array. |
uint | noteid NOTE, identifier for note expression handling or 0xffffffff. |
uint | param PROGRAM_CHANGE (program), CONTROL_CHANGE (controller):0…0x7f; PARAM_VALUE:uint32_t. |
double | pvalue Numeric parameter value, PARAM_VALUE. |
float | tuning NOTE, fine tuning in ±cents. |
MidiEventType | type MidiEvent type, one of the MidiEventType members. |
float | value CONTROL_CHANGE 0…+1, CHANNEL_PRESSURE, 0…+1, PITCH_BEND -1…+1. |
float | velocity NOTE, KEY_PRESSURE, CHANNEL_PRESSURE, 0…+1. |
Public Functions
Type | Name |
---|---|
MidiEvent (MidiEventType etype=MidiEventType(0)) |
|
MidiEvent (const MidiEvent & other) |
|
MidiMessage | message () const Determine extended message type an MidiEvent . |
MidiEvent & | operator= (const MidiEvent & other) |
std::string | to_string () const |
~MidiEvent () |
Public Attributes Documentation
variable MidiEvent [1/3]
union Ase::MidiEvent Ase::MidiEvent;
variable MidiEvent [2/3]
union Ase::MidiEvent Ase::MidiEvent;
variable MidiEvent [3/3]
union Ase::MidiEvent Ase::MidiEvent;
variable channel
uint Ase::MidiEvent::channel;
variable cval
uint Ase::MidiEvent::cval;
variable data
char* Ase::MidiEvent::data;
variable fragment
uint8 Ase::MidiEvent::fragment;
variable frame
uint Ase::MidiEvent::frame;
variable key
uint8 Ase::MidiEvent::key;
variable length
uint Ase::MidiEvent::length;
variable noteid
uint Ase::MidiEvent::noteid;
variable param
uint Ase::MidiEvent::param;
variable pvalue
double Ase::MidiEvent::pvalue;
variable tuning
float Ase::MidiEvent::tuning;
variable type
MidiEventType Ase::MidiEvent::type;
variable value
float Ase::MidiEvent::value;
variable velocity
float Ase::MidiEvent::velocity;
Public Functions Documentation
function MidiEvent [1/2]
explicit Ase::MidiEvent::MidiEvent (
MidiEventType etype=MidiEventType (0)
)
function MidiEvent [2/2]
Ase::MidiEvent::MidiEvent (
const MidiEvent & other
)
function message
MidiMessage Ase::MidiEvent::message () const
function operator=
MidiEvent & Ase::MidiEvent::operator= (
const MidiEvent & other
)
function to_string
std::string Ase::MidiEvent::to_string () const
function ~MidiEvent
inline Ase::MidiEvent::~MidiEvent ()
The documentation for this class was generated from the following file /__w/anklang/anklang/ase/midievent.hh