kuma4649 / mml2vgm

GNU General Public License v3.0
106 stars 10 forks source link

Support OPX(YMF271) chip #87

Open denjhang opened 3 years ago

denjhang commented 3 years ago

Develop it when you have time

ghost commented 3 years ago

I'm not really sure if supporting OPX is currently a good idea, given the current existing emulation in MAME is in such catastrophic state that it sounds nothing like real HW. (Just listen to HW recordings from games like Desert War/Wangan Sensou and compare with emulation, the differences are almost night and day).

Personally, I would probably wait with support in mml2vgm until the emulation (Especially the FM emulation of that chip) has somewhat improved.

kuma4649 commented 3 years ago

OPX、SCSPなどは確かにまだ早いかもしれないですね。。。 まぁでも、リクエストとしては有りかなと思います。 私もあの音源を使えるようになったら楽しいだろうなと思いますので。

denjhang commented 3 years ago

I have collected a lot of information about OPX. I think this information is enough to develop mml driver. If necessary, I can send it to you separately.

kuma4649 commented 3 years ago

よろしくお願いします

denjhang commented 3 years ago

https://drive.google.com/file/d/1tb9oERVpjIfgWYwPNIQj6G5XB7KEylCo/view?usp=sharing

kuma4649 commented 3 years ago

途中まで対応してみましたけど、対応途中で不審な動きをされるとmml2vgm側の問題なのか、エミュレーション側の問題なのかわからなくなってしまい進むことができません。申し訳ありませんがこのままの状況にしておこうと思います。

musicalman commented 3 years ago

Hi, I just saw the experimental OPX support. I haven't used FM sound sources much so my knowledge is limited. But I'm still curious about it. Does OPX need additional MML commands? Are they documented? I will probably use PCM for the most part, and not use the FM part much. Does OPX support samples? If so, perhaps a demonstration gwi file should be included. Sorry for all the questions, I am just confused about what is currently supported.

kuma4649 commented 3 years ago

FMの音がちょっとでる。。ぐらいなのであまりお勧めしませんw

denjhang commented 3 years ago

Currently OPX does not have a vibrato effect, I try to adjust DT LFO AMS PMS These few parameters will not significantly improve the sound effect. test-OPX.zip

denjhang commented 3 years ago

'@ X4 001 "Gutiar" AR DR SR RR SL TL KS ML DT WF ACC FB LFO AMS PMS '@ 31 08 12 02 00 000 0 00 0 3 0 6 000 000 000 ;S1 '@ 31 00 15 07 15 030 0 01 0 0 0 0 000 000 000 ;S3 '@ 23 00 15 07 15 020 0 00 7 4 0 0 000 000 000 ;S2 '@ 31 00 15 07 00 000 0 00 0 2 0 0 000 000 000 ;S4 AL '@ 08