[ オリジナルレポート ]

BugID: #06931

カテゴリ 重要度 ステータス 解決状況 登録日時 最終更新
サウンド仮承認未処理2018-04-05 06:222018-06-13 12:45
 
テスターwuemura担当者 ソース
バージョン0.196発生バージョン0.113修正バージョン
修正コミットプルリク
フラグ
セット
セット詳細
 
概 要一部ドライバやマシンでのサウンドエンジンの不具合。
詳 細I've noticed some issues with some sound drivers and engine, some Yamaha ones to be specific. I've some samples that to me are the most obvious ones because it show heavy distortion, wrong timbre, some tones are played one or more octaves up or bellow, others fall short, some has decay or sustain issues, etc. In general we are talking about some sort of inaccuracy.

I don't have the original arcade but instead, I've the original sound chip YM2203 as a shield for Project Re:Birth, the player send the VGM data out and the sound chip reproduce it. Files named as "mame" come from mame vgmplay and files named "hardware" comes directly from the chip YM2203.

Argus hardware.m4a
Argus mame.m4a
This is from "Argus", the emulated sound has some clicks and pop's, maybe a lack of buffer? Possible buffer underrun?

citycon - hardware.m4a
citycon - mame.m4a
This sample comes from City Connection, is possible to notice a heavy distortion at high frequency, the emulations can't sustain the note like the hardware, the high frequency note has a ringing effect that gives the sound a texture MAME doesn't have.

Argus hardware 2.m4a
Argus mame 2.m4a
This other sample from Argus, show similar distortion at high frequency.

Another big issue with the MAME sound core has relation with the wav output, if you take any of this mame samples and open it with Audacity or any other audio editor, you'll notice that the waveform are malformed. To me looks like the wave is chopped off in half and 90º maybe 180º inverted. This happens with some FM/PSG Engines, sorry I don't have means to test all engines but is very easy to see.

Audacity manual say that the dark blue show the highest transient peak and light blue the average RMS (Root Mean Square).
https://manual.audacityteam.org/man/audacity_waveform.html

The waveforms clearly show that the somehow invert this values and are represented outside the 0.0 axis.

I'm including the City Connection Sound Block Schematics, a small fix for that schematic, there is a connection missing, also including the schematic for the YM2203 shield.

From what I've seen, this affects other machines that depend on some "YM" drivers, maybe if there is no one to look in to this, it would be a good idea to set this machines with IMPERFECT SOUND flag, so we can avoid future complains about it.

Thank you.
再現手順mame64 vmgplay
load the vgm file to play the song.
追加情報Re:Birth
http://ym2203.com/rebirth/?page_id=87

YM2203 Shield
http://ym2203.com/rebirth/?p=62

VGM player, software and schematics
http://ym2203.com/rebirth/?page_id=30

Main board and shields
https://www.kadenken.com/shopbrand/ct30/

FMGEM is a CPP FM Sound Engine, maybe MAME could use this as a 3rdparty, it will fix most of this issues if not all. (possible)
http://retropc.net/cisc/m88/download.html

GR Sakura project
http://gadget.renesas.com/en/product/sakura.html

GR Sakura, YM2203 chip tables, registers and initialization parameters.
http://licheng.sakura.ne.jp/fm_shield/FM_Shield_src_20140216.zip

Related?
http://mametesters.org/view.php?id=1066
http://mametesters.org/view.php?id=5972
http://mametesters.org/view.php?id=6923
http://mametesters.org/view.php?id=254
http://mametesters.org/view.php?id=3911
 
添付ファイルm4a fileArgus mame.m4a (2018-04-05 06:22)
m4a fileArgus hardware.m4a (2018-04-05 06:23)
m4a filecitycon - hardware.m4a (2018-04-05 06:23)
m4a filecitycon - mame.m4a (2018-04-05 06:24)
pdf fileCity Connection Sound block schematic.pdf (2018-04-05 06:25)
png filecitycon.png (2018-04-05 06:27)
pdf fileRE1-YM2203_REV_1_1_SCH.pdf (2018-04-05 06:27)
png filerobocop_waveform.png (2018-04-05 06:28)
png filePuyo_puyo.png (2018-04-05 06:31)
m4a fileArgus mame 2.m4a (2018-04-05 08:31)
m4a fileArgus hardware 2.m4a (2018-04-05 08:32)
m4a filemame112_fmonly.m4a (2018-06-13 12:43)
m4a filemame113_fmonly.m4a (2018-06-13 12:43)