info~ send buffer~ file's length once and never change it
Hello,
info~ sends the buffer~ file's length when first initialized and loaded but when I load a different file to buffer~, info~ sends from its outlets all the other relevant parameters(like file's path, number of channels etc.. )but definitely not the new length of the new loaded file(it does send the wrong length of the first file and never change it no meter what file I am loading..)
It looks like a bug because when I double click buffer~ to reinitialize it, info~ gives me again my 'one shot' of a correct length, and then stuck himself with the same length.
It has been going for weeks or more and I have made all tests.. I really need a solution.. or a different way to get a loaded file's length.
Thanks!
hard to tell if it is a user error or bug without a patch, but are you sure you made buffer to automatically resize on open?
are there eventually other copies of that buffer in other patches which are DSP-off?
one workaround lies around the [sfinfo~] object.
Ok thanks Romsn for your answer I am checking my self again using your tips
Here is what I did wrong (went to info~'s help and find out..) -
I used read to reload files and not replace... that is way info~ updated duration only at the beginning and than stopped..
So Thanks anyway !!