[PD] array copy speed test

geiger geiger at xdv.org
Wed Aug 9 23:13:33 CEST 2006


On Wed, 9 Aug 2006, Hans-Christoph Steiner wrote:
> What counts as a "large chunk"?  I am mostly copying between 100ms
> and 900ms of mono, 48k, audio data.  Is that large?

depends on your machine.
>
> I would love to hear suggestions as to how I could do this
> differently.   The problem is that want to have each sound snippet
> stored for a while and separately controllable.  Perhaps I could just
> use a massive buffer as a ringbuffer then use start and end points to
> reference locations in the array.  But at some point, its going to
> have to loop around in the ringbuffer and that could be quite tricky
> to handle well.

I don't really understand how you do it with copy. You only need to
copy data if you modify it later. Otherwise just record it to the
right place and use it there directly.

Günter




More information about the Pd-list mailing list