Hi August, there were several reasons for this:
1) i have a Windows setup there and was unable to get readanysf~ running. It simply stopped after some short time - it's also the same with the associated help file. I tried to debug it, but gave up after some time. The other thing is that readanysf~ is using two threads that are passing the data but i wanted really low latency. 2) the built-in readsf~ is really trashy, sorry. I can't understand how a soundfile player can be part of the main distribution, that spits out noise when the file isn't fully preloaded. With many parallel players and heavy system load the preload time is impossible to anticipate for an autonomous patch. 3) i was in a real hurry and it needed only three hours to code one from scratch for my needs that was working safe and well. The time for looking into the other players and understanding how they work is comparable to that.
I'm sorry for disregarding readanysf~ for this special application - I think it's a very valuable tool for many situations. It's clear for me that it's useless to have just another file player, that's why i didn't publish it in the usual way. On the other hand the sketch that i posted has some new characteristics. Therefore i'd like to incorporate them into one of the exisiting ones, or integrate a file playing object into xsample which has all the special features of that package. Above all i think the built-in readsf~ should be improved.
best greetings, Thomas
PS. libsndfile can do many formats: http://www.mega-nerd.com/libsndfile/
----- Original Message ----- From: "august" august@alien.mur.at To: "Thomas Grill" gr@grrrr.org Cc: "pd-dev" pd-dev@iem.kug.ac.at Sent: Wednesday, June 16, 2004 3:56 PM Subject: Re: [PD-dev] redundancy - just another sound file player
Thomas,
I'm a little disappointed to hear you have done this.
ever hear of readanysf~ made with flext? :)
I'm guessing you tried it and it didn't work out for you? Was there something missing from it that you really needed?
or, if you were only using .wav or .aiff files (libsndfile can't do much more than that), why not just use the built-in readsf~ ?
-august.
Hi all, for all who need it, i throw it into the arena. Maybe some of you want to try it out and comment on it - i currently
don't
have time to work more on it.
...
Attached is a flext-based sketch for a player with the following characteristics:
- uses libsndfile (http://www.mega-nerd.com/libsndfile/) and flext 0.4.6
- should read _MANY_ file formats
...
PD-dev mailing list PD-dev@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-dev