So i managed to recreate a delay behaviour using tabwrite~ and tabread4~.
Tha main reason for using this objects instead of delread~/delwrite~ is that i need to "freeze" the buffer content from time to time (stop feeding it with new samples), and add chunks of new data into the array again after stopping some time ( haven't tried this yet, but it looks like this is possible by sending |start n( to tabwrite~ )
i've also seen a great solution for doing delays using tables by means of poke~, but i can't use this object as i need to be limited to vanilla for ofxpd integration purposes.
But now, i'm facing 2 problems:
1- in order to write and read simultaneoulsy the same table, the read header has to be slightly delayed to make sure it is reading data that has already been written. I accomplished this by adjusting phase of the phasor~ object with a message to the right inlet. I guess this is not the more accurate solution.... any hints on that?
2- I get a click at every end of the "loop"... how can i smooth that? maybe fading in/out at every start/end of the table writing?
I attach the actual patch, so you can see for yourself.
Thanks!