Freeze Sampler / Looper
Posted: Wed Dec 16, 2015 7:58 pm
How would I create a program that will record a buffer of samples and play them back in a loop using a pot to set the length of the loop?
Sort of like a freeze pedal that will sustain the chord in the middle and hold it until the button is pressed again. I do not want to add loops on top of each other, just freeze the chord.
Kind of like the EHX SuperEgo:
https://www.youtube.com/watch?v=QtrAu3jsKfg
Some architecture notes/thoughts:
- Maybe another pot input could be used with a switch so when the input reads 3.3V it starts to record and when it reads 0V it starts to playback.
- It would need some sort of volume threshold in order to know when to change the samples in the buffer
- Start taking samples from a couple milliseconds after the transient of the note/chord. That way the attack of the chord is not in the buffer.
- Loading two 4096 sample buffers and crossfading them from each other could leave some room for smooth transitions between different chords
Any other thoughts? Thanks for your input!
Sort of like a freeze pedal that will sustain the chord in the middle and hold it until the button is pressed again. I do not want to add loops on top of each other, just freeze the chord.
Kind of like the EHX SuperEgo:
https://www.youtube.com/watch?v=QtrAu3jsKfg
Some architecture notes/thoughts:
- Maybe another pot input could be used with a switch so when the input reads 3.3V it starts to record and when it reads 0V it starts to playback.
- It would need some sort of volume threshold in order to know when to change the samples in the buffer
- Start taking samples from a couple milliseconds after the transient of the note/chord. That way the attack of the chord is not in the buffer.
- Loading two 4096 sample buffers and crossfading them from each other could leave some room for smooth transitions between different chords
Any other thoughts? Thanks for your input!