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

Add fixed octave for block+fnum systems #2324

Merged
merged 2 commits into from
Jan 28, 2025

Conversation

akumanatt
Copy link
Collaborator

This has been sitting for months now...

Allows forcing a block (octave) number to be a constant number regardless of pitch. This has a use mostly in SSG-EG where a constant envelope frequency is needed.
Requires an extra instrument field and a version number bump which is already done.

This isn't implemented in SAA1099, despite also being block+fnum system, as there are no benefits from it
@tildearrow tildearrow self-assigned this Jan 27, 2025
Copy link
Owner

@tildearrow tildearrow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are situations in where the user may desire changing the block through an effect. Accessing the instrument won't work in that case.

Since block is part of DivInstrumentFM, and every FM chip channel has a state member (which is a DivInstrumentFM), you can try using that instead.

Copy link
Owner

@tildearrow tildearrow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have made that change now - don't worry.
Merging...

@tildearrow tildearrow merged commit 24cffc5 into tildearrow:master Jan 28, 2025
5 checks passed
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.

2 participants