Skip to content

Smooth Volume Updating #2

@RubenSandwich

Description

@RubenSandwich

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions