It is currently Mon Feb 18, 2019 9:57 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Audio question
PostPosted: Mon Jan 28, 2019 9:39 am 
Offline
User avatar

Joined: Wed Sep 07, 2005 9:55 am
Posts: 356
Location: Phoenix, AZ
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 .


Top
 Profile  
 
 Post subject: Re: Audio question
PostPosted: Mon Jan 28, 2019 10:57 am 
Offline

Joined: Sun Apr 13, 2008 11:12 am
Posts: 8139
Location: Seattle
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.


Top
 Profile  
 
 Post subject: Re: Audio question
PostPosted: Mon Jan 28, 2019 11:05 am 
Offline
User avatar

Joined: Fri May 08, 2015 7:17 pm
Posts: 2437
Location: DIGDUG
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


Top
 Profile  
 
 Post subject: Re: Audio question
PostPosted: Mon Jan 28, 2019 11:18 am 
Offline
User avatar

Joined: Sun Jan 22, 2012 12:03 pm
Posts: 7210
Location: Canada
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: ericandrewlewis, Google Adsense [Bot] and 5 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