That's a good idea, but doesn't work for what I need to do.
I need to create a "sliding window" effect in the recording, so that there is always 15 seconds of audio history recorded. I wanted to stair-step two 20-second recorders so that every 5 seconds I would delete one audio recording file when its "history" got too long, then restart it. In this way, there would at most be two files of 20 seconds of audio on the SDcard and not get too large.
If I can't have two recorders recording, is there any way to:
- direct the audio recording stream to multiple files?
- buffer the audio recording so that I can manage the recording size in-memory?
- other creative ideas to accomplish the "sliding window" effect?