Jazz-Soft.net

We make it sound!

Home » Documentation » Jazz-Plugin » Reference » MidiInInfo()

MidiInInfo()

Function

MidiInInfo ( name ) or MidiInInfo ( index ) - get the input port name, manufacturer and driver version.

name / index is the same parameter as used in MidiInOpen().

This function is provided for better compatibility with the Web MIDI API specification.

Returns the array containing the output port name, manufacturer and driver version.

Depending on the operational system and/or the driver, manufacturer and version information may not always be available.

Example

var info=Jazz.MidiInInfo(0);
if(info.length>=3){
  alert("Name: "+info[0]+"\nManufacturer: "+info[1]+"\nVersion: "+info[2]);
}

See also