This page is a mirror of Tepples' nesdev forum mirror (URL TBD).
Last updated on Oct-18-2019 Download

Audio question

Audio question
by on (#233010)
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?
Re: Audio question
by on (#233012)
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.
Re: Audio question
by on (#233013)
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.
Re: Audio question
by on (#233014)
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.