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
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 Pd.
Btw. I also uploaded a windows port of Yves compressor~....
Get both at http://www.akustische-kunst.de/puredata/
Olaf
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
Good one
cheers for doing that - I use them a lot (for some reason the latest drivers on my laptop don't do full duplex anymore) so upgrading to the latest release is a total pain.
cheers
mark
-----Original Message----- From: Olaf Matthes [mailto:olaf.matthes@gmx.de] Sent: 09 March 2002 23:10 To: 'pd-list' Cc: mark@junklight.com Subject: [PD] Windows readsf~ and writesf~
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 Pd.
Btw. I also uploaded a windows port of Yves compressor~....
Get both at http://www.akustische-kunst.de/puredata/
Olaf
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