Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Beyblade V-Force - Ultimate Blader Jam (USA)" audio click/pops #356

Closed
clobber opened this issue Aug 22, 2016 · 3 comments
Closed

"Beyblade V-Force - Ultimate Blader Jam (USA)" audio click/pops #356

clobber opened this issue Aug 22, 2016 · 3 comments
Labels
hardware:audio Issues in the audio subsystem platform:GBA Game Boy Advance-related issues severity:minor bug Issues that only have a minor impact on the library
Milestone

Comments

@clobber
Copy link
Contributor

clobber commented Aug 22, 2016

mGBA 0.4.1, OS X 10.11

You can replicate this by loading the game, going to Options > Audio, turn down both the SFX and MUSIC and you will clearly hear the distortion. Wondering if this also happens on real hardware, so maybe someone can check it out with a flash cart.

@endrift
Copy link
Member

endrift commented Aug 24, 2016

This does not happen on hardware. This is almost certainly a timing issue with how samples are getting queued.

@endrift endrift added this to the 0.5.1 milestone Aug 24, 2016
@endrift endrift added severity:minor bug Issues that only have a minor impact on the library platform:GBA Game Boy Advance-related issues labels Aug 24, 2016
@endrift endrift modified the milestones: 0.5.1, 0.5.2 Sep 27, 2016
@endrift endrift added the hardware:audio Issues in the audio subsystem label Nov 3, 2016
@endrift endrift modified the milestones: 0.5.2, 0.6.0 Dec 31, 2016
@endrift endrift modified the milestones: 0.6.0, 0.6.1 Apr 22, 2017
@endrift endrift modified the milestones: mGBA 0.6.1, mGBA 0.6.2 Sep 21, 2017
@endrift endrift modified the milestones: mGBA 0.6.2, mGBA 0.7.0 Jan 15, 2018
@endrift endrift modified the milestones: mGBA 0.7.0, mGBA 0.7.1 Sep 29, 2018
@endrift endrift modified the milestones: mGBA 0.7.1, mGBA 0.7.2 Feb 25, 2019
@endrift endrift modified the milestones: mGBA 0.7.2, mGBA 0.8.0 May 25, 2019
@endrift endrift modified the milestones: mGBA 0.8.0, mGBA 0.9.0 Oct 5, 2019
@endrift
Copy link
Member

endrift commented Jan 25, 2020

Seems to be an issue with the timing of the audio DMAs; in mGBA, the audio DMA fires every 16 ticks of TM1, aligned to xxx0, but in no$gba (where the bug does not occur) it's closer aligned to xxx6. As a result, the final audio DMA reads one 16-byte segment more (for 16 more samples).

@endrift
Copy link
Member

endrift commented Feb 25, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hardware:audio Issues in the audio subsystem platform:GBA Game Boy Advance-related issues severity:minor bug Issues that only have a minor impact on the library
Projects
None yet
Development

No branches or pull requests

2 participants