From 3c1dd0549677addfb29e93702e810d447c0bf406 Mon Sep 17 00:00:00 2001 From: Brad Barnett <127794626+bdbarnett@users.noreply.github.com> Date: Tue, 10 Nov 2026 01:39:52 -0600 Subject: [PATCH] AirSpace and ShimmerHall import on MicroPython Both took the Reverb module with `from . import reverb`, which MicroPython sends through the package's lazy `__getattr__`. That only knows class names, so it raised `AttributeError: reverb` and neither effect could be imported. They now import `audioeffects.reverb` by its full name. On the unix MicroPython build, `import audioeffects.airspace` and `import audioeffects.shimmerhall` fail on main and import with this change. Fixes #13. --- lib/audioeffects/airspace.py | 2 +- lib/audioeffects/shimmerhall.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/audioeffects/airspace.py b/lib/audioeffects/airspace.py index 00e0ed5..863f52d 100644 --- a/lib/audioeffects/airspace.py +++ b/lib/audioeffects/airspace.py @@ -69,7 +69,7 @@ from .digitaldelay import CUT_LAP_FACTOR, laps_to_zero, whole_frames from .tapedelay import tone_excess # The module, not the class, so this module holds one Component class. -from . import reverb as _reverb +import audioeffects.reverb as _reverb try: import audioecho diff --git a/lib/audioeffects/shimmerhall.py b/lib/audioeffects/shimmerhall.py index 2b9f160..dae3e7c 100644 --- a/lib/audioeffects/shimmerhall.py +++ b/lib/audioeffects/shimmerhall.py @@ -83,7 +83,7 @@ from .digitaldelay import laps_to_zero, whole_frames from .tapedelay import tone_excess # The module, not the class, so this module holds one Component class. -from . import reverb as _reverb +import audioeffects.reverb as _reverb try: import audioecho