Hi list,
Does anyone have a way of fixing Pd so that writesf~ works OK for Windows - Olaf Matthes mentioned in a previous message that he had a library made (d_soundfile.dll) that would do it and he gave a link to his site but I couldn't find the .dll anywhere.
Does anyone know where I can find it or could someone send it to me?
Thanks,
Matthew
Express yourself with cool emoticons - download MSN Messenger today! http://www.msn.co.uk/messenger
Matthew Laughlin wrote:
Hi list,
Does anyone have a way of fixing Pd so that writesf~ works OK for Windows - Olaf Matthes mentioned in a previous message that he had a library made (d_soundfile.dll) that would do it and he gave a link to his site but I couldn't find the .dll anywhere.
Does anyone know where I can find it or could someone send it to me?
writesf~ and readsf~ are both included in the normal Pd distribution since version 0.35test17 or something like that. If you have an older version you should consider upgrading it.... or what do you mean with 'work OK'?
Olaf
writesf~ and readsf~ are both included in the normal Pd distribution since version 0.35test17 or something like that. If you have an older version you should consider upgrading it.... or what do you mean with 'work OK'?
i'm curious ... they are using posix threads ... do they compile on windows? i searched the web about that and it seems that there is a cygwin implementation of the posix threads for windows ... concerning miller's comment in the d_soundfile.c header, they shouldn't work on windows ... (since i'm not using windows i can't prove it)
cheers...
Tim mailto:TimBlechmann@gmx.de ICQ: 96771783 -- The only people for me are the mad ones, the ones who are mad to live, mad to talk, mad to be saved, desirous of everything at the same time, the ones who never yawn or say a commonplace thing, but burn, burn, burn, like fabulous yellow roman candles exploding like spiders across the stars and in the middle you see the blue centerlight pop and everybody goes "Awww!" Jack Kerouac
Tim Blechmann wrote:
writesf~ and readsf~ are both included in the normal Pd distribution since version 0.35test17 or something like that. If you have an older version you should consider upgrading it.... or what do you mean with 'work OK'?
i'm curious ... they are using posix threads ... do they compile on windows? i searched the web about that and it seems that there is a cygwin implementation of the posix threads for windows ... concerning miller's comment in the d_soundfile.c header, they shouldn't work on windows ... (since i'm not using windows i can't prove it)
Pd uses the pthreads-win32 library (from http://sources.redhat.com/pthreads-win32/) and the windows distribution comes with all the files needed to compile and run Pd with read/writesf~.
Olaf
Pd uses the pthreads-win32 library (from http://sources.redhat.com/pthreads-win32/) and the windows distribution comes with all the files needed to compile and run Pd with read/writesf~.
do you know, if this package is fully compatible to the posix standard (condition variables, attributes, scheduling...)
cheers...
Tim mailto:TimBlechmann@gmx.de ICQ: 96771783 -- The only people for me are the mad ones, the ones who are mad to live, mad to talk, mad to be saved, desirous of everything at the same time, the ones who never yawn or say a commonplace thing, but burn, burn, burn, like fabulous yellow roman candles exploding like spiders across the stars and in the middle you see the blue centerlight pop and everybody goes "Awww!" Jack Kerouac
Hi Tim, i use this phtreads package also with flext and i noticed no differences when compiling for the various platforms.
best greetings, Thomas
----- Original Message ----- From: "Tim Blechmann" TimBlechmann@gmx.net To: "Olaf Matthes" olaf.matthes@gmx.de Cc: "pd-list" pd-list@iem.kug.ac.at Sent: Thursday, May 13, 2004 1:20 PM Subject: Re: [PD] writesf~ and Windows
Pd uses the pthreads-win32 library (from http://sources.redhat.com/pthreads-win32/) and the windows distribution comes with all the files needed to compile and run Pd with read/writesf~.
do you know, if this package is fully compatible to the posix standard (condition variables, attributes, scheduling...)
cheers...
Tim mailto:TimBlechmann@gmx.de ICQ: 96771783 -- The only people for me are the mad ones, the ones who are mad to live, mad to talk, mad to be saved, desirous of everything at the same time, the ones who never yawn or say a commonplace thing, but burn, burn, burn, like fabulous yellow roman candles exploding like spiders across the stars and in the middle you see the blue centerlight pop and everybody goes "Awww!" Jack Kerouac
PD-list mailing list PD-list@iem.at to manage your subscription (including un-subscription) see http://iem.at/cgi-bin/mailman/listinfo/pd-list
I believe pthreads-win32 doesn't handle signals ala posix (I don't know how anyone could do this in Windoes) but is as compatible as possible given that it runs on windows.
cheers Miller
On Thu, May 13, 2004 at 01:20:35PM +0200, Tim Blechmann wrote:
Pd uses the pthreads-win32 library (from http://sources.redhat.com/pthreads-win32/) and the windows distribution comes with all the files needed to compile and run Pd with read/writesf~.
do you know, if this package is fully compatible to the posix standard (condition variables, attributes, scheduling...)
cheers...
Tim mailto:TimBlechmann@gmx.de ICQ: 96771783 -- The only people for me are the mad ones, the ones who are mad to live, mad to talk, mad to be saved, desirous of everything at the same time, the ones who never yawn or say a commonplace thing, but burn, burn, burn, like fabulous yellow roman candles exploding like spiders across the stars and in the middle you see the blue centerlight pop and everybody goes "Awww!" Jack Kerouac
PD-list mailing list PD-list@iem.at to manage your subscription (including un-subscription) see http://iem.at/cgi-bin/mailman/listinfo/pd-list
I believe pthreads-win32 doesn't handle signals ala posix (I don't know how anyone could do this in Windoes) but is as compatible as possible given that it runs on windows.
i see, so it's probably a good idea to use broadcasts instead of signals...
cheers...
Tim mailto:TimBlechmann@gmx.de ICQ: 96771783 -- The only people for me are the mad ones, the ones who are mad to live, mad to talk, mad to be saved, desirous of everything at the same time, the ones who never yawn or say a commonplace thing, but burn, burn, burn, like fabulous yellow roman candles exploding like spiders across the stars and in the middle you see the blue centerlight pop and everybody goes "Awww!" Jack Kerouac
I don't think there's any reason one couldn't write externs to make point-to-point signal connections over a networ, using the subset of threads that Windows supports. I think that whether to use point-to-point or broadcast is a separate question. Also, most receivers of "streams" just put out garbage when the signal degrades; a "netreceive~" object could be coded to do the same if desired.
cheers Miller
On Sun, May 16, 2004 at 05:37:45PM +0200, Tim Blechmann wrote:
I believe pthreads-win32 doesn't handle signals ala posix (I don't know how anyone could do this in Windoes) but is as compatible as possible given that it runs on windows.
i see, so it's probably a good idea to use broadcasts instead of signals...
cheers...
Tim mailto:TimBlechmann@gmx.de ICQ: 96771783 -- The only people for me are the mad ones, the ones who are mad to live, mad to talk, mad to be saved, desirous of everything at the same time, the ones who never yawn or say a commonplace thing, but burn, burn, burn, like fabulous yellow roman candles exploding like spiders across the stars and in the middle you see the blue centerlight pop and everybody goes "Awww!" Jack Kerouac
I don't think there's any reason one couldn't write externs to make point-to-point signal connections over a networ, using the subset of threads that Windows supports. I think that whether to use point-to-point or broadcast is a separate question. Also, most receivers of "streams" just put out garbage when the signal degrades; a "netreceive~" object could be coded to do the same if desired.
well, i'm not familiar with windows programming at all ...
i'm trying to set up a global soundfiler thread and until now i was using signals to wake up this thread ... so this probably won't work on windows systems ... ... but first of all it has to become stable
cheers....
Tim mailto:TimBlechmann@gmx.de ICQ: 96771783 -- The only people for me are the mad ones, the ones who are mad to live, mad to talk, mad to be saved, desirous of everything at the same time, the ones who never yawn or say a commonplace thing, but burn, burn, burn, like fabulous yellow roman candles exploding like spiders across the stars and in the middle you see the blue centerlight pop and everybody goes "Awww!" Jack Kerouac
well, "conditions" and pthread_cond_signal() work in windows just fine... that's probably a better mechanism to use than unix signals in the first place.
cheers Miller
On Sun, May 16, 2004 at 07:09:32PM +0200, Tim Blechmann wrote:
I don't think there's any reason one couldn't write externs to make point-to-point signal connections over a networ, using the subset of threads that Windows supports. I think that whether to use point-to-point or broadcast is a separate question. Also, most receivers of "streams" just put out garbage when the signal degrades; a "netreceive~" object could be coded to do the same if desired.
well, i'm not familiar with windows programming at all ...
i'm trying to set up a global soundfiler thread and until now i was using signals to wake up this thread ... so this probably won't work on windows systems ... ... but first of all it has to become stable
cheers....
Tim mailto:TimBlechmann@gmx.de ICQ: 96771783 -- The only people for me are the mad ones, the ones who are mad to live, mad to talk, mad to be saved, desirous of everything at the same time, the ones who never yawn or say a commonplace thing, but burn, burn, burn, like fabulous yellow roman candles exploding like spiders across the stars and in the middle you see the blue centerlight pop and everybody goes "Awww!" Jack Kerouac
PD-list mailing list PD-list@iem.at to manage your subscription (including un-subscription) see http://iem.at/cgi-bin/mailman/listinfo/pd-list
well, "conditions" and pthread_cond_signal() work in windows just fine... that's probably a better mechanism to use than unix signals in the first place.
ah, i see ... i was talking about this signals ... missunderstanding...
cheers...
Tim mailto:TimBlechmann@gmx.de ICQ: 96771783 -- The only people for me are the mad ones, the ones who are mad to live, mad to talk, mad to be saved, desirous of everything at the same time, the ones who never yawn or say a commonplace thing, but burn, burn, burn, like fabulous yellow roman candles exploding like spiders across the stars and in the middle you see the blue centerlight pop and everybody goes "Awww!" Jack Kerouac
Hi Tim [or anybody else!]
Can you tell me what the proper file extension for the Loopool 63 package which lives at http://pure-data.iem.at/Members/timblech/loopool63/view is?
Since no file extension was provided, or the database has lost it, I can't really figure out how to expand/unzip it. It says it is a x-bzip2 file, but adding the bz2 extension and using bunzip2 doesn't do the trick.
Thx, d.
It should probably be .tar.bz2 that's my guess.
.hc
On May 17, 2004, at 5:29 PM, derek holzer wrote:
Hi Tim [or anybody else!]
Can you tell me what the proper file extension for the Loopool 63
package which lives at http://pure-data.iem.at/Members/timblech/loopool63/view is?Since no file extension was provided, or the database has lost it, I
can't really figure out how to expand/unzip it. It says it is a
x-bzip2 file, but adding the bz2 extension and using bunzip2 doesn't
do the trick.Thx, d.
--
derek holzer ::: http://www.umatic.nl ---Oblique Strategy # 133: "remember quiet evenings"
PD-list mailing list PD-list@iem.at to manage your subscription (including un-subscription) see http://iem.at/cgi-bin/mailman/listinfo/pd-list
"Information wants to be free." -Stewart Brand
OK,
Hans-Christoph Steiner wrote:
It should probably be .tar.bz2 that's my guess.
'file' reports it to be a POSIX tar archive. So I added .tar to the name, and it untarred fine. Looking in the archive, I seemed to have had this problme once before already. You think I would remember! ;-)
I guess the bigger problem is that when Plone adds files to pure-data.org, it asks for a title. One would assume that Plone would take the file extension from the uploaded file, but it doesn't. So, if the file extension isn't given in the title, then it will not appear on the downloaded file, because what you download is given the same name as the title you give, not the name of the original file!
[At least that is the way it works with Mozilla on Linux... maybe M$IE does it different? ;-) ]
I don't know who exactly to address this to, but I think it is a bug/inconvenience/user-unfriendliness that should be fixed.
best, d.
Hi,
Zitat von derek holzer derek@x-i.net:
Hans-Christoph Steiner wrote:
It should probably be .tar.bz2 that's my guess.
'file' reports it to be a POSIX tar archive. So I added .tar to the name, and it untarred fine. Looking in the archive, I seemed to have had this problme once before already. You think I would remember! ;-)
It might also be, that is was auto-decompressed from .gz by your browser. Mozilla and others like to do such stupid things...
Frank Barknecht _ ___footils.org_
Frank,
Frank Barknecht wrote:
It might also be, that is was auto-decompressed from .gz by your browser. Mozilla and others like to do such stupid things...
However, the link on the webpage actually *is* to a file without an extension. Check it and see.
Whether Mozilla behaves badly or not, the problem is still that Plone names the file after the title given, and not the name of the file which is uploaded.
d.
Hallo, derek holzer hat gesagt: // derek holzer wrote:
Frank Barknecht wrote:
It might also be, that is was auto-decompressed from .gz by your browser. Mozilla and others like to do such stupid things...
However, the link on the webpage actually *is* to a file without an extension. Check it and see.
Okay, I checked:
$ wget http://pure-data.iem.at/Members/timblech/loopool63 --19:22:45-- http://pure-data.iem.at/Members/timblech/loopool63 => `loopool63' Resolving pure-data.iem.at... done. Connecting to pure-data.iem.at[193.170.191.181]:80... connected. HTTP request sent, awaiting response... 200 OK Length: 111,477 [application/x-bzip2]
100%[========================================================>] 111,477 99.88K/s ETA 00:00
19:22:46 (99.88 KB/s) - `loopool63' saved [111477/111477]
$ file loopool63 loopool63: bzip2 compressed data, block size = 900k
$ tar tjvf loopool63 drwxr-xr-x tim/users 0 2003-09-18 06:55:32 loopool/ -rw-rw-r-- tim/users 96 2003-02-10 13:21:53 loopool/n.pd -rw-r--r-- tim/users 10575 2003-07-27 19:31:07 loopool/scrubS.pd ...
Whether Mozilla behaves badly or not, the problem is still that Plone names the file after the title given, and not the name of the file which is uploaded.
Well true, but also not: This is a user error. Plone doesn't give the file a name at all, but you have to give the filename yourself. It's in the "edit" tap, but you also get asked for a filename when uploading.
The "edit" tab has two fields: "Name" and "Title". With the power of an admin I looked at what "Name" Tim gave, and that's "loopool63". He *should* have given a "Name" like "loopool63.tar.bz2" instead. The "Title" of that file is "Loopool 63" btw.
There are a several files on the site, where owners gave wrong names.
Frank Barknecht _ ______footils.org__
However, the link on the webpage actually *is* to a file without an extension. Check it and see.
i'll check that ... anyway, i'm not familiar with plone, so i'm sorry if i didn't use the web interface correctly
cheers...
Tim mailto:TimBlechmann@gmx.de ICQ: 96771783 -- The only people for me are the mad ones, the ones who are mad to live, mad to talk, mad to be saved, desirous of everything at the same time, the ones who never yawn or say a commonplace thing, but burn, burn, burn, like fabulous yellow roman candles exploding like spiders across the stars and in the middle you see the blue centerlight pop and everybody goes "Awww!" Jack Kerouac