Platforms to show: All Mac Windows Linux Cross-Platform

WindowsMidiMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class MIDI MBS Audio Plugin 6.1 ❌ No ✅ Yes ❌ No ❌ No All
Windows Midi base class.
Example
dim midi as WindowsMidiMBS // your midi object

Sub Open()
dim i as WindowsMidiInputInfoMBS
dim o as WindowsMidiOutputInfoMBS
dim c,n as Integer

midi=new WindowsMidiMBS

c=midi.NumberOfMidiInputDevices-1

for n=0 to c
i=midi.InputDevice(n)

listbox1.AddRow str(n+1)
listbox1.Cell(listbox1.LastIndex,1)=i.Name
listbox1.Cell(listbox1.LastIndex,2)=hex(i.DriverVersion)

next

c=midi.NumberOfMidiOutputDevices-1

for n=0 to c
o=midi.OutputDevice(n)

listbox2.AddRow str(n+1)
listbox2.Cell(listbox2.LastIndex,1)=o.Name
listbox2.Cell(listbox2.LastIndex,2)=hex(o.DriverVersion)

next

End Sub

See also PortMidiMBS class for cross platform Midi handling.

Sub classes:

Some examples using this class:

Blog Entries


The items on this page are in the following plugins: MBS Audio Plugin.


WindowsMidiInputMBS   -   WindowsMidiOutputInfoMBS


The biggest plugin in space...