Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

audiofilters: Add Distortion effect and implement LFO ticking #9776

Open
wants to merge 30 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 7 commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
16575fc
Added `Distortion` and `DistortionMode` classes to `audiofilters` mod…
relic-se Oct 23, 2024
46ebae1
Remove separate DistortionMode code files.
relic-se Oct 31, 2024
3a16daf
Remove `audiofilters.DistortionMode.ATAN`
relic-se Oct 31, 2024
1008dd5
Simplify `audiofilters.DistortionMode.LOFI` sample processing with bi…
relic-se Oct 31, 2024
37b6b70
Fix error with null sample handling in `audiofilters.Distortion`.
relic-se Nov 4, 2024
064c3f3
Merge branch 'adafruit:main' into audiofilters_distortion
relic-se Nov 13, 2024
a7060f0
Merge branch 'adafruit:main' into audiofilters_distortion
relic-se Nov 27, 2024
6481b4e
Merge branch 'adafruit:main' into audiofilters_distortion
relic-se Dec 10, 2024
31c9095
Implement `synthio_block_slot_get_limited`.
relic-se Dec 10, 2024
155f197
Convert default float values from null checks to MP_ROM_INT.
relic-se Dec 10, 2024
89f2ae1
Remove unnecessary kwarg setters.
relic-se Dec 10, 2024
5c981f0
Use `MICROPY_FLOAT_CONST` and `MICROPY_FLOAT_C_FUN` within floating p…
relic-se Dec 10, 2024
222ce2c
Apply similar updates to audiofilters.Filter and audiodelays.Echo: MI…
relic-se Dec 10, 2024
0410d22
Added `soft_clip` property to toggle between hard clipping (default) …
relic-se Dec 11, 2024
57022f9
Implemented soft clipping and continued optimization of distortion al…
relic-se Dec 11, 2024
48ca21d
Add Distortion to unix port and make type conversions explicit.
relic-se Dec 11, 2024
4257c62
Variable number of samples within `shared_bindings_synthio_lfo_tick`.
relic-se Dec 12, 2024
0e64e1c
Implement block ticking within audio effects.
relic-se Dec 12, 2024
5fbbeed
Call `shared_bindings_synthio_lfo_tick` on audioeffects in `SYNTHIO_M…
relic-se Dec 12, 2024
e18e5b2
Merge branch 'adafruit:main' into audiofilters_distortion
relic-se Jan 17, 2025
cef94d7
Remove unnecessary deinit check.
relic-se Jan 17, 2025
b796f0d
Only calculate lofi bit mask when necessary.
relic-se Jan 17, 2025
84f8e31
Update `shared_bindings_synthio_lfo_tick` within `audiomixer` to use …
relic-se Jan 17, 2025
d84cdbc
Update Distortion class docstring.
relic-se Jan 17, 2025
8c40c56
Move `shared_bindings_synthio_lfo_tick` to avoid error if using unsig…
relic-se Jan 17, 2025
05db339
Remove truncation of `delay_ms` within buffer processing loop.
relic-se Jan 17, 2025
ec5b1e8
Add `mix_down_sample` to echo output.
relic-se Jan 17, 2025
48f272e
Fix build errors.
relic-se Jan 17, 2025
99b4fae
Remove unnecessary copies of `mix_down_sample`.
relic-se Jan 17, 2025
e049337
Allow variable mix down sample scale.
relic-se Jan 18, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions py/circuitpy_defns.mk
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,7 @@ SRC_SHARED_MODULE_ALL = \
audiodelays/Echo.c \
audiodelays/__init__.c \
audiofilters/Filter.c \
audiofilters/Distortion.c \
audiofilters/__init__.c \
audioio/__init__.c \
audiomixer/Mixer.c \
Expand Down
Loading
Loading