[PR #84] [MERGED] fix: map audio logarithmically, not linearly #196

Closed
opened 2026-02-28 14:26:12 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/devgianlu/go-librespot/pull/84
Author: @aykevl
Created: 9/8/2024
Status: Merged
Merged: 9/10/2024
Merged by: @devgianlu

Base: masterHead: logarithmic-volume


📝 Commits (1)

  • 82c358b fix: map audio logarithmically, not linearly

📊 Changes

1 file changed (+5 additions, -1 deletions)

View changed files

📝 output/driver_unix.go (+5 -1)

📄 Description

Audio is perceived by humans in a logarithmic way. For a good explanation, see:
https://www.dr-lex.be/info-stuff/volumecontrols.html#about
This PR fixes the volume slider to be logarithmic.

OS volume controls (PulseAudio etc) do something similar, for the same reason.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/devgianlu/go-librespot/pull/84 **Author:** [@aykevl](https://github.com/aykevl) **Created:** 9/8/2024 **Status:** ✅ Merged **Merged:** 9/10/2024 **Merged by:** [@devgianlu](https://github.com/devgianlu) **Base:** `master` ← **Head:** `logarithmic-volume` --- ### 📝 Commits (1) - [`82c358b`](https://github.com/devgianlu/go-librespot/commit/82c358b17e3f7bae1710217fd3f2ea6c49189e6b) fix: map audio logarithmically, not linearly ### 📊 Changes **1 file changed** (+5 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `output/driver_unix.go` (+5 -1) </details> ### 📄 Description Audio is perceived by humans in a logarithmic way. For a good explanation, see: https://www.dr-lex.be/info-stuff/volumecontrols.html#about This PR fixes the volume slider to be logarithmic. OS volume controls (PulseAudio etc) do something similar, for the same reason. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 14:26:12 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/go-librespot#196
No description provided.