Skip to content

Add Wavetable constructor that performs per-table normalization#93

Open
CrushedPixel wants to merge 1 commit intoSamiPerttu:masterfrom
CrushedPixel:feat/per-table-normalization
Open

Add Wavetable constructor that performs per-table normalization#93
CrushedPixel wants to merge 1 commit intoSamiPerttu:masterfrom
CrushedPixel:feat/per-table-normalization

Conversation

@CrushedPixel
Copy link
Copy Markdown

This PR adds Wavetable::new_normalized that performs normalization for each generated table instead of applying uniform gain across all generated tables. Without this, wavetables that do not have a strong fundamental end up much quieter in high octaves compared to low octaves.

This is a comparison of the two constructors, playing C0, C1, C2, C3, C4 to compare:
Screenshot 2026-04-17 at 10 00 48

I am open to changing the name of this constructor function if you prefer.

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