From: Guillaume Pellerin Date: Mon, 9 Jun 2025 06:23:53 +0000 (+0200) Subject: gain > volume X-Git-Tag: 4.1.1~2 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=b8f5b89272bcf01a6b795b41e5f118f26cbb2e1f;p=telecaster-server.git gain > volume --- diff --git a/bin/streaming/telecaster.py b/bin/streaming/telecaster.py index 183222c..9f02611 100755 --- a/bin/streaming/telecaster.py +++ b/bin/streaming/telecaster.py @@ -19,9 +19,9 @@ VIDEO_PIPELINE_BASE="""{video_source} {video_options} \ ! muxout. \ {audio_source} {audio_options} client-name="webm_streaming_{id}_audio" ! audio/x-raw, format=F32LE, channels={channels} \ ! queue ! audiocheblimit mode=high-pass cutoff=120 poles=4 \ - ! queue ! volume volume={gain_pre} \ + ! queue ! volume volume={volume_pre} \ ! queue ! audiodynamic characteristics=soft-knee mode=compressor threshold=0.125 ratio=0.125 \ - ! queue ! volume volume={gain_post} \ + ! queue ! volume volume={volume_post} \ ! queue ! audiodynamic characteristics=hard-knee mode=compressor threshold=0.95 ratio=0.001 \ ! queue ! audioconvert \ ! queue ! opusenc bitrate={opus_bitrate} \ @@ -33,9 +33,9 @@ VIDEO_PIPELINE_BASE="""{video_source} {video_options} \ AUDIO_PIPELINE_BASE="""{audio_source} {audio_options} client-name="mp3_streaming_audio" \ ! audio/x-raw, format=F32LE, channels={channels} \ ! queue ! audiocheblimit mode=high-pass cutoff=120 poles=4 \ - ! queue ! volume volume={gain_pre} \ + ! queue ! volume volume={volume_pre} \ ! queue ! audiodynamic characteristics=soft-knee mode=compressor threshold=0.125 ratio=0.125 \ - ! queue ! volume volume={gain_post} \ + ! queue ! volume volume={volume_post} \ ! queue ! audiodynamic characteristics=hard-knee mode=compressor threshold=0.95 ratio=0.001 \ ! queue ! audioconvert \ ! queue ! lamemp3enc quality={mp3_quality} \ diff --git a/etc/telecaster/telecaster.yml b/etc/telecaster/telecaster.yml index 338112f..5088954 100644 --- a/etc/telecaster/telecaster.yml +++ b/etc/telecaster/telecaster.yml @@ -92,8 +92,8 @@ telecaster: channels: 2 opus_bitrate: 96000 mp3_quality: 4.0 - gain_pre: 2.5 - gain_post: 1.5 + volume_pre: 2.5 + volume_post: 1.5 deefuzzer: log: /var/log/telecaster/telecaster_mp3_monitor.log m3u: /tmp/telecaster_mp3_monitor.m3u