On 11/06/2008, at 16.03, Andy Farnell wrote:

> On Wed, 11 Jun 2008 13:23:28 +0200
> Roman Haefeli <[EMAIL PROTECTED]> wrote:
>
>> On Wed, 2008-06-11 at 12:09 +0100, Hans Roels wrote:
>>> Apart from [soundfiler] I use this trick to get the size of any  
>>> array
>>> (audio or data) in pd vanilla:
>>> (array1 = the name of an example array)
>>>
>>> bang
>>> |
>>> [expr size("array1")]
>>> |
>>> print
>>
>> hey, nice trick. thanks for sharing.
>>
>> roman
>
> Yeah, nice! Not seen that before, it's very useful. Thanks

Agreed. Neat indeed. I've added it to the Tips'n'Tricks page[0]. Hope  
that's ok.

[0] http://puredata.info/docs/tutorials/TipsAndTricks#getting-table- 
array-size

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

Reply via email to