[PD] array copy speed test
Hans-Christoph Steiner
hans at eds.org
Wed Aug 9 23:19:38 CEST 2006
On Aug 9, 2006, at 5:13 PM, geiger wrote:
>
> 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.
Pentium III 700... or G4 800.
>>
>> 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.
Yup, its modified. First, I need to fade it in and out to remove
clicks, then I want to also be able to modify the sound in the future.
.hc
More information about the Pd-list
mailing list