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?
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.
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.
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.