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 exponential control function to synthio.Envelope #9913

Open
d1ffeq-diy opened this issue Dec 25, 2024 · 0 comments
Open

Add exponential control function to synthio.Envelope #9913

d1ffeq-diy opened this issue Dec 25, 2024 · 0 comments

Comments

@d1ffeq-diy
Copy link

At the moment, synthio.Envelope creates Attack and Release slopes in a linear fashion, however due to logarithmic human perception of loudness, this doesn't sound as natural or musical as "logarithmic" (non-linear) envelopes do. That's why ADSR+VCA parts of synthesizers don't use linear response. Another example is Volume potentiometers in audio, typically logarithmic for better control.

What could work best in this case is 'exponential' flag for Envelope parameters, which is False by default and can be set to True for approximately log response.

Unfortunately, Note only accepts Envelope object as envelope parameter so there's no way to solve this currently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant