Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
02080 Sound Minor Always Aug 3, 2008, 14:44 Jan 17, 2011, 17:39
Tester vidpro1 View Status Public Platform MAME (Official Binary)
Assigned To hap Resolution Fixed OS Windows XP/Vista 64-bit
Status [?] Resolved Driver
Version 0.126u3 Fixed in Version 0.141u1 Build I686
Fixed in Git Commit Github Pull Request #
Summary 02080: armedf: DAC Chip playing Orchestra Hit Sample too low
Description I own one of these PCBS and the orchastra hit sample in the 1st and last BGM levels is playing back at the wrong frequency in emulation.

My only guess to fix it is to have the source code handle the sample at a particular rom address to play it back properly.

ROM af_10.rom has the YM3812/Z80 sound data with the DAC samples in it.

I will attach a sound sample of what it is supposed to sound like @ 8KHz 8 bit.
Steps To Reproduce
Additional Information
Github Commit
Flags Verified with Original
Regression Version
Affected Sets / Systems armedf
Attached Files
wav file icon armedfohit.wav (4,372 bytes) Aug 3, 2008, 14:44
Relationships
related to 03253Resolvedhap  dangar and clones: All musics playing is always slow. 
Notes
5
User avatar
No.01915
Tafoid
Administrator
Aug 3, 2008, 17:51
edited on: Aug 3, 2008, 17:52
I've tried MAME to hear the sample in the first level to compare to the recording.. I couldn't recognize the orchestra hit in the music. In the service mode, your two tracks (level 1,6) are #48 and #53. Perhaps the default volume might be too low? Can anyone else hear the difference (or even find the DAC sample) in this game? Vidpro1 - if you could also record the MAME output of the orchestra hit, that would be useful.
User avatar
No.01916
Machone
Tester
Aug 3, 2008, 18:05
Yeah, I hear it. I turned the volume down for the YM3812 first though (which I suspect is too loud at present for this game, perhaps the OP could verify). The sample in MAME is playing as E flat at the moment, whereas the OP's sample is closer to an F.
User avatar
No.01917
Machone
Tester
Aug 3, 2008, 18:10
edited on: Aug 3, 2008, 18:11
Sound occurs a few seconds after you get to pick up the 'f' powerup at the start of the first level
User avatar
No.01918
Tafoid
Administrator
Aug 3, 2008, 18:12
Ok... adjusting FM down and putting the DAC's up made #48 (1st stage) orch hit much easier to listen to. Confirmed. Thanks!
User avatar
No.07095
hap
Developer
Jan 17, 2011, 14:03
edited on: Jan 17, 2011, 14:04
here's the cause:
MCFG_CPU_VBLANK_INT_HACK(irq0_line_hold,128)
in combination with 57hz refresh rate (probably should be 60)

I'll do a more proper implementation of it, after comparing with some cab videos on youtube.

(btw, attached file is just the sample from ROM played at 8khz: not actual pcb recording, real pcb is a bit less than 8khz i think)