Jazz-Soft.net
We make it sound!
Home » Documentation » Jazz-Plugin » Reference » MidiOutInfo()

MidiOutInfo()

Function

MidiOutInfo ( name ) or MidiOutInfo ( index ) - get the output port name, manufacturer and driver version.

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

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.MidiOutInfo(0);
if(info.length>=3){
  alert("Name: "+info[0]+"\nManufacturer: "+info[1]+"\nVersion: "+info[2]);
}

See also