fbpx
Skip to main content

MIDI Forum

MIDI 2, detect inpu...
 
Notifications
Clear all

MIDI 2, detect input

5 Posts
3 Users
0 Reactions
6,362 Views
Vu
 Vu
Posts: 10
Active Member
Topic starter
 

Hello,

I have couple of questions, could some one please explain, point me out that would be greatly appreciated:

Using JavaScript and google-chrome:
1) How do I know what MIDI version (1 or 2) am I using? (maybe chrome browser will automatically using latest MIDI version 2?)

2) Is it possible to detect what type of midi-input are (e.g: is it MIDI Controller, or is it a Digital Piano) ? (for instance, I have been testing 2 of them: 1st one is M-AUDIO controller which had no sounds build in, 2nd one is Yamaha P515 Digital Piano that had sounds build in, let say if I connect only 1 of them to my PC, using JavaScript MIDI2, is it possible I can find out which one is being connected? (I can find out the manufacture name, but I need to know is it controller or digital piano..)?

Thank you for your time.
Vu.

 
Posted : 31/01/2021 5:48 pm
Mike Kent
Posts: 86
Trusted Member
 

MIDI 2.0 is not supported in the current versions of major operating system companies.

MIDI 1.0 has a "Device Inquiry" mechanism. You can send that to connected devices. There is no guarantee that the device will reply because it is mandatory, but if they do reply you can discover manufacture, model info, and more. See the MIDI 1.0 Detailed Specification here: https://www.midi.org/specifications/midi1-specifications

Chair of MIDI 2.0 Working Group

 
Posted : 31/01/2021 7:20 pm
Vu
 Vu
Posts: 10
Active Member
Topic starter
 

Thank you

 
Posted : 01/02/2021 7:52 am
Sema
 Sema
Posts: 182
Reputable Member
 

There is a database of the "Device Inquiry" responses: https://github.com/jazz-soft/JZZ-midi-Gear
You can add your instrument if it is not yet there.

 
Posted : 01/02/2021 7:54 am
Vu
 Vu
Posts: 10
Active Member
Topic starter
 

Thank you,

 
Posted : 01/02/2021 1:01 pm
Share: