ASPiK SDK
Loading...
Searching...
No Matches
midiEvent Struct Reference

Information about a MIDI event. More...

#include <pluginstructures.h>

Public Member Functions

 midiEvent (uint32_t _midiMessage, uint32_t _midiChannel, uint32_t _midiData1, uint32_t _midiData2, uint32_t _midiSampleOffset)
 
 midiEvent (uint32_t _midiMessage, uint32_t _midiChannel, uint32_t _midiData1, uint32_t _midiData2, uint32_t _midiSampleOffset, double _audioTimeStamp)
 
midiEventoperator= (const midiEvent &data)
 

Public Attributes

uint32_t midiMessage = 0
 BYTE message as UINT.
 
uint32_t midiChannel = 0
 BYTE channel as UINT.
 
uint32_t midiData1 = 0
 BYTE data 1 as UINT.
 
uint32_t midiData2 = 0
 BYTE data 2 as UINT.
 
uint32_t midiSampleOffset = 0
 sample offset of midi event within audio buffer
 
uint32_t auxUintData1 = 0
 aux data (UINT)
 
uint32_t auxUintData2 = 0
 aux data (UINT)
 
int32_t auxIntData1 = 0
 aux data (INT)
 
int32_t auxIntData2 = 0
 aux data (INT)
 
double auxDoubleData1 = 0.0
 aux data (double)
 
double auxDoubleData2 = 0.0
 aux data (double)
 
int midiPitchBendValue = 0
 midi pitch bend value (14-bit)
 
float midiNormalizedPitchBendValue = 0.0
 normalized bitch bend value
 
bool midiIsDirty = false
 dirty flag
 
double audioTimeStamp = 0.0
 time stamp (not all APIs)
 

Detailed Description

Information about a MIDI event.

Author
Will Pirkle http://www.willpirkle.com
Remarks
This object is included in Designing Audio Effects Plugins in C++ 2nd Ed. by Will Pirkle
Version
Revision : 1.0
Date
Date : 2018 / 09 / 7

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