hi,
to avoid confusion here: the "clipboard" in this case is actually a file. it certainly works to write and read arrays to/from disk like that (as documented in "other-messages" subpatch of the [array define] help) - but this is not a RAM copy/paste as it might seem. :)
cheers, ben
Am Di., 23. Apr. 2024 um 10:29 Uhr schrieb Peter P. peterparker@fastmail.com:
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@klingt.org oliver@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@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@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@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
--
Gesendet von meinem Endgerät
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list