From f5f60b425eb4fce5fda13ae6bd009157a8b3c37e Mon Sep 17 00:00:00 2001 From: Crussader <75786691+Crussader@users.noreply.github.com> Date: Sat, 30 Oct 2021 17:00:33 +0400 Subject: [PATCH] New Filter 8D filter --- pomice/filters.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/pomice/filters.py b/pomice/filters.py index 452040a..9cf41b9 100644 --- a/pomice/filters.py +++ b/pomice/filters.py @@ -146,3 +146,18 @@ class Vibrato(Filter): def __repr__(self): return f"" + +class EightD(Filter): + """Filer Which Produces a rotational sound in music, similar to a panning audio, + on the x , y plane. + """ + + def __init__(self, *, rotational_hz : int = 0.2): + + super().__init__() + + self.rotational_hz = rotational_hz + self.payload = {"rotation" : {"rotationHz" : self.rotational_hz}} + + def __repr__(self) -> str: + return f""