Hi
I'm using the Audio Adaptor board to attempt to create an audio looper. I have a decent amount of Arduino experience but I have been using a software looper (Mobius) until now. I have already created a custom pedal but I would now like to use the teensy to create an all-in-one looper (something similar to a boss rc50).
I started with the Recorder example and made a few amendments so I can record some audio (from the line in) and as soon as I stop recording it begins playing back the recorded file (RECORD.RAW) from the sd. Perfect. The issue I'm having is with creating some kind of overdub function. This is basically recording more audio on top of what has already been recorded whilst keeping the original audio (and playing it at the same time).
Should I be trying to create multiple files for each of these overdubs? Or is there some way I can add more audio data into the file I have already recorded. I know if I don't delete the first RECORD.RAW file I can add more audio to it but the additional audio will only be added to the end.
I'm thinking maybe it would make more sense to use the RECORD.RAW file as more of a buffer so I record audio and once the first loop is finished it saves to a different file. Then I can remove the RECORD.RAW file and record a new one. Once this is finished it would then add the new recorded data to the different file??
Im really not sure what the best approach would be here. Does anyone have any suggestions on what might be the best option?
Thanks
I'm using the Audio Adaptor board to attempt to create an audio looper. I have a decent amount of Arduino experience but I have been using a software looper (Mobius) until now. I have already created a custom pedal but I would now like to use the teensy to create an all-in-one looper (something similar to a boss rc50).
I started with the Recorder example and made a few amendments so I can record some audio (from the line in) and as soon as I stop recording it begins playing back the recorded file (RECORD.RAW) from the sd. Perfect. The issue I'm having is with creating some kind of overdub function. This is basically recording more audio on top of what has already been recorded whilst keeping the original audio (and playing it at the same time).
Should I be trying to create multiple files for each of these overdubs? Or is there some way I can add more audio data into the file I have already recorded. I know if I don't delete the first RECORD.RAW file I can add more audio to it but the additional audio will only be added to the end.
I'm thinking maybe it would make more sense to use the RECORD.RAW file as more of a buffer so I record audio and once the first loop is finished it saves to a different file. Then I can remove the RECORD.RAW file and record a new one. Once this is finished it would then add the new recorded data to the different file??
Im really not sure what the best approach would be here. Does anyone have any suggestions on what might be the best option?
Thanks