kuma4649 / MDPlayer

GNU General Public License v3.0
124 stars 15 forks source link

FM musical instrument extraction format #83

Closed denjhang closed 3 years ago

denjhang commented 3 years ago

In the keyboard display window, is it possible to add the function of extracting general FM musical instrument formats, such as vopm, TFI, Y12, DMP, WOPN, wopl and so on? It will be convenient for people like me who like to compose music again.

kuma4649 commented 3 years ago

image

明けましておめでとうございます。 Y12、DMP、WOPNは無いです。仕様書がどこかにありますでしょうか。

kuma4649 commented 3 years ago

DMPは見つけました。これは対応できそうです。

kuma4649 commented 3 years ago

WOPNは仕様書いただくことができましたが、 見たところ、MDPlayerには向かないフォーマットでしたので代わりにOPNIフォーマットに対応させていただきます。

denjhang commented 3 years ago

Try this. Maybe OPLI format is suitable for OPL series VGM https://github.com/Wohlstand/OPL3BankEditor/tree/master/Specifications

denjhang commented 3 years ago

For OPL, these two formats can also be considered : SBI,INS

kuma4649 commented 3 years ago

STBL096にてdmp/opniに対応しました

kuma4649 commented 3 years ago

OPLIはできそうですが、SBI/INSとは?仕様がわからないと...

denjhang commented 3 years ago

http://www.shikadi.net/moddingwiki/IMF_Format http://www.shikadi.net/moddingwiki/CMF_Format http://www.shikadi.net/moddingwiki/SBI_Format http://www.shikadi.net/moddingwiki/AdLib_Instrument_Bank_Format

kuma4649 commented 3 years ago

ありがとうございます。一通り確認しました。 OPLの状況に詳しくないのですが、 一気にたくさん対応はするつもりはないです。 申し訳ないですが、今回はOPLIだけ追加させてください。

その他ご提示いただいたファイル対応は今後順々に様子を見ながら追加していこうと思います。

denjhang commented 3 years ago

With OPLI and OPNI, I'm very satisfied.

kuma4649 commented 3 years ago

OPLI対応ですが、手間取っています。。。

kuma4649 commented 3 years ago

STBL098にてOPLI対応しました。

denjhang commented 3 years ago

The sound of the exported opni instrument is abnormal and cannot be played back correctly in opn2 bank editor

denjhang commented 3 years ago

DMP is correctly identified and voiced

denjhang commented 3 years ago

Opli is correctly recognized and voiced, but when VGM uses 2x2op instruments, only two operators' instrument data can be extracted. If I want to reproduce the timbre on OPL3 bank editor, I need to extract it twice and merge instruments manually.

denjhang commented 3 years ago

The problem of opli seems to have a lot to do with OPL3 driver. The real 4op mode can extract the whole 4op instrument at one time without manual operation.

kuma4649 commented 3 years ago

OPLIに問題がありそうだというのはわかりました。 しかし詳細があなたの文章から読み取れていません。ごめんなさい。

もう少し具体的に示していただけますでしょうか。。。

denjhang commented 3 years ago

beat zero trimmed.zip

For example, there is an opna VGM file in the zip, but there is a problem in extracting opni musical instruments. It can't sound normally in the opn2 musical instrument editor. Other ym2612 or ym2151 VGM can extract DMP and make sound normally in bamboo tracker. However, the ssg-eg parameter of the instrument extracted by VGM in the zip package seems to be unnecessary. After removing the ssg-eg, it can make a correct sound. If the ssg-eg is not removed, the sound of the instrument is very strange.

denjhang commented 3 years ago

For OPL3, there are not so many problems. The extraction of opli is completely correct, and it can make sound correctly in OPL3 instrument editor. It's just that there are some small problems in the extraction of 2x2op and 4op instruments of OPL3. Here are several working modes of OPL3, which I can't make clear. There are two VGM / vgz files in the following zip package, which use 2x2op and 4op respectively.

2x2op and 4op ymf262.zip

kuma4649 commented 3 years ago

OPLIは問題なくてOPNIが問題なんですね?

denjhang commented 3 years ago

yes

denjhang commented 3 years ago

OPLI needs to be fixed

kuma4649 commented 3 years ago

OPNIの現象と原因確認できました。修正します。

kuma4649 commented 3 years ago

STBL099で対応しました。ご確認ください。

denjhang commented 3 years ago

OPNIとDMP形式で抽出した楽器はちょっと問題があります。楽器のSSG-EGパラメータが正しくありません。抽出されたssg-egの値は15ですが、実際には0です。

denjhang commented 3 years ago

There is a little problem with the instruments extracted from opni and DMP formats. The ssg-eg parameters of the instruments are not correct. The extracted SSG eg value is 15, but actually it should be 0

denjhang commented 3 years ago

It seems that only when extracting DMP/OPNI from OPN2/OPN2C VGM, there is no problem with OPM VGM.

denjhang commented 3 years ago

I found that this OPN2C VGM has problems in extracting OPNI and DMP.

[kuma4649 : すみません、06.New.Year.zip は削除させていただきました。]

kuma4649 commented 3 years ago

うわ、2612の修正が抜けてました。ありがとうございます。

denjhang commented 3 years ago

A new problem is found. No matter what the actual situation is,OPNI's AL= 0

kuma4649 commented 3 years ago

??

denjhang commented 3 years ago

To illustrate, I'll show you two screenshots, paying attention to the circled part. I extracted the opni format instruments of FM1 channel, and found that the al value was significantly different. 截图0103222734 截图0103222931

kuma4649 commented 3 years ago

おぉ!ありがとうございます。 確認します。

kuma4649 commented 3 years ago

STBL102で対応しました。ご確認ください!

kuma4649 commented 3 years ago

閉じます