[GH-ISSUE #17] How to turn off any normalisation? #10

Closed
opened 2026-02-28 14:24:40 +03:00 by kerem · 5 comments
Owner

Originally created by @phts on GitHub (Jan 14, 2024).
Original GitHub issue: https://github.com/devgianlu/go-librespot/issues/17

github.com/devgianlu/go-librespot@6e0c8b5c72/cmd/daemon/main.go (L282)

If it is set to 0 in the config, it will be still reset to 1 and will affect output volume. Right? So how to turn it off completely?

Originally created by @phts on GitHub (Jan 14, 2024). Original GitHub issue: https://github.com/devgianlu/go-librespot/issues/17 https://github.com/devgianlu/go-librespot/blob/6e0c8b5c724acf2209a71039ab87c0cdd1b86a88/cmd/daemon/main.go#L282 If it is set to 0 in the config, it will be still reset to 1 and will affect output volume. Right? So how to turn it off completely?
kerem 2026-02-28 14:24:40 +03:00
Author
Owner

@devgianlu commented on GitHub (Jan 14, 2024):

I have improved the situation by not doing that with 9226eef548, if you set 0 then it'll be 0. However that does not disable normalization as the formula here is still applied:

github.com/devgianlu/go-librespot@9226eef548/audio/metadata.go (L184-L192)

<!-- gh-comment-id:1891001945 --> @devgianlu commented on GitHub (Jan 14, 2024): I have improved the situation by not doing that with 9226eef548fb288c67fde22ba0254a95d051f428, if you set 0 then it'll be 0. However that does not disable normalization as the formula here is still applied: https://github.com/devgianlu/go-librespot/blob/9226eef548fb288c67fde22ba0254a95d051f428/audio/metadata.go#L184-L192
Author
Owner

@phts commented on GitHub (Jan 14, 2024):

@devgianlu Please take a look at #18

<!-- gh-comment-id:1891073042 --> @phts commented on GitHub (Jan 14, 2024): @devgianlu Please take a look at #18
Author
Owner

@devgianlu commented on GitHub (Jan 15, 2024):

By setting normalisation_disabled: true you should be good.

<!-- gh-comment-id:1891726806 --> @devgianlu commented on GitHub (Jan 15, 2024): By setting `normalisation_disabled: true` you should be good.
Author
Owner

@phts commented on GitHub (Jan 15, 2024):

@devgianlu and plz create new version

<!-- gh-comment-id:1891741156 --> @phts commented on GitHub (Jan 15, 2024): @devgianlu and plz create new version
Author
Owner

@devgianlu commented on GitHub (Jan 15, 2024):

@devgianlu and plz create new version

Just finished running: https://github.com/devgianlu/go-librespot/releases/tag/v0.0.11

<!-- gh-comment-id:1891748351 --> @devgianlu commented on GitHub (Jan 15, 2024): > @devgianlu and plz create new version Just finished running: https://github.com/devgianlu/go-librespot/releases/tag/v0.0.11
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#10
No description provided.