Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

WindowsMidiMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class MIDI MBS Audio Plugin 6.1 No Yes No Yes, Windows only No
Function: 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

Feedback, Comments & Corrections

Sub classes:

Some examples which use this class:


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


WindowsMidiInputMBS   -   WindowsMidiOutputInfoMBS




Links
MBS Xojo Plugins