Dear list,
I've just noticed a strange behaviour of arrays in Pd-extended 0.42.5 running in Win XP. When I manually create an array and set it's size through its properties (right-click, etc.), say, to 44100 samples, the range on the X axis is 0 to 44099. Fine. Now when I resize it by sending it a message ("array1 resize 44100"), the X axis now spans from 0 to 44100 (that is 44101 samples).
Anybody noticed this in other versions/platforms?
Cheers,
Pierre.
On linux (debian wheezy with autobuild):
On 16/03/12 18:05, Pierre Massat wrote:
Dear list,
I've just noticed a strange behaviour of arrays in Pd-extended 0.42.5 running in Win XP. When I manually create an array and set it's size through its properties (right-click, etc.), say, to 44100 samples, the range on the X axis is 0 to 44099. Fine.
The array is created with the correct number of elements but one element 'overflows' the right frame.
Now when I resize it by sending it a message ("array1 resize 44100"), the X axis now spans from 0 to 44100 (that is 44101 samples).
Resizing the array with a [resize( actually corrects the problem here. So it would seem more of a GOP visualisation bug?
See attached patch.
Lorenzo.
Anybody noticed this in other versions/platforms?
Cheers,
Pierre.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list