Skip to content

Volume scale issue #3

@andyjenkinson

Description

@andyjenkinson

Hi,

I notice that the scale of the volume control is a bit odd when using the ALSA mixer to control the volume control of the Raspberry Pi's internal sound card. For me, almost all of the variability in audible volume occurs in the top 15% of the volume range, and it is also inconsistent with the volume reported through other applications like shairport (another component of pimusicbox, which is the context I am using mopidy in).

I believe this is due to a change to the way amixer reports volume in ALSA. The scale used by mopidy appears to be the one amixer uses, i.e. a simple linear scale of the raw values from the card. By contrast, alsamixer uses a scale that represents human perception volume instead (which I believe is more correct from a user-driven application like mopidy). See this thread for details:
https://bbs.archlinux.org/viewtopic.php?pid=1217759

I guess any change would need to be in the python alsa binding library.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: A PR with an enhancement or an issue with an enhancement proposal

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions