[PD] counting elapsed samples

Frank Barknecht fbar at footils.org
Mon Feb 7 16:24:41 CET 2005

Ian Smith-Heisters hat gesagt: // Ian Smith-Heisters wrote:

> Yes. Hm. As it turned out my method made Pd segfault. I couldn't isolate 
> the problem, but gdb pointed at tabread4~, so it was probably in the 
> fact that I was resizing the array and trying to read from it at about 
> the same time ;) If anyone's interested in the nitty gritty I'd be glad 
> to post it, i just didn't want to waste anyone's time since I couldn't 
> isolate it to a simple patch.

Couldn't you avoid resizing altogether by e.g. storing the length of
the recorded data into a float, and then only read as far as that?

 Frank Barknecht                               _ ______footils.org__
             _ __latest track: fqdn _ http://footils.org/cms/show/38

More information about the Pd-list mailing list