[PD] array copy speed test

geiger geiger at xdv.org
Wed Aug 9 23:45:28 CEST 2006


On Wed, 9 Aug 2006, Hans-Christoph Steiner wrote:
> > depends on your machine.
>
> Pentium III 700... or G4 800.

well, yeah, you have to figure it out. if it works then its cool.

>
> >>
> >> 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.

I would fade and modify during playback. They could also go in the
recording stage if you are recording to more than one place, but that
seems a bit of a waste of memory. YMMV.

Günter

>
> .hc
>
>
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>




More information about the Pd-list mailing list