[PD] readanysf~ compile troubles and usage problems

Jerome Tuncer columbiatwo at free.fr
Sat Jul 2 02:06:01 CEST 2005


Hello everyone!

I found the object [readanysf~] and it appeared to be just what I needed 
for a patch of mine: a simple and plain soundfile player (not buffer 
player) reporting the advance in the file.

I had troubles compiling it: it said it needed Thomas' flext layer so I 
got that, compiled it without any troubles. But when it came to 
compiling [readanysf~], the output kept saying it couldn't find -lflext.

I did everything Thomas said in his clever readme file (added path to 
flext libs in /etc/ld.so.conf, ran ldconfig to update /etc/ld.so.cache) 
but it didn't work for [readanysf~] to compile until I copied everything 
from the flext dir. to /lib. That's not really clever I know but it's 
the only solution I found (-:

Other troubles came when I started using it: it works quite well for 
some time. But at one time it outputs:

readanysf~:: SRC error: SRC_STATE pointer is NULL

In the Pd window.

It does it mainly when I keep on loading files into it.

I have to restart Pd for it to work again.

What can it be?

Is it because of my compilation trick? Is it a problem with flext or 
[readanysf~] itself? I'm lost...

Maybe it's due to conflicts between libraries, I heard this could happen 
sometimes...

I run Pd 0.38.4 from Miller's site, Debian unstable kernel 2.6.8, 
realtime-lsm module and Jack Server realtime.

Does anyone know what it can be and by the way is there another plain 
soundfile player (I don't need variable speed nor position jump/locate) 
that outputs playback position in the file?

Thanks and sorry for the textflow (-:




More information about the Pd-list mailing list