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

Unison as single voice #1422

Merged
merged 1 commit into from
Oct 15, 2024

Conversation

baconpaul
Copy link
Contributor

Unison used to be implemented in the voice manager as spanning voices but for a varieyt of reasons (including but not limited to polyphony) you kinda want them stacked before a single processor chain. So move Unison from voice-cretion to bundle-of-generators in-the-voice pattern.

Unison used to be implemented in the voice manager as spanning
voices but for a varieyt of reasons (including but not limited
to polyphony) you kinda want them stacked before a single processor
chain. So move Unison from voice-cretion to bundle-of-generators
in-the-voice pattern.
@baconpaul baconpaul merged commit fd88090 into surge-synthesizer:main Oct 15, 2024
12 checks passed
@baconpaul baconpaul deleted the unison-to-single-voice branch October 15, 2024 20:52
if (useOversampling)
for (auto i = 0; i < numGeneratorsActive; ++i)
GD[i].ratio = GD[i].ratio >> 1;
fpitch -= 69;
Copy link
Contributor

Choose a reason for hiding this comment

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

Correction factor or debug offset? 🤣

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It’s a 440 vs an 8.12 convention (which is a mess in surge because the function names are the same). But the same offset was in the single generator case outside the loop above

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