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

Smooth Volume Updating #2

Open
RubenSandwich opened this issue May 19, 2019 · 0 comments
Open

Smooth Volume Updating #2

RubenSandwich opened this issue May 19, 2019 · 0 comments

Comments

@RubenSandwich
Copy link
Owner

RubenSandwich commented May 19, 2019

Smooth volume updating & Add a buffer between "fever" states and idle states.

I tried to fix this issue by determining the volume to set on a logarithmic scale. (https://github.com/RubenSandwich/codeflow/blob/master/src/extension.ts#L137) However, the problem with that is logarithms can be quite steep to start out, so while the changes are "unnoticeable" while you're close to the max volume the first few changes can be quite drastic.

Overall I'm not super happy with the current strategy of adjusting the volume. (I'm gonna also do some research on how DJ software blends two tracks as I feel that might be helpful to this situation.) I also want to look into ways to make volume decay slower as well as we all take small pauses to think and that shouldn't be penalized. (What you better describe as fever states.)

(Taken from the advice of: @alkalinethunder)

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

No branches or pull requests

1 participant