[wdmaudiodev] Re: Maximum number of Windows MIDI drivers and / or ports.

  • From: "Pete Brown" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "Pete.Brown" for DMARC)
  • To: Chris Hubbard <chris@xxxxxxxxxxxxxxxxx>, "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Thu, 13 Dec 2018 08:42:35 +0000

[ don't recall if this list strips images or not. On the chance that it 
doesn't, bunch of screen shots follow. ]

For grins, just did another test. That Drivers32 entry shows only 10 items. 
Screen shot:

[cid:f9a2672c-75df-4f83-8eb0-126029c4caed]


But I have more than that available and working. They show up in MIDI-OX, 
Studio One, and other apps:

[cid:0bf01f51-cb3d-4874-bef2-0692059767f7]

I also see all of them in PowerShell, using the Windows 10 MIDI API (plus the 
BLE device, which isn't visible to the old API):

[cid:f40d4313-e5e0-4733-b66e-ba9587ff16c3]

TBH, I'm not sure what the registry folder is used for right now. I'd have to 
dig in with some folks more familiar with the guts of the midi and audio driver 
infrastructure.

Pete

Pete Brown – Microsoft Windows / PAX
@pete_brown<http://twitter.com/pete_brown> | 
SoundCloud<http://soundcloud.com/Psychlist1972> | 
YouTube<http://youtube.com/Psychlist1972> | 
Flickr<http://www.flickr.com/photos/psychlist1972/sets/>
________________________________
From: Pete Brown (WDG/PAX)
Sent: Wednesday, December 12, 2018 12:30 PM
To: Chris Hubbard; wdmaudiodev@xxxxxxxxxxxxx
Subject: Re: [wdmaudiodev] Re: Maximum number of Windows MIDI drivers and / or 
ports.

Heh. This is also for Windows 7, 8, 10, etc.

Agreed that we can't do anything regarding XP.

Pete

Pete Brown – Microsoft Windows / PAX
@pete_brown<http://twitter.com/pete_brown> | 
SoundCloud<http://soundcloud.com/Psychlist1972> | 
YouTube<http://youtube.com/Psychlist1972> | 
Flickr<http://www.flickr.com/photos/psychlist1972/sets/>
________________________________
From: wdmaudiodev-bounce@xxxxxxxxxxxxx <wdmaudiodev-bounce@xxxxxxxxxxxxx> on 
behalf of Matthew van Eerde <dmarc-noreply@xxxxxxxxxxxxx>
Sent: Wednesday, December 12, 2018 7:29 AM
To: wdmaudiodev@xxxxxxxxxxxxx; Chris Hubbard
Subject: [wdmaudiodev] Re: Maximum number of Windows MIDI drivers and / or 
ports.


I stopped reading at “XP”



Windows XP exited extended support in 2014



________________________________
From: wdmaudiodev-bounce@xxxxxxxxxxxxx <wdmaudiodev-bounce@xxxxxxxxxxxxx> on 
behalf of Pete Brown <dmarc-noreply@xxxxxxxxxxxxx>
Sent: Tuesday, December 11, 2018 5:47:21 PM
To: Chris Hubbard; wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Re: Maximum number of Windows MIDI drivers and / or 
ports.

From what I recall, XP, with all services packs, had a limit of 32 or so. After 
that, the limit for the number of ports was lifted. There used to be issues 
with unplugging and replugging devices using up another entry which resulted in 
even more limited number of ports in XP.

I've not looked in that specific reg entry to see what happens > 10. My PC 
currently has 8 MIDI devices attached. I've had more in the past, with a MOTU 8 
in/out interface, and multiple USB-connected controllers.

In any case, is this an actual kernel streaming driver, or is it a 
plugin/extension? Curious to know because the latter do not show up as 
endpoints in the Windows 10 MIDI API (which is now supported by JUCE, Cakewalk, 
and others, and is the only Windows MIDI API with built-in BLE MIDI support).

Not sure if Matthew has additional information here.

Pete

Pete Brown – Microsoft Windows / PAX
@pete_brown<https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Ftwitter.com%2Fpete_brown&data=02%7C01%7Cpete.brown%40microsoft.com%7C665aa8d3316c48e847f208d6602d7e06%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636802145865892157&sdata=9BF80vGI2h6HyzWUJNwpCz6IyC861CuzFNmmoYkOqQs%3D&reserved=0>
 | 
SoundCloud<https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsoundcloud.com%2FPsychlist1972&data=02%7C01%7Cpete.brown%40microsoft.com%7C665aa8d3316c48e847f208d6602d7e06%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636802145865902165&sdata=FZQw4y%2BctG1SiPGamMhJN1BiwqecmPUeNXVSe3bjH3g%3D&reserved=0>
 | 
YouTube<https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fyoutube.com%2FPsychlist1972&data=02%7C01%7Cpete.brown%40microsoft.com%7C665aa8d3316c48e847f208d6602d7e06%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636802145865902165&sdata=P0EiZo2OWC0gDIRj2GH2AN%2FB7%2F00I2ZIlrOwbEUSPbw%3D&reserved=0>
 | 
Flickr<https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.flickr.com%2Fphotos%2Fpsychlist1972%2Fsets%2F&data=02%7C01%7Cpete.brown%40microsoft.com%7C665aa8d3316c48e847f208d6602d7e06%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636802145865912178&sdata=qfkWbt9zoMJVeEmhO3NC8%2FeFgw%2BJ71%2B%2Fb5QHH9%2Fjx04%3D&reserved=0>
________________________________
From: Chris Hubbard <chris@xxxxxxxxxxxxxxxxx>
Sent: Tuesday, December 11, 2018 4:00 PM
To: Pete Brown (WDG/PAX); wdmaudiodev@xxxxxxxxxxxxx
Subject: Re: [wdmaudiodev] Maximum number of Windows MIDI drivers and / or 
ports.

Hi Pete,

I referring to the entries in the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32

Regarding Windows versions, I’m aiming to cover all versions from XP onwards.

Kind Regards,
Chris Hubbard,
CH Sound Design.
www.chsounddesign.com

Sent from my abacus.

From: Pete Brown (WDG/PAX)<mailto:Pete.Brown@xxxxxxxxxxxxx>
Sent: Wednesday, December 12, 2018 6:04 AM
To: Chris Hubbard<mailto:chris@xxxxxxxxxxxxxxxxx> ; 
wdmaudiodev@xxxxxxxxxxxxx<mailto:wdmaudiodev@xxxxxxxxxxxxx>
Subject: Re: [wdmaudiodev] Maximum number of Windows MIDI drivers and / or 
ports.

Is this on Windows 10?

Also, are you seeing those midi ports enumerated in the registry section for 
DirectMusic?

Pete

Pete Brown – Microsoft Windows / PAX
@pete_brown<https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Ftwitter.com%2Fpete_brown&data=02%7C01%7Cpete.brown%40microsoft.com%7C665aa8d3316c48e847f208d6602d7e06%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636802145865922178&sdata=qBm9YoQ1vjWiB1UfzHCnYCMUr7rd8Gy%2FJjpX1GDRujc%3D&reserved=0>
 | 
SoundCloud<https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsoundcloud.com%2FPsychlist1972&data=02%7C01%7Cpete.brown%40microsoft.com%7C665aa8d3316c48e847f208d6602d7e06%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636802145865922178&sdata=obbRObfajCg6D0kAZ7YBPs6b8ja30Dgn6jMp5UUOERI%3D&reserved=0>
 | 
YouTube<https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fyoutube.com%2FPsychlist1972&data=02%7C01%7Cpete.brown%40microsoft.com%7C665aa8d3316c48e847f208d6602d7e06%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636802145865932191&sdata=rPDBtmhrbyfVxIBc9sflXLCaaPp3JVM6%2FzyEFczczbs%3D&reserved=0>
 | 
Flickr<https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.flickr.com%2Fphotos%2Fpsychlist1972%2Fsets%2F&data=02%7C01%7Cpete.brown%40microsoft.com%7C665aa8d3316c48e847f208d6602d7e06%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636802145865942199&sdata=hXlImte18WWi0XOuPHVXjbnY%2BzCCV%2BL1LDrhiu0bLPg%3D&reserved=0>
________________________________
From: wdmaudiodev-bounce@xxxxxxxxxxxxx <wdmaudiodev-bounce@xxxxxxxxxxxxx> on 
behalf of Chris Hubbard <chris@xxxxxxxxxxxxxxxxx>
Sent: Tuesday, December 11, 2018 3:17 AM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Maximum number of Windows MIDI drivers and / or ports.

Hi All,

I wrote a user mode installable MIDI driver a while back, which seems to work 
well.

I’m now writing a “proper” installer for it, and one of the things the 
installer will need to do is add the appropriate registry entries.

Having had a look at the registry on my PC using RegEdit, there are a number of 
MIDI drivers listed of the form, “midi”, “midi1”, “midi2”, and so forth.

Is there an upper limit on this number?

Obviously I can’t re-use an existing number, but if there is an upper limit and 
all the numbers are taken, then I will need to abort the installation and alert 
the user.

Kind Regards,
Chris Hubbard,
CH Sound Design.
www.chsounddesign.com

Sent from my abacus.

PNG image

PNG image

PNG image

Other related posts: