Skip to content

Volume slider response is linear #346

Description

@MathijsV

The default behaviour of the volume slider in jPlayer is linear. This results in the slider having nearly no effect in the "loud" end, while it is very sensitive in the "soft" end.

A much more natural behaviour is obtained by using a logarithmic slider, which is equally sensitive at each position. The logarithmic function can in this case also be approximated by using a fourth or fifth power. See this website for more background information on this subject.

I think it should be easy to implement, and the volume control will behave in a much more natural way.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions