midigamepad.lib.midi.input

Undocumented in source.

Members

Aliases

MidiInProc
alias MidiInProc = void function(HMIDIIN, uint, size_t, size_t, size_t)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.

Enums

MIDIDeviceType (from midigamepad.lib.midi.device)
enum MIDIDeviceType via public import midigamepad.lib.midi.device : MIDIDeviceInfo, MIDIDeviceType;

Type of a MIDI device

Functions

bootstrapMIDIInputDevice
bool bootstrapMIDIInputDevice(uint deviceID, MidiInProc callback, HMIDIIN handle, size_t callbackData)
bool bootstrapMIDIInputDevice(MIDIDeviceInfo di, MidiInProc callback, HMIDIIN handle, size_t callbackData)

Opens a handle for the specified MIDI input device and starts it

closeMIDIInputDevice
MMRESULT closeMIDIInputDevice(HMIDIIN handle)

Disposes the specified MIDI input device

getAllMIDIInputDevices
MIDIDeviceInfo[] getAllMIDIInputDevices()
getMIDIInputDeviceInfo
MIDIDeviceInfo getMIDIInputDeviceInfo(uint deviceID)
getMIDIInputDeviceName
string getMIDIInputDeviceName(MIDIINCAPS caps)
getMIDIInputDevicesCount
uint getMIDIInputDevicesCount()
getWinDeviceInfo
MIDIINCAPS getWinDeviceInfo(uint deviceID)
openMIDIInputDevice
MMRESULT openMIDIInputDevice(uint deviceID, MidiInProc callback, HMIDIIN handle, size_t callbackData)

Opens a handle for the specified MIDI input device

openMIDIInputDevice
MMRESULT openMIDIInputDevice(MIDIDeviceInfo di, MidiInProc callback, HMIDIIN handle, size_t callbackData)

ditto +

parseMIMDATA
MidiMessage parseMIMDATA(size_t param1)

Parses param1 of a MIM_DATA message

startMIDIInputDevice
bool startMIDIInputDevice(HMIDIIN handle)

Starts the MIDI input device which is represented by the passed handle

Imports

MIDIINCAPS (from core.sys.windows.mmsystem)
public import core.sys.windows.mmsystem : MIDIINCAPS, MMRESULT;
Undocumented in source.
MMRESULT (from core.sys.windows.mmsystem)
public import core.sys.windows.mmsystem : MIDIINCAPS, MMRESULT;
Undocumented in source.
MidiMessage (from dplug.client.midi)
public import dplug.client.midi : MidiMessage;
Undocumented in source.

Structs

MIDIDeviceInfo (from midigamepad.lib.midi.device)
struct MIDIDeviceInfo via public import midigamepad.lib.midi.device : MIDIDeviceInfo, MIDIDeviceType;

Represents a MIDI device

Meta