Navigation
Unreal Engine C++ API Reference > Plugins > MIDIDevice > UMIDIDeviceManager
References
Module | MIDIDevice |
Header | /Engine/Plugins/Runtime/MIDIDevice/Source/MIDIDevice/Public/MIDIDeviceManager.h |
Include | #include "MIDIDeviceManager.h" |
Source | /Engine/Plugins/Runtime/MIDIDevice/Source/MIDIDevice/Private/MIDIDeviceManager.cpp |
UFUNCTION&40;BlueprintCallable, Category&61;"MIDI Device Manager"&41;
static UMIDIDeviceInputController &42; CreateMIDIDeviceInputController
&40;
const int32 DeviceID,
const int32 MIDIBufferSize
&41;
Remarks
Creates an instance of a MIDI device controller that can be used to interact with a connected MIDI device If everything goes okay, a valid MIDI device controller object will be returned. If anything goes wrong, a null reference will be returned.
Parameters
Name | Description |
---|---|
DeviceID | The ID of the MIDI device you want to talk to. Call "Find MIDI Devices" to enumerate the available devices. |
MIDIBufferSize | How large the buffer size (in number of MIDI events) should be for incoming MIDI data. Larger values can incur higher latency costs for incoming events, but don't set it too low or you'll miss events and your stuff will sound bad. |