[PD] copy data between arrays

Peter P. peterparker at fastmail.com
Tue Apr 23 10:28:03 CEST 2024


Thanks for this hint Oliver!

Can't test right now but am curious if audio drops out (eg. playing a
sine test tone while copying some 10secs of table data) and if there is
any (dis)advantages over the get/set method below.

cheersz, P

* oliver at klingt.org <oliver at klingt.org> [2024-04-23 10:22]:
> Also just found out by chance that writing and reading to/from clipboard also works !
> 
> [write clipboard(
> |
> [array define a1]
> 
> 
> [read clipboard(
> |
> [array define a2]
> 
> Can you confirm this ?
> 
> Best
> 
> Oliver
> 
> 
> 
> 
> 
> Am 23. April 2024 10:15:00 MESZ schrieb "Peter P." <peterparker at fastmail.com>:
> >Replying to myself here, after this solution has been suggested to me
> >off-list:
> >
> >[bang(                                                                                                          
> >|                                                                                                               
> >[array get one]                                                                                                 
> >|                                                                                                               
> >[array set two]
> >
> >seems to work for larger tables without audio dropouts.
> >
> >Much appreciated help, thanks!
> >P
> >
> >* Peter P. <peterparker at fastmail.com> [2024-04-23 08:54]:
> >> Hi list,
> >> 
> >> I am sure this has been asked many times, but I can't find a solution in
> >> the mailing list archive. How can I copy data between arrays, in my case
> >> arrays of 480000 samples without using externals and without blocking
> >> the DSP computation (causing dropouts)?
> >> I know that I can write to disk and read from it again, but is there a
> >> way that does not require disk access?
> >> 
> >> Thanks for all ideas!
> >> Peter
> >
> >
> >
> >_______________________________________________
> >Pd-list at lists.iem.at mailing list
> >UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
> >
> 
> -- 
> 
> Gesendet von meinem Endgerät
> 

> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list






More information about the Pd-list mailing list