[PD] Resizing an array according do size of sound file

Rodrigo Treviño-Frenk furenku at hotmail.com
Tue Nov 13 02:49:17 CET 2007


greetings,

ok, i have a very simple solution that could do what you want:

Create a [table nameofarray] - by default the array contained inside is 100 samples long.
then, create a message box (ctrl+2) that contains the following:

;
nameofarray resize 200

after clicking it, if you check the array inside the table again, its length will be 200 samples long.

of course you can make variable array names and lengths like this:

[pack s f]
|
|
[;
$1 resize $2]

remember, its a message box, not an object.

hope this helped!

furenku

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20071113/870d43f9/attachment.htm>


More information about the Pd-list mailing list