notahardwareguy
Active member
Sorry if this is too obvious. I have searched the examples, forums, and some of the code libraries [could be just not seeing it] and am unable to find a complete, "simple" example of playing a stereo wav file from an SD card, running it through an effect, and recording it back to an SD card with a new name. As an example, read/play SDTEST1.wav from an SD card, run it through reverb, and save it recorded as SDTEST1Out.wav. Not sure if it can be saved to the same SD that it is read from but that would be preferred.
Backstory: I was doing a Teensy audio project early last year and ran in to a blocker. Started to get a little frustrated, so I stepped away and worked on a couple of ATTiny things, all the while noodling on this one in the back of my mind. I am now ready to pick this project back up. Thought of a couple of things to try and some things to do to validate my results. This would involve saving a copy of the results and comparing it visually to the starting wav. So I want to read a standard stereo wav, pump it through a filter, play it (so I can hear it) while also saving the results to another wav file. I have both the audio shield and the PT8211, so if the recorded wav needs to be on a different SD, that can be supported.
Does a working example of this (or something really close) already exist? Is there a reason this can not be done? Again, sorry if this is "too obvious", and thanks.
Backstory: I was doing a Teensy audio project early last year and ran in to a blocker. Started to get a little frustrated, so I stepped away and worked on a couple of ATTiny things, all the while noodling on this one in the back of my mind. I am now ready to pick this project back up. Thought of a couple of things to try and some things to do to validate my results. This would involve saving a copy of the results and comparing it visually to the starting wav. So I want to read a standard stereo wav, pump it through a filter, play it (so I can hear it) while also saving the results to another wav file. I have both the audio shield and the PT8211, so if the recorded wav needs to be on a different SD, that can be supported.
Does a working example of this (or something really close) already exist? Is there a reason this can not be done? Again, sorry if this is "too obvious", and thanks.