refactor: remove description property from audio effects and UI

This commit is contained in:
mmacierzanka committed 2026-09-13 16:37:09 +02:00
1 parent f7f820691b
commit 55578a0463
11 files changed
+5 -13

No files matched your search

-1
View File
@@ -8,7 +8,6 @@ class AudioEffect(ABC):
id: str
name: str
description: str
icon: str
@abstractmethod
-1
View File
@@ -16,7 +16,6 @@ class DistortionEffect(AudioEffect):
id = "distortion"
name = "Przester"
description = "Ekstremalne podbicie głośności (1000%) z przesterem"
icon = "zap"
def __init__(self, multiplier: float = 10.0) -> None:
-1
View File
@@ -11,7 +11,6 @@ class FourthDensityEffect(AudioEffect):
id = "fourth_density"
name = "Czwarta gęstość"
description = "Pływający ton (sinusoidalna zmiana pitch z okresem ~1 sekundy)"
icon = "sparkles"
def __init__(
-1
View File
@@ -10,7 +10,6 @@ class MuffledEffect(AudioEffect):
id = "muffled"
name = "Pod wodą"
description = "Filtr dolnoprzepustowy (dźwięk przytłumiony / zza ściany)"
icon = "waves"
def __init__(self, alpha: float = 0.085) -> None:
-1
View File
@@ -30,7 +30,6 @@ def get_available_effects_metadata() -> list[dict[str, Any]]:
{
"id": effect.id,
"name": effect.name,
"description": effect.description,
"icon": effect.icon,
}
for effect in create_default_effects()
-1
View File
@@ -11,7 +11,6 @@ class RobotEffect(AudioEffect):
id = "robot"
name = "Robot"
description = "Metaliczny, robotyczny głos cyborga (ring modulation ~65Hz)"
icon = "bot"
def __init__(self, freq_hz: float = 65.0, mix: float = 0.85) -> None:
-1
View File
@@ -10,7 +10,6 @@ class ToasterEffect(AudioEffect):
id = "toaster"
name = "Dźwięk z tostera"
description = "Memiczny dźwięk z mikrofalówki / kalkulatora (bitcrusher 5-bit, aliasing)"
icon = "radio"
def __init__(self, bit_depth: int = 5, downsample: int = 6) -> None:
-1
View File
@@ -18,7 +18,6 @@ class TremoloEffect(AudioEffect):
id = "tremolo"
name = "Tremolo"
description = "Pulsowanie amplitudy (efekt wibracji głośności)"
icon = "activity"
def __init__(self, freq_hz: float = 4.0, depth: float = 0.6) -> None: