Adjust smart fades filters from testing (#2441)
authorMaxim Raznatovski <nda.mr43@gmail.com>
Mon, 29 Sep 2025 07:29:50 +0000 (09:29 +0200)
committerGitHub <noreply@github.com>
Mon, 29 Sep 2025 07:29:50 +0000 (09:29 +0200)
* Adjust smart fades filters from testing

* Typo

music_assistant/helpers/smart_fades.py

index 32b12e9701a754584af84aee23c58dea1bbcb100..b4e5e5b2f0fe5c5957ef7087b218392dad34870c 100644 (file)
@@ -870,7 +870,7 @@ class SmartFadesMixer:
             start_time=fadeout_eq_start,
             sweep_direction="fade_in",
             poles=1,
-            curve_type="exponential",  # Use exponential curve for smoother DJ-style transitions
+            curve_type="logarithmic",  # Use logarithmic curve to give the next track more space
         )
 
         # fadein (high-pass → unfiltered)
@@ -883,7 +883,7 @@ class SmartFadesMixer:
             start_time=0,
             sweep_direction="fade_out",
             poles=1,
-            curve_type="exponential",  # Use exponential curve for smoother DJ-style transitions
+            curve_type="linear",  # Use linear curve for transition, predictable and not too abrupt
         )
 
         return fadeout_filters + fadein_filters