WindowsMidiMBS class

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

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


💬 Ask a question or report a problem