Applying effects to a non arificially generated audio stream #319
-
Microphone! I'm ultimately going to use an i2s stream, and I'm hoping portaudiostream is close enough for now, but I'm trying to add an effect to this stream. Seems all the examples for effects use a generator of some kind or other, but not i2s as a sound SOURCE. How do I use effects with a portaudiostream object (in this case microphone) uint16_t sample_rate=22050; StreamCopy copier(aud,in); // copy in to out // Arduino Setup AudioLogger::instance().begin(Serial, AudioLogger::Error); // Arduino loop ....because there's no readSample method on the PortAudioStream object. How SHOULD I read streaming audio one 16 bit sample at a time? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
https://github.com/pschatzmann/arduino-audio-tools/wiki/Audio-Effects |
Beta Was this translation helpful? Give feedback.
-
I think you forgot to delete the following original line which is causing the problem: |
Beta Was this translation helpful? Give feedback.
https://github.com/pschatzmann/arduino-audio-tools/wiki/Audio-Effects