MDPlayer icon indicating copy to clipboard operation
MDPlayer copied to clipboard

Adapt to Arduino OPL2/OPL3DUO (hardware playback VGM).

Open denjhang opened this issue 1 year ago • 3 comments

https://github.com/DhrBaksteen/ArduinoOPL2 Arduino OPL2 allows to use serial port to control YM3812 or YMF262, I hope vgmplay can adapt to this function. I made a USB-OPL3 based on Arduino OPL2, and currently I can use Dosbox-X+sbvgm to play music from OPL1/2/3. https://github.com/DhrBaksteen/ArduinoOPL2/blob/master/examples/OPL3Duo/SerialPassthrough/SerialPassthrough.ino https://github.com/DhrBaksteen/ArduinoOPL2/blob/master/examples/OPL2AudioBoard/SerialPassthrough/SerialPassthrough.ino

Currently I use SerialPassthrough.ino of OPL3DUO, compile these codes with arduino and upload them to arduino nano. After that I use dosbox-x and specify the port number (like com3) and I can use the actual opl3 hardware.

In addition to using dosbox-x to access opl3duo, you can also use opl3bankeditor https://github.com/Wohlstand/OPL3BankEditor

and an immature vgm player made by my friend. https://github.com/zhblue/OPL3USB/tree/main/vgmplay2usb

denjhang avatar Dec 04 '22 01:12 denjhang

これはMDPlayerとどのような関係がある話題でしょうか?

kuma4649 avatar Dec 04 '22 02:12 kuma4649

I personally think that hardware that uses serial ports to play VGMs (such as arduino opl2/opl3duo and retrowave opl3) are similar to SPFM and SCCI. So I hope MDPlayer can adapt to more methods of playing vgm using hardware.

denjhang avatar Dec 04 '22 04:12 denjhang

そうですか。 残念ながら今のところ新しいハードウェアに対応する予定はありません。

kuma4649 avatar Dec 04 '22 13:12 kuma4649