Re: [PD] ring buffer with an array

2012-01-10 Thread Roman Haefeli
Hi Alex On Sun, 2012-01-08 at 16:33 -0200, Alexandre Torres Porres wrote: Hi folks, I'm trying to implement a ring buffer with a table for a sampler patch based on an array. But I'm having the hardest time cause it always clicks when I start writing back on the beginning of the array. I

Re: [PD] ring buffer with an array

2012-01-10 Thread Alexandre Torres Porres
Hi there, yeah, the way it was, I didn't see a way to not use [bang~], so I asked to see if there was something new for me. But then I just started working with buffers that are multiples of block size, which is fine. Check the Phase Vocoder harmonizer I shared over here. I made it that way. And

[PD] ring buffer with an array

2012-01-08 Thread Alexandre Torres Porres
Hi folks, I'm trying to implement a ring buffer with a table for a sampler patch based on an array. But I'm having the hardest time cause it always clicks when I start writing back on the beginning of the array. I made this simple test attached below using metro. But I'm figuring the flaw is

Re: [PD] ring buffer with an array

2012-01-08 Thread tim vets
2012/1/8 Alexandre Torres Porres por...@gmail.com Hi folks, I'm trying to implement a ring buffer with a table for a sampler patch based on an array. But I'm having the hardest time cause it always clicks when I start writing back on the beginning of the array. I made this simple test

Re: [PD] ring buffer with an array

2012-01-08 Thread Alexandre Torres Porres
I know, I thought of that, but then, I need to make the table always as big as a multiple of an audio block, right? I was hoping to have a way without this restrain. But maybe it isn't that much of a big deal. 2012/1/8 tim vets timv...@gmail.com 2012/1/8 Alexandre Torres Porres

Re: [PD] ring buffer with an array

2012-01-08 Thread Charles Henry
On 1/8/12, Alexandre Torres Porres por...@gmail.com wrote: Hi folks, I'm trying to implement a ring buffer with a table for a sampler patch based on an array. But I'm having the hardest time cause it always clicks when I start writing back on the beginning of the array. I made this simple

Re: [PD] ring buffer with an array

2012-01-08 Thread Alexandre Torres Porres
Well, this is for the phase vocoder patch, which is based on miller's I07 example. There's a counter that reads over the table, and I expanded the thing allowing it to loop and other convenient sampling controls. I never needed a perfect loop, cause I never loaded real perfectly looped files in