Audio question

Discuss technical or other issues relating to programming the Nintendo Entertainment System, Famicom, or compatible systems.

Moderator: Moderators

Post Reply
User avatar
never-obsolete
Posts: 403
Joined: Wed Sep 07, 2005 9:55 am
Location: Phoenix, AZ
Contact:

Audio question

Post by never-obsolete »

I'm using famitone2, and under normal circumstances I update the audio at the end of the NMI handler. There is one situation where the NMI has to finish before rendering starts.

Would it be ok to delay updating the audio until after scaline 40 on these frames? Would it cause any noticeable difference in the sound?
. That's just like, your opinion, man .
lidnariq
Posts: 10677
Joined: Sun Apr 13, 2008 11:12 am
Location: Seattle

Re: Audio question

Post by lidnariq »

There are very specific choices of audio where a delay of some many tens of microseconds on sequence data would be audible.

But they're pretty rare, almost to the point of counting as "specially constructed to be a problem"

It's worth pointing out that old-school MIDI can't turn on two notes any less than 640µs apart.
User avatar
dougeff
Posts: 2876
Joined: Fri May 08, 2015 7:17 pm
Location: DIGDUG
Contact:

Re: Audio question

Post by dougeff »

I think some poorly designed emulators might have an audible delay. But most of them, probably not.

I say this because I was testing a game on my phone, and I could hear random delays in audio. But I blame the emulator.
nesdoug.com -- blog/tutorial on programming for the NES
User avatar
rainwarrior
Posts: 8062
Joined: Sun Jan 22, 2012 12:03 pm
Location: Canada
Contact:

Re: Audio question

Post by rainwarrior »

never-obsolete wrote:I'm using famitone2, and under normal circumstances I update the audio at the end of the NMI handler. There is one situation where the NMI has to finish before rendering starts.

Would it be ok to delay updating the audio until after scaline 40 on these frames? Would it cause any noticeable difference in the sound?
As long as you don't miss a frame it should be fine.
Post Reply