SD file -> WavDecoder -> FilterStream -> WavEncoder -> SD file? #962
-
Hi again. I want to read some wav files from SD and filter them by FIR filter and write back again. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
I suggest that you read the documentation and have a look at the examples. Please also consider these advices. Start simple and add one step after the other and test that it is doing what you expect. |
Beta Was this translation helpful? Give feedback.
-
No, you think too complicated: the EncodedAudioStream has the FilteredStream as output and the FilteredStream has the EncodedAudioStream as output. You can just build a nice chain of the processing streams passing each output streams as argument. |
Beta Was this translation helpful? Give feedback.
I suggest that you read the documentation and have a look at the examples.
I would copy from the SD to the decoder which connects to the filter which connects to the encoder which connects to the output file.
There is a comprehensive Wiki documentation for each topic.
Please also consider these advices. Start simple and add one step after the other and test that it is doing what you expect.