[PD] tabosc4~ and table byte reallocation

mami music mami.music at gmail.com
Tue Jan 26 22:04:54 CET 2010


Hi guys
Im using [tabosc4~].
Acording to the documentation one should use an array of any power of 2 + 3.
The extra 3 elements are for safeguard, one should go at the begining of the
array (a copy of the 1st element of the vector) and the other 2 should go at
the end (both of them copies of the last element of the vector).

I´m using a 256 block size, so the size of my array should be 256+3= 259. Im
having problems figuring out how to copy the N-2 element of the table (that
is sample with index 256) to the 257th and 258th index of the table using
[tabsend~] and [tabreceive~].

The only way i have come up with (that is obviously not working) is using
tabread4~ to read the 256th sample and write it down on the 257th and 258th
sample of the array using tabwrite~ (and that is why this whole thing is not
working).

I attach a basic patch that im using. Any help would be apprecieated

Thanks in advance

Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100126/ad6d96b0/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: WT.pd
Type: application/octet-stream
Size: 5070 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100126/ad6d96b0/attachment.obj>


More information about the Pd-list mailing list