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

Improvement to volume sampling in TIA audio #1038

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

JetSetIlly
Copy link
Contributor

volume of audio channels sampled every on every tick. sum of samples is averaged and a new sample output twice per scanline

this fixes issues with ROMs that change the volume of the audio multiple times per scanline. for example, the experimental ROM in the following thread now works correctly

https://forums.atariage.com/topic/370460-8-bit-digital-audio-from-2600/

(note that the ROM does not initialise the machine cleanly and so running the emulator with developer options (random memory etc.) can cause incorrect audio)

volume of audio channels sampled every on every tick. sum of samples is
averaged and a new sample output twice per scanline

this fixes issues with ROMs that change the volume of the audio multiple
times per scanline. for example, the experimental ROM in the following
thread now works correctly

https://forums.atariage.com/topic/370460-8-bit-digital-audio-from-2600/

(note that the ROM does not initialise the machine cleanly and so running
the emulator with developer options (random memory etc.) can cause
incorrect audio)
@JetSetIlly
Copy link
Contributor Author

This replaces a previous pull-request which was incomplete.

@thrust26 thrust26 merged commit e8a9fe2 into stella-emu:master Aug 7, 2024
3 checks passed
@thrust26 thrust26 self-assigned this Aug 7, 2024
@thrust26 thrust26 self-requested a review August 7, 2024 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants