[PD] Windows readsf~ and writesf~

Olaf Matthes olaf.matthes at gmx.de
Sun Mar 10 00:10:21 CET 2002

Hi list, hi Mark,

well, for those of you using Pd on windows who don't want to recompile Pd to
get readsf~ and writesf~ working I made a library (named d_soundfile.dll
corresponding to the relevant pd source file) including these two objects.
Just copy d_soundfile.dll and pthreadVC.dll to pd\bin and start pd with "-lib
path\to\d_soundfile". Documentation how to use them is already included with

Btw. I also uploaded a windows port of Yves compressor~....

Get both at http://www.akustische-kunst.de/puredata/


PS: I had to make some minor changes to 'my' d_soundfile.c to get it compiled
as a library so please don't mix it up with the one that comes with pd!!!!

mark schrieb:

> Hi,
> just poking around in the PD sources looking for info on tabread
> when I came across a comment in the soundfile.c that the reason
> writesf~ and readsf~ don't work in windows is 'cos they need
> pthreads - and someone should find a package.
> Well I did. Get it here:
> http://sources.redhat.com/pthreads-win32/
> get the latest build - put the include path as a -I and put the lib in the
> lib list - I used pthreadVC.lib - there are two others but it all worked
> so I didn't read the docs ;-). Remove the #ifdef __linuxs_'s and do
> a build. Put pthreadVC.dll in pd\bin and off you go. The 5.reference
> patches now work. Haven't tested them thoughly - in and out of
> meetings this afternoon but it all looks good.
> cheers
> mark

More information about the Pd-list mailing list