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

Make volume synth's envelope use lag time #3332

Merged
merged 3 commits into from
Dec 11, 2017

Conversation

patrickdupuis
Copy link
Contributor

Fixes #3326.

The envelope used by the server's VolumeAmpControl synth needs to have it's attack and release times set equal to the lag time. This way, the server's volume will not suddenly jump to the new value when setting the volume to/from 0Db.

I think this is safe for 3.9, but I am OK with this being in 3.9.1.

@patrickdupuis patrickdupuis mentioned this pull request Dec 9, 2017
Copy link
Contributor

@mossheim mossheim left a comment

Choose a reason for hiding this comment

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

Thanks! Can go in 3.9 IMO

@mossheim mossheim added the comp: class library SC class library label Dec 9, 2017
@patrickdupuis
Copy link
Contributor Author

@snappizz the crossfade envelope now has a -4 curve. This is more perceptually correct?

@patrickdupuis patrickdupuis changed the title Volume synth envelope must use lag time Make volume synth's envelope use lag time Dec 10, 2017
@telephon
Copy link
Member

@patrickdupuis usually, I'd use a \sin curve for perceptually balanced crossfading.

@mossheim mossheim merged commit 8776795 into supercollider:3.9 Dec 11, 2017
@patrickdupuis
Copy link
Contributor Author

Thanks!

@patrickdupuis patrickdupuis deleted the topic/volumeLag branch December 11, 2017 03:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp: class library SC class library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants