Forums > Gen

variable speed recorder

February 28, 2013 | 3:45 pm

I’m trying to create a variable speed recorder with gen, but get aliasing if the record speed is higher than 1, which is normal. (it misses samples)
I use peek with a basic accum based counter.

there’s no built in interpolation to peek, I tried using interp but didn’t really understood how to.

any idea ?

– Pasted Max Patch, click to expand. –

February 28, 2013 | 4:19 pm

You can try putting your gen~ object inside a poly~ and do upsampling.


February 28, 2013 | 4:40 pm

I already tried upsampling but I find it too heavy on the CPU just to allow variable recording speed. (I’ll go for this if it’s the only way…)

concerning interpolation, I just tried to use the sincinterpolation example and translate it for recording but I can’t get it to work

– Pasted Max Patch, click to expand. –

February 28, 2013 | 5:04 pm

sorry for the previous post, I understand why it doesn’t work, it constantly records and erases the buffer at the same time, I’ll try to adapt it.


March 1, 2013 | 11:01 am

I decided to use oversampling.

I modified the incrementing part, added reverse possibility and overdub.

I’m not sure it’s the most efficient way, but it seems to work.

– Pasted Max Patch, click to expand. –

March 5, 2013 | 10:01 pm

Really cool looper. I’m impressed you got it to record in reverse, and…with so little code. I’m just learning Gen, but this makes me optimistic.. Thanks for sharing!


April 1, 2014 | 4:22 pm

just wanted to UP this post, if anyone has an idea to make variable speed recording. I’m sure there’s a way, it would be sooooooooooooo nice.
I’d like to make some kind of multi-track recorder/looper and this variable speed feature is needed….


Viewing 7 posts - 1 through 7 (of 7 total)