HDK
|
#include <UT_Midi.h>
Public Member Functions | |
UT_Midi () | |
virtual | ~UT_Midi () |
UT_Midi (const UT_Midi &)=delete | |
UT_Midi & | operator= (const UT_Midi &)=delete |
virtual int | numInterfaces (int indevices) |
virtual const char * | interfaceName (int n, int indevices) |
virtual int | openPort (const char *portname, int read) |
virtual int | openFile (const char *filename, int read, fpreal start, fpreal end) |
virtual int | openFile (const char *filename, UT_Array< midiEvent > &events) |
void | closePort (int port) |
int | hasMidiInput (int port, uint64 up_to_time, UT_IntArray &channel) |
void | getMidiInput (int port, uint64 up_to_time, UT_Array< midiEvent > &midi_input, UT_IntArray &channel) |
int | sendMidiOutput (int port, UT_Array< midiEvent > &midi_output, int channel) |
void | clearQueue (int port) |
uint64 | getLastFileTime (int port) |
virtual uint64 | getTime (int port) |
virtual void | setTimerCallback (void(*callback)(void *)) |
virtual void | startRecordTimer (void *, int time) |
virtual void | stopRecordTimer (void *) |
void | setPrintMessage (int) |
virtual uint64 | markOffsetTime (int port) |
int | identifySysex (const char *, int len, float *value=0) |
void | printMessage (midiEvent *) |
int | printMessages () |
void | setBarMarkerMessage (const int *a) |
Protected Member Functions | |
virtual int | hasDeviceInput (int port, uint64 up_to_time, UT_IntArray &channel) |
int | hasFileInput (int port, uint64 up_to_time, UT_IntArray &channel) |
virtual void | getDeviceInput (int port, uint64 up_to_time, UT_Array< midiEvent > &midi_input, UT_IntArray &channel) |
void | getFileInput (int port, uint64 up_to_time, UT_Array< midiEvent > &midi_input, UT_IntArray &channel) |
virtual int | sendDeviceOutput (int port, UT_Array< midiEvent > &midi_output, int channel) |
int | sendFileOutput (int port, UT_Array< midiEvent > &midi_output, int channel) |
virtual void | clearDeviceQueue (int port) |
void | clearFileQueue (int port) |
virtual void | closeDevice (int port) |
void | closeFile (int port) |
Protected Attributes | |
int | myPrintMessageFlag |
uint64 | myLastTime |
UT_Midi::UT_Midi | ( | ) |
|
virtual |
|
delete |
|
protectedvirtual |
|
protected |
void UT_Midi::getMidiInput | ( | int | port, |
uint64 | up_to_time, | ||
UT_Array< midiEvent > & | midi_input, | ||
UT_IntArray & | channel | ||
) |
|
protectedvirtual |
|
protected |
int UT_Midi::hasMidiInput | ( | int | port, |
uint64 | up_to_time, | ||
UT_IntArray & | channel | ||
) |
|
protectedvirtual |
|
protected |