-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Add Audio effects: Filters #9744
Conversation
Here's a video to provide a quick explanation of the module and a demonstration of the effect: https://www.youtube.com/watch?v=PoQpTWsgTkw |
This error occurred in the doc build:
|
Thanks for catching that. I hadn't built the docs yet myself. I'll have it fixed today. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, looks good! I added a couple of comments.
I tested it and worked for me.
@dhalbert The documentation should be fixed. It's fairly straightforward for now, so let me know if there's anything else that needs to be updated within the docs. |
@dcooperdalrymple This looks fine, but it has three unchecked boxes in the task list in the first post. Is there further testing and documentation to do? If so, maybe we should make this draft? Or are you done? |
After talking with @tannewt, I'll merge this for 9.2.0, but label both |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Thanks for the merge, @dhalbert !
The work listed in the original checklist is mostly done. I think it's best to keep additional effects within this module to separate PRs. I do have a minor modification in mind to the
Sounds great! Minor typo to change |
This is an expansion of the work on #9640 to begin creating "filter-based" audio effects (original issue: #8974).
The only effect added to this module at the moment is the standard
Filter
effect which utilizes theBiquad
filter system borrowed fromsynthio
so that it can be processed on other audio sources (ie: wave file, microphone, etc). The downside with sharing this processing withsynthio
is that asynthio.Synthesizer
object needs to be created in order to generateBiquad
objects using thelow_pass_filter
,high_pass_filter
, andband_pass_filter
methods. Asynthio.Biquad
object can be directly created, but that isn't ideal.To do:
A simple example using audio generated with
synthio.Note
is included in the documentation foraudiofilters.Filter
, but it is not a good demonstration of the utility of this effect. Here is a better example using a different audio source (the "StreetChicken.wav" file provided in https://learn.adafruit.com/circuitpython-essentials/circuitpython-audio-out):I'd appreciate any feedback on the implementation of this effect and what other filter-based effects to begin development on.
Thanks to @gamblor21 for setting down the foundation to get this effects system up and running. It was surprisingly easy to get this new module added based on his work on
audiodelays
.