[PD] copying one array to another very fast
Miller Puckette
mpuckett at imusic1.ucsd.edu
Thu Nov 12 02:46:30 CET 2009
Gee, I forgot to document this one, sorry.
a turned-off switch~ can be used to single-step the DSP in a window by
sinding it a bang message. So you can "switch~ 2048" in a window, connect
a tabplay~ to a tabwrite~ inside it, start them, then send the switch~
N/2048 bangs to copy N samples from one table to another.
don't tell anyone that was my idea :)
M
On Wed, Nov 11, 2009 at 08:36:28PM -0500, Hans-Christoph Steiner wrote:
>
> I want to copy the contents of one array to another as fast as
> possible. Basically, I'll load a sound file into an array, and fill a
> big buffer by concating that soundfile to the big buffer until its full.
>
> Any ideas?
>
> .hc
>
>
> ----------------------------------------------------------------------------
>
> If you are not part of the solution, you are part of the problem.
>
>
>
> _______________________________________________
> 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