[PD] Clearing and Copying an array

IOhannes m zmoelnig zmoelnig at iem.at
Wed Oct 27 10:49:43 CEST 2010

On 2010-10-27 10:22, Raffael Seyfried wrote:
> Hi,
> I have some problems with a live looper patch I am building for my band.
> My question is: Is it possible to copy the content of an array into
> another array (or reset all entries to zero) directly by using messages?
> If so what messages?

resetting to 0 can be done by sending the "const 0" message to the array.

copying the array cannot be done directly, you could either use:

a) pd-vanilla
[t f f         ]
|              |
[tabread from] |
|              |
[tabwrite to   ]

b) zexy's [tabdump]
[tabdump from]
[list prepend set 0]
[list trim]
[s to]

c) iem_tab's [tab_copy]


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3636 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20101027/d9aafb94/attachment-0001.bin>

More information about the Pd-list mailing list