0
\$\begingroup\$

I have a basic GamePort/MIDI cable like this: GamePort/MIDI cable

I was wondering if it is feasible to change this from working with a GamePort interface to working with a DB25 interface?

\$\endgroup\$
7
  • 1
    \$\begingroup\$ Not without a pinout. \$\endgroup\$ Commented Sep 29, 2013 at 21:05
  • 1
    \$\begingroup\$ The pinout is standardized. \$\endgroup\$
    – Dave Tweed
    Commented Sep 29, 2013 at 22:14
  • 1
    \$\begingroup\$ Joystick Port has 15 pins and not 25, so it is DB15 interface. \$\endgroup\$
    – Turbo J
    Commented Sep 29, 2013 at 22:31
  • \$\begingroup\$ @DaveTweed: For the 25-pin connector. \$\endgroup\$ Commented Sep 29, 2013 at 23:10
  • \$\begingroup\$ @TurboJ: Technically, it's a DA15 connector; the second letter indicates the shell size (DB25, DA15, DE9, etc.) \$\endgroup\$
    – Dave Tweed
    Commented Sep 30, 2013 at 0:14

2 Answers 2

2
\$\begingroup\$

On PCs whose game ports support MIDI, there is a dedicated UART that is set to the MIDI data rate of 31.25 kbps.

In order to do MIDI on a regualar COM port, you would have to deal with two issues: the nonstandard data rate (for a COM port) and the electrical interface, which is RS-232 instead of the MIDI current loop interface.

\$\endgroup\$
1
  • \$\begingroup\$ All SuperI/O chips whose datasheet I've seen allow to configure the COM UARTs to use 31.25 kbps (but this is of course not standardized and would require hardware-specific changes to the OS driver). The gameport's MIDI pins use TTL 5V logic levels and expect the adapter to implement the current loop. \$\endgroup\$
    – CL.
    Commented Sep 30, 2013 at 7:22
0
\$\begingroup\$

Possible? yes Easy? no

If your DB25 connector is a serial port you have two problems.

One is that the data rate for midi doesn't match the standard data rates for a PC UART. So you either have to figure out how to run the UART at a non-standard rate or build a rate-converter.

The second is that there are no power pins on the PC serial port. This can be worked around by taking power from the data lines.

If your DB25 connector is a paralell port then you will almost certainly need some serial to paralell conversion circuitry and again the lack of power pins is an additional complication.

And of course you will need to write drivers that know how to talk to your adaptor and present it as a MIDI interface to the OS>

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.