Tricky-to-emulate sound stuff from games?
Moderator: Moderators
Tricky-to-emulate sound stuff from games?
Many APU-related things aren't program-visible and don't have test ROMs (afaik), so some examples of tricky-to-emulate sound stuff from games would be nice as a reference to see if you've gotten things right. Trickiness isn't really a prerequisite I guess, as long as it makes a good test.
Got anything?
Got anything?
- cpow
- NESICIDE developer
- Posts: 1097
- Joined: Mon Oct 13, 2008 7:55 pm
- Location: Minneapolis, MN
- Contact:
Re: Tricky-to-emulate sound stuff from games?
There are various games that Eugene.S has pointed out over time that sounded like shit in my emulator.ulfalizer wrote:Many APU-related things aren't program-visible and don't have test ROMs (afaik), so some examples of tricky-to-emulate sound stuff from games would be nice as a reference to see if you've gotten things right. Trickiness isn't really a prerequisite I guess, as long as it makes a good test.
Got anything?
Overlord (intro)
Solstice (first level)
Akumajou Densetsu VRC6 (DMC popping)
Power Blade: Sector 2. Strange Hi-freqs, Sector 5. Pitch of squares and triangle sweeps during tune (especially intro and ending...)
There were a few others but I don't feel like dredging the threads at the moment. Search for Eugene.S author and "NESICIDE". He's usually pretty descriptive about what's wrong.
Re: Tricky-to-emulate sound stuff from games?
Dr. Mario. If the "drop" sound effect goes for too long, you aren't shutting off the channel when the period gets too high. (nsfplug fails at this)
Streemerz, it tests the ability for the sweep unit to change the high bytes of the period.
Quattro Adventure - Treasure Island Dizzy. Opening song will have glitches if emulated improperly.
Streemerz, it tests the ability for the sweep unit to change the high bytes of the period.
Quattro Adventure - Treasure Island Dizzy. Opening song will have glitches if emulated improperly.
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!
Re: Tricky-to-emulate sound stuff from games?
Skate or Die 2: The Search for Double Trouble. It tests whether $4011 writes do anything. The NSF format wasn't designed for an execution model useful for timed writes to $4011, and PocketNES doesn't implement $4011.
I didn't mention that game.
I didn't mention that game.
- rainwarrior
- Posts: 8734
- Joined: Sun Jan 22, 2012 12:03 pm
- Location: Canada
- Contact:
Re: Tricky-to-emulate sound stuff from games?
Some of Zelda 2's sound effects are very good for testing your sweeps.
Re: Tricky-to-emulate sound stuff from games?
Thanks for the examples so far!
Mega Man 5's explosions were mentioned in #nesdev.
Mega Man 5's explosions were mentioned in #nesdev.
- rainwarrior
- Posts: 8734
- Joined: Sun Jan 22, 2012 12:03 pm
- Location: Canada
- Contact:
Re: Tricky-to-emulate sound stuff from games?
Old NSFPlug, or the current version? If the current version, could you tell me the track of the NSF it's failing on? (Seems to be fine in my tests.)Dwedit wrote:Dr. Mario. If the "drop" sound effect goes for too long, you aren't shutting off the channel when the period gets too high. (nsfplug fails at this)
Re: Tricky-to-emulate sound stuff from games?
Apparently, a really old version with a modification date from 2006. Crazy stuff happens when you hard drive goes back in time 6 months. Works fine in the current version.
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!
- Hamtaro126
- Posts: 818
- Joined: Thu Jan 19, 2006 5:08 pm
Re: Tricky-to-emulate sound stuff from games?
Hebereke (Ufouria) - Some Sound Effects sound very wonky if using old players, I remember it very noticably in NESTicle back when I still used it!
AKA SmilyMZX/AtariHacker.
Re: Tricky-to-emulate sound stuff from games?
That base from the Overlord intro sounds really cool btw. Do you get that sound just by setting the triangle to a low frequency, or is there more to it?
Wasn't expecting to find awesome music through this thread.
Wasn't expecting to find awesome music through this thread.
Re: Tricky-to-emulate sound stuff from games?
Sounds like he made up for the triangle's lack of volume register by using a rapid jump down two octaves (something like a [+24 +19 +12 +7 |0] semitone envelope). The rest of it is just how delightfully crunchy the triangle wave is normally.
Tangentially, man, is Jeroen Tel good.
Tangentially, man, is Jeroen Tel good.
Re: Tricky-to-emulate sound stuff from games?
Done entirely with the triangle channel. There is some drum effects by playing arpeggios, then after that, there's a vibrato in there too. At low frequencies, the stairstep part of the wave which is 16x the frequency of the note will become an audible high note. The kick drums done in the triangle channel are masterfully done here.
Look at them in NSFImporter, wonderful stuff here, I might have to steal these.
Look at them in NSFImporter, wonderful stuff here, I might have to steal these.
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!
Re: Tricky-to-emulate sound stuff from games?
I'm guessing getting it to sound decent requires generating the correct stair-step triangle shape so you get the right overtone (not any triangle will do). Maybe it should be added to the tricky-to-emulate games page if that is correct.
I'm doing easy/slow per-cycle sample generation, and it sounds nice in my emu.
I'm doing easy/slow per-cycle sample generation, and it sounds nice in my emu.
- rainwarrior
- Posts: 8734
- Joined: Sun Jan 22, 2012 12:03 pm
- Location: Canada
- Contact:
Re: Tricky-to-emulate sound stuff from games?
The 16-step triangle is important to the triangle sound in every game, not just this one. Is there anything particular you think was hard to emulate in this one game?
Re: Tricky-to-emulate sound stuff from games?
If the triangle channel is implemented using just a 4-bit DAC, it should sound right regardless. There might be some funny edge cases if someone makes the 32-step sequence go 1,0,1…15,16,15… instead of 1,0,0,1…14,15,15,14… but I strongly suspect that won't be audible.ulfalizer wrote:I'm guessing getting it to sound decent requires generating the correct stair-step triangle shape so you get the right overtone (not any triangle will do).
(Yes, I know 16 doesn't fit in a 4 bit DAC)