Using AudioEffectStream with FilteredStream #1886
-
I am trying to make a sound board with my ESP32-AudioKit and I have a a wave generator that I am adding effects to.
I want to be able to put a Low-Pass on the stream with FilteredStream AFTER the effects are applied as they are causing a high freq I want to get rid off. WaveGen -> Effects -> LowPass -> I2S (AudioBoardStream) However, I am uncertain on how to go about it. Should I have a second StreamCopy to copy back to kit? Thank you for your help. Similar Issue: #1560 (comment) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Current code does not work, as waves over 350Hz are still passing. |
Beta Was this translation helpful? Give feedback.
Please follow the instructions given here before posting a question.
I added a test sketch that shows the default filter profile for the default Q value. Feel free to adjust this parameter to your needs or design your own filter that meets your requirements. There is a Wiki for this!
Please note, your sketch contains a bad error: if you reuse the same filter for different channels you are messing up the signal quite badly!