Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 5 of 5

Thread: Attempting to Creating an Audio Looper

  1. #1
    Junior Member
    Join Date
    Oct 2016
    Posts
    1

    Attempting to Creating an Audio Looper

    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

  2. #2
    Junior Member
    Join Date
    Oct 2016
    Posts
    4
    Your suggested approach is exactly how I would do it. I'd have a buffer.raw file that is currently recording the loop. Once that loop is complete, save it to loop_1_tmp.raw and play it back into the buffer so that it can be overdubbed again. When recording is stopped, save the file to loop_1.raw.

  3. #3
    Junior Member
    Join Date
    Oct 2018
    Posts
    1
    Any progress on this? I was hoping to do something similar!

  4. #4
    Senior Member
    Join Date
    Nov 2016
    Posts
    179
    #metoo

    .. seriously, I would love to see how you did that.

  5. #5
    Quote Originally Posted by AdmiralCrunch View Post
    #metoo

    .. seriously, I would love to see how you did that.
    I've created an SD looper with overdub, I've written about it here. It's using the technique described above. Reads from one file and writes to another, switching the files at the loop point.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •