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

Correct envelope period for internal double-resolution. #1341

Merged
merged 1 commit into from
Feb 24, 2024

Conversation

TomHarte
Copy link
Owner

@TomHarte TomHarte commented Feb 24, 2024

Précis/reminder-to-self:

  • the AY does its envelopes with 16 levels of volume precision;
  • the YM doubles that to 32 levels;
  • my implementation use a half-a-real-AY internal clock divider so that it can generate the YM-style envelopes if asked;
  • it doubles the programmer-supplied tone and noise periods to make up the difference.

... but, here's the bug: it wasn't doubling the envelope period.

Fixed.

Affects #1339 and possibly resolves it. More testing to do.

@TomHarte TomHarte marked this pull request as ready for review February 24, 2024 20:36
@TomHarte TomHarte merged commit 0ee3b62 into master Feb 24, 2024
11 checks passed
@TomHarte TomHarte deleted the AYEnvelopePeriod branch February 24, 2024 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant