How to remove noise from digitized samples?

Discuss NSF files, FamiTracker, MML tools, or anything else related to NES music.

Moderator: Moderators

User avatar
DRW
Posts: 2225
Joined: Sat Sep 07, 2013 2:59 pm

Re: How to remove noise from digitized samples?

Post by DRW »

Well, that sucks big time.
My game "City Trouble":
Gameplay video: https://youtu.be/Eee0yurkIW4
Download (ROM, manual, artworks): http://www.denny-r-walter.de/city.html
lidnariq
Posts: 11432
Joined: Sun Apr 13, 2008 11:12 am

Re: How to remove noise from digitized samples?

Post by lidnariq »

Anyway, I said that you could exchange the squeal at the Nyquist frequency with some other noise. Here's an example. You probably won't like it.
demo.ogg
(16.1 KiB) Downloaded 252 times
All I did was add -40dBFS blue noise¹ to your wav before converting it.
¹ specifically, -40dBFS white noise followed by a first-order highpass at 8kHz
User avatar
B00daW
Posts: 586
Joined: Thu Jan 03, 2008 1:48 pm

Re: How to remove noise from digitized samples?

Post by B00daW »

Being fairly experienced with NES/Famicom music I've run into this issue quite a few times.

My suggestion to you would be:
1.) Chop up the samples and leave the silence up to timing.
2.) While the samples are playing, have the noise channel playing long-pattern white noise at a relatively high frequency at a mid-grade to low volume.
User avatar
DRW
Posts: 2225
Joined: Sat Sep 07, 2013 2:59 pm

Re: How to remove noise from digitized samples?

Post by DRW »

B00daW wrote:While the samples are playing, have the noise channel playing long-pattern white noise at a relatively high frequency at a mid-grade to low volume.
Since I didn't do the soundtrack myself, but had a composer, and since I use FamiTone for the game itself and I therefore don't know much about all that stuff, can you please provide me an FTM file with an example of the noise channel making the sounds that you describe?
My game "City Trouble":
Gameplay video: https://youtu.be/Eee0yurkIW4
Download (ROM, manual, artworks): http://www.denny-r-walter.de/city.html
tepples
Posts: 22708
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Re: How to remove noise from digitized samples?

Post by tepples »

Noise channel, note C, volume 1. At least that's what Dance Aerobics appears to do.
User avatar
DRW
Posts: 2225
Joined: Sat Sep 07, 2013 2:59 pm

Re: How to remove noise from digitized samples?

Post by DRW »

Thanks.

In the meantime, I optimized my code and got a good amount of ROM space back. There's still one character to implement, but in the moment, I'm speculating on the possibility that I'll actually manage to include my sample with maximum quality.
My game "City Trouble":
Gameplay video: https://youtu.be/Eee0yurkIW4
Download (ROM, manual, artworks): http://www.denny-r-walter.de/city.html
Post Reply