Skip to content
Snippets Groups Projects
Verified Commit c5659974 authored by Ole Binder's avatar Ole Binder
Browse files

Chore: remove replaygain and amplify. #23

parent 8c6e1113
No related branches found
No related tags found
1 merge request!22Draft: Fix loudness #23
...@@ -81,7 +81,7 @@ def attach_fallback_source(main_stream) = ...@@ -81,7 +81,7 @@ def attach_fallback_source(main_stream) =
reload_mode="seconds" reload_mode="seconds"
) )
s = amplify(id="fallback_folder", 1., override="replay_gain", s) # s = amplify(id="fallback_folder", 1., override="replay_gain", s)
# s = replaygain(s) # s = replaygain(s)
s = source.on_track(id="fallback_folder", s, on_fallback_notify) s = source.on_track(id="fallback_folder", s, on_fallback_notify)
...@@ -108,7 +108,7 @@ def attach_fallback_source(main_stream) = ...@@ -108,7 +108,7 @@ def attach_fallback_source(main_stream) =
) )
# FIXME: this may be the cause for the fallback to be so loud. # FIXME: this may be the cause for the fallback to be so loud.
s = amplify(id="fallback_playlist", 1., override="replay_gain", s) # s = amplify(id="fallback_playlist", 1., override="replay_gain", s)
# s = replaygain(s) # s = replaygain(s)
s = source.on_track(id="fallback_playlist", s, on_fallback_notify) s = source.on_track(id="fallback_playlist", s, on_fallback_notify)
......
...@@ -33,15 +33,18 @@ end ...@@ -33,15 +33,18 @@ end
##################################### #####################################
# Create Sources # Create Sources
input_queue_raw_0 = request.queue(id="in_queue_0") # input_queue_raw_0 = request.queue(id="in_queue_0")
input_queue_raw_1 = request.queue(id="in_queue_1") # input_queue_raw_1 = request.queue(id="in_queue_1")
input_queue_0 = request.queue(id="in_queue_0")
input_queue_1 = request.queue(id="in_queue_1")
# Apply ReplayGain normalization, if metadata available # Apply ReplayGain normalization, if metadata available
#FIXME: this causes issues with the volume? #FIXME: this causes issues with the volume?
input_queue_0 = # input_queue_0 =
amplify(id="in_queue_0", 1., override="replay_gain", input_queue_raw_0) # amplify(id="in_queue_0", 1., override="replay_gain", input_queue_raw_0)
input_queue_1 = # input_queue_1 =
amplify(id="in_queue_1", 1., override="replay_gain", input_queue_raw_1) # amplify(id="in_queue_1", 1., override="replay_gain", input_queue_raw_1)
# See https://github.com/savonet/liquidsoap/discussions/2537 # See https://github.com/savonet/liquidsoap/discussions/2537
# input_queue_0 = replaygain(input_queue_0) # input_queue_0 = replaygain(input_queue_0)
# input_queue_1 = replaygain(input_queue_1) # input_queue_1 = replaygain(input_queue_1)
...@@ -64,7 +67,7 @@ server.register( ...@@ -64,7 +67,7 @@ server.register(
fun (s) -> fun (s) ->
begin begin
ignore(s) ignore(s)
clear_queue(input_queue_raw_0) clear_queue(input_queue_0)
"OK" "OK"
end end
) )
...@@ -79,7 +82,7 @@ server.register( ...@@ -79,7 +82,7 @@ server.register(
fun (s) -> fun (s) ->
begin begin
ignore(s) ignore(s)
clear_queue(input_queue_raw_1) clear_queue(input_queue_1)
"OK" "OK"
end end
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment