Resampling and Solstice records

This is an archive of a topic from NESdev BBS, taken in mid-October 2019 before a server upgrade.
View original topic
Resampling and Solstice records
by on (#100827)
Hi, nesdev. I have an interesting question.
Why Retrocopy sounds much better than other emulators and even real chip(!), without a "ladder" effect?
Here is records from Solstice. It was done from Dendy with TA-03NP1-chip
Dendy TA-03NP1 (it doesn't have duty cycles bug)
Retrocopy, quality="HolyShit", cutoff="disabled"

And here is recordings from other emulators:
Nestopia
Nintendulator
puNES, quality="high"
Nesicide (1.020)

bsnes_ntsc_mode, resampler="sinc"
fceux_ntsc_mode, quality="highest"
rocknes_ntsc_mode
Re: Resampling and Solstice records
by on (#100829)
Well, right off the bat it starts with periodic noise, which is not really a fair sound to compare, since there is not really a way to initialize it predictably on hardware. Every playback is going to have a different tone. (Similarly, different emulators will probably start with it intialized differently.)

Other than the noise, what exactly are you comparing, and what do you like about Retrocopy, specifically? Also, what is a "ladder"?
Re: Resampling and Solstice records
by on (#100830)
Quote:
Also, what is a "ladder"?

First part of song recorded from real chip (with "ladder" effect), second part recorded from retrocopy (without "ladder").
http://www.fileden.com/files/2012/4/10/ ... adder.flac

I mean "Ladder" is discrete fading:
Image
Quote:
and what do you like about Retrocopy, specifically?

High-frequences are much clean and clear than other emulators have.
Re: Resampling and Solstice records
by on (#100837)
Oh, well, yes, the "ladder" style is how the hardware does it, though I'm not sure that really makes a whole lot of difference in the sound.

Still, periodic noise is the worst thing you can possibly be comparing between NES emulators and hardware, if you want to find out anything about what's going on. As I've said, the shape of the noise is random from moment to moment and can't be reliably set.

Many emulators (and the NES itself) have a lowpass filter dampening some of the higher frequency output from the 2A03. If you want to skip the filter, some players (e.g. NSFPlay) are configurable.
Re: Resampling and Solstice records
by on (#100839)
The difference there is the high pass filter used to remove any DC offset. The NES only had a single ended voltage supply, so the audio output was between 0 and 5 volts at all times. Most other equipment expects to receive a signal with no DC offset, so an RC high pass filter was used to eliminate the DC offset in the output signal.

Most emulators do things the same way, producing the audio signal as an unsigned number and then applying a simple single pole high pass filter to prevent popping sounds when stopping or starting games. This also means that it's simple to use a table to emulate the nonlinearity of the original NES DAC.

Retrocopy on the other hand seems to generate unsigned audio samples directly and doesn't use a high pass filter. This probably also means that it doesn't emulate the nonlinear DAC correctly, and the level of the DMC output won't affect the volume of the triangle channel the way it should. However it does sound "cleaner" than a real NES.

Compare the output in these 2 versions of my emulator (turn filtering on in the settings first).

http://code.google.com/p/halfnes/downlo ... 00.051.zip

http://code.google.com/p/halfnes/downlo ... 00.034.zip

The older version is the last one before I implemented the nonlinear DAC effect.
Re: Resampling and Solstice records
by on (#100843)
NSFPlay lets you turn off the highpass filter and the nonlinear DAC if you like (if you feel like making a quick comparison).

I don't think the highpass filter or using a signed square wave really makes that much of an audible difference, unless your highpass filter is fairly high (for DC filtering it doesn't need to be).

The signed square implementation probably results in quieter volume change noise (basically a very quiet 60hz hum during volume slides).

The nonlinear DAC makes a bigger difference, though mostly by affects the sound by the adjustment of triangle/noise/DMC volumes, as you mentioned, Grapeshot. It also colours the sound a little, but that's kinda subtle.