It is currently Sat Aug 19, 2017 8:07 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Fri Oct 30, 2015 11:14 am 
Offline
User avatar

Joined: Wed Oct 28, 2015 8:37 am
Posts: 3
Location: Providence, Rhode Island, USA
I know the NSFPlay default setting is pretty accurate for when an NES is connected through AV but how did an original Famicom sound? From what I've read, including this thread, the Famicom had a slightly muffled sound with higher bass (example). I want to have a playlist of both NES and Famicom songs that sound accurate so I've been testing some different settings. Back in the early 90s I used my NES with an RF connector and it sounded good to my ears. I know RF always gives a hiss but you only hear that in silence. This settings sound like what in my head an 80s system hooked up through RF would sound like. I adjusted the Famicom setting a bit and moved up the APU2 and VRC6 a bit for higher bass.

Legend of Zelda / Legend of Zelda
Lifeforce
Super Mario Bros. 3 / Super Mario Bros. 3
Akumajou Densetsu / Akumajou Densetsu
Mother / Mother
DuckTales / DuckTales

I could be wrong so I wonder if any of you that have played an original, unmodded Famicom could listen to the samples and see which way to go to make it more accurate. I'd appreciate any advice. Thank you.


Last edited by Devarika Woulf on Sat Oct 31, 2015 8:24 am, edited 1 time in total.

Top
 Profile  
 
PostPosted: Fri Oct 30, 2015 12:09 pm 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 18798
Location: NE Indiana, USA (NTSC)
For what it's worth, my front-loading NES sounds muffled with more bass through RF compared to AV. Perhaps I need to write something that outputs pink (1/f) noise through $4011 for calibrating EQ.


Top
 Profile  
 
PostPosted: Fri Oct 30, 2015 2:14 pm 
Offline
User avatar

Joined: Sun Jan 22, 2012 12:03 pm
Posts: 5537
Location: Canada
I said most of this already in the e-mail, but probably worth repeating here because others might have some input on it.

The relative balance between APU1 and APU2 is different from machine to machine. This isn't a really a Famicom vs NES thing, but random variation between machines manufactured to loose tolerances. Similarly, if you're adjsting VRC6, the expansion volume is different from cartridge to cartridge, which I think have even looser tolerances than the consoles. Adjusting these is more about "taste" than "accuracy". The RF process does not adjust these relative volumes, this mixing happens in the machine before the RF stage. If we want to accurately reflect RF output, what we really need is a post-processing filter on the emulated signal.

The RF output itself is difficult to characterize. It should be equivalent to some series of filters on the original signal, most prominently there is a strong lowpass, but I don't really have much more advice than that. If someone with an electrical engineering background could explain what an ideal RF demodulator filter should look like, that would be a really good start, I think.

I might try recording RF demodulated output from a television that has external audio, but there's a problem here that most TVs seem to add their own separate colouration to the audio (often they have their own EQ settings). Trying to nail down what an "average" NES or Famicom sounds like is a bad enough problem before you get to RF output, but trying to deal with variation between TVs on top of that makes it so variable I don't know where to begin. If we're talking about your experience playing it through a TV speaker, that's yet another device adding its own colour and variation to the sound, and that's a hella strong modifier.

Like, for the "example" video you posted, we're looking at Famicom + RF modulator + RF demodulator + TV processing + TV speaker + Reflections from the room + Camcorder microphone. There's no way I could even guess what all of those things have done to the signal in anything more than a vague way. I think if you're experiencing a bass-boost, it's probably just the TV; from my experience the RF process itself seems to have a strong high-cut and a weak low-cut (or conversely a mid-boost?), but I'm lacking proper sources of information here.


Currently the best I'd suggest with NSFPlay to simulate RF is just to increase the lowpass strength until it sounds as dull as you think it should be.

I've been wanting to add a bit more comprehensive post-processing to NSFPlay, possibly more filters than just the simple highpass/lowpass (e.g. bass boost if you want it), maybe a compressor or nonlinear distortion of some sort too. Something for me to work on when I do the next version... maybe I'll make and record some frequency sweep NSFs to try and get some real examples I can analyze.


Top
 Profile  
 
PostPosted: Fri Oct 30, 2015 3:06 pm 
Offline

Joined: Sun Apr 13, 2008 11:12 am
Posts: 6033
Location: Seattle
rainwarrior wrote:
I might try recording RF demodulated output from a television that has external audio, but there's a problem here that most TVs seem to add their own separate colouration to the audio (often they have their own EQ settings).
Maybe find a VCR or DVD recorder with RF in and A/V out? Alternatively, this might be a good use for one of the RTL2832U software-defined radios, so that one could directly record the modulated audio band. (Channel 3 and 4 audio are at 65.75MHz and 71.75MHz)

rainwarrior wrote:
The RF output itself is difficult to characterize. It should be equivalent to some series of filters on the original signal, most prominently there is a strong lowpass, but I don't really have much more advice than that. If someone with an electrical engineering background could explain what an ideal RF demodulator filter should look like, that would be a really good start, I think.
I've studied how the modulators work. Unfortunately, I never seriously looked at how the demodulator works. This seems to be a good source, at least for me. There aren't really any intrinsic and non-varying filter constraints, though. The simpler designs involve watching the amplitude of the demodulation change as a function of the gain of a resonant circuit, but we haven't apparently used those designs for decades, now.

FM audio, both in radio and NTSC TV, is supposed to have 75µs pre-emphasis applied. It doesn't look like the right highpass filter is present in the NES's RF modulator, but I can't tell. However, the TV's RF demodulator should include a de-emphasis filter that decreases the volume of higher frequencies; this deemphasis is a 1st-order lowpass with a corner frequency of 2.1kHz.


Top
 Profile  
 
PostPosted: Fri Oct 30, 2015 3:38 pm 
Offline
User avatar

Joined: Sun Jan 22, 2012 12:03 pm
Posts: 5537
Location: Canada
lidnariq wrote:
FM audio, both in radio and NTSC TV, is supposed to have 75µs pre-emphasis applied. It doesn't look like the right highpass filter is present in the NES's RF modulator, but I can't tell. However, the TV's RF demodulator should include a de-emphasis filter that decreases the volume of higher frequencies; this deemphasis is a 1st-order lowpass with a corner frequency of 2.1kHz.


Hmm, that's interesting. So is the usual dullness of NES audio through RF due to a lack of pre-emphasis, rather than a limitation of RF technology itself?


Top
 Profile  
 
PostPosted: Fri Oct 30, 2015 3:57 pm 
Offline

Joined: Sun Apr 13, 2008 11:12 am
Posts: 6033
Location: Seattle
If my interpretation is right, and I'm not confident I am, then it would describe what we're hearing.

But at least when I look at the RF path in the Mitsumi modulator: http://console5.com/wiki/File:NES-001-S ... Switch.png I don't think I see one. The only possible audio preemphasis would be the seven components in the center (including the 5600Ω resistor, the transformer EK522, the 2SC1740 NPN BJT and 820Ω resistor, as well as three anonymous capacitors) ... and that doesn't look right to me.

The seven components in the center actually look like a lowpass (the BJT, two capacitors, and resistor, should have gain=1 at DC but gain=the ratio of capacitances at high frequency; the corner frequency is determined by the value of those capacitors) followed by a highpass (the 5.6kΩ resistor and its capacitor), which I don't think works out to be the "treble boost" pre-emphasis is supposed to seem like.


Top
 Profile  
 
PostPosted: Sat Oct 31, 2015 6:14 am 
Offline
User avatar

Joined: Wed Oct 28, 2015 8:37 am
Posts: 3
Location: Providence, Rhode Island, USA
Thanks for the replies, guys. Very helpful. :lol:

rainwarrior wrote:
I said most of this already in the e-mail, but probably worth repeating here because others might have some input on it.

The relative balance between APU1 and APU2 is different from machine to machine. This isn't a really a Famicom vs NES thing, but random variation between machines manufactured to loose tolerances. Similarly, if you're adjsting VRC6, the expansion volume is different from cartridge to cartridge, which I think have even looser tolerances than the consoles. Adjusting these is more about "taste" than "accuracy". The RF process does not adjust these relative volumes, this mixing happens in the machine before the RF stage. If we want to accurately reflect RF output, what we really need is a post-processing filter on the emulated signal.


Thanks for the email. Your response and that thread I linked too was enough for the NES settings but it got me thinking about what those young Japanese kids listened to from 1983 on. I did think adjusting the bass might not be accurate...I really love the NES bass; it's addicting :mrgreen: but I'm aiming for a somewhat accurate sound.

Quote:
I might try recording RF demodulated output from a television that has external audio, but there's a problem here that most TVs seem to add their own separate colouration to the audio (often they have their own EQ settings). Trying to nail down what an "average" NES or Famicom sounds like is a bad enough problem before you get to RF output, but trying to deal with variation between TVs on top of that makes it so variable I don't know where to begin. If we're talking about your experience playing it through a TV speaker, that's yet another device adding its own colour and variation to the sound, and that's a hella strong modifier.


True. I am trying to find an average middle ground of the Famicom itself and less the speakers, but I guess as of now that's up to each individual to determine. Me, I'm actually trying to remember what games sounded like over 20 years ago. I remember Super Mario Bros. 3 more than anything else and these settings I have here remind me of playing the NES on my Mono TV around 1991. I'm 28 now so it's been a while, ha! :shock:

Quote:
Like, for the "example" video you posted, we're looking at Famicom + RF modulator + RF demodulator + TV processing + TV speaker + Reflections from the room + Camcorder microphone. There's no way I could even guess what all of those things have done to the signal in anything more than a vague way. I think if you're experiencing a bass-boost, it's probably just the TV; from my experience the RF process itself seems to have a strong high-cut and a weak low-cut (or conversely a mid-boost?), but I'm lacking proper sources of information here.

Currently the best I'd suggest with NSFPlay to simulate RF is just to increase the lowpass strength until it sounds as dull as you think it should be.

I've been wanting to add a bit more comprehensive post-processing to NSFPlay, possibly more filters than just the simple highpass/lowpass (e.g. bass boost if you want it), maybe a compressor or nonlinear distortion of some sort too. Something for me to work on when I do the next version... maybe I'll make and record some frequency sweep NSFs to try and get some real examples I can analyze.


That video was just some random thing I found as it's somewhat hard to find Famicom videos using RF. It did sound like the descriptions of a typical connection, though. From the default setting, I adjusted the lowpass and left the APU2 and VRC6 alone. I put it on the fifth point but it still sounded clean. I remembered the slight hiss RF gives (from using a VCR several years ago) and went one past. For what it is by memory, it sounds good. Anymore past that though and it affects the quality.

There's nothing that simulates RF hiss so that may be cool to include in future releases; something like "Analog Simulation" included in SNESAmp. The truth of why I'm trying to get accurate is besides personal interest, I plan on uploading to YouTube various video game soundtracks that sound as close as possible to the real thing. Most uploads on YouTube, besides being of atrocious quality, aren't very accurate with their settings or song length so I have some ideas to capsule the hard work those composers did and teach the younglings. Any additions to future NSFPlay updates would be great but it's fine for how it is now. Plan to start uploading soon enough. :D

Contra / Super Mario Bros. 3 / Akumajou Densetsu / Batman / Duck Tales / Battletoads

Attachment:
NSFPlay.png
NSFPlay.png [ 145.64 KiB | Viewed 1762 times ]


Top
 Profile  
 
PostPosted: Mon Mar 27, 2017 8:49 pm 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 18798
Location: NE Indiana, USA (NTSC)
tepples wrote:
For what it's worth, my front-loading NES sounds muffled with more bass through RF compared to AV. Perhaps I need to write something that outputs pink (1/f) noise through $4011 for calibrating EQ.

Over the past few hours, based on a request here, I implemented the Voss-McCartney algorithm to do just that.

I've attached the source code and ROM file of a pink noise generator, which I approximately verified as such by generating a wav file in FCEUX for Windows and analyzing it in Audacity. It also has a sine sweep generator; can anyone explain why it sounds so aliased?


Attachments:
eq-0.01.zip [18.33 KiB]
Downloaded 31 times
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group