[PD] R: PD-list Digest, Vol 28, Issue 65
azz..le ho inviate anche io iericn anche un breve testo per gyorgy ludwig van gauss lowe Messaggio originale Da: pd-list- [EMAIL PROTECTED] Data: 13-lug-2007 11.56 PM A: pd-list@iem.at Ogg: PD- list Digest, Vol 28, Issue 65 Send PD-list mailing list submissions to pd-list@iem.at To subscribe or unsubscribe via the World Wide Web, visit http://lists.puredata.info/listinfo/pd-list or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach the person managing the list at [EMAIL PROTECTED] When replying, please edit your Subject line so it is more specific than Re: Contents of PD-list digest... Today's Topics: 1. Re: Pd- 0.39.2-extended-rc4 released on ubuntu (Miller Puckette) 2. Clicking noise since installation of Py/Pyext (Chris) 3. Re: Pd-0.39.2- extended-rc4 released on ubuntu (Mathieu Bouchard) 4. changing volume depending on frequency (Marko Timlin) 5. Re: changing volume depending on frequency (Andy Farnell) 6. Re: Clicking noise since installation of Py/Pyext (Andy Farnell) 7. Re: Clicking noise since installation of Py/Pyext (Chris) 8. New sensor project video (Spencer Russell) 9. Re: Pd-0.39.2-extended-rc4 released on ubuntu (Mathieu Bouchard) 10. Re: console focus after soundfiler load (Patrice Colet) ___ PD-list mailing list PD-list@iem.at to manage your subscription (including un- subscription) see http://lists.puredata.info/listinfo/pd-list ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] changing volume depending on frequency
Hallo, Andy Farnell hat gesagt: // Andy Farnell wrote: One thing you might like to look at is the Fletcher Munsen curve. There isn't a hard mathematical relationship between perceived amplitude (loudness) and frequency, it's more of a biological and psychoacoustic effect, and somewhat subjective between listeners. http://ccrma.stanford.edu/CCRMA/Courses/SummerWorkshops/96/Psychoacoustics/labs/loudness/ The Pd solution to this is to use lookup tables to scale amplitude, a bit less fiddly than setting up a piecewise function. Also see [mtx_phon_curve] in Iemmatrix. Ciao -- Frank Barknecht _ __footils.org_ __goto10.org__ ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Pd-0.39.2-extended-rc4 released on ubuntu
Hans-Christoph Steiner wrote: On Jul 13, 2007, at 1:43 AM, Frank Barknecht wrote: Debian with libpam-modules 0.79-4. I wonder how to set up something like this in a package. Too bad i daresay you don't. how about adding documentation to the README that explain how to setup the /etc/security/limits.conf just for the archives i repeat the steps: make sure, your /etc/security/limits.conf holds these 3 lines: @audio - rtprio 99 @audio - memlock 25 @audio - nice -10 imho, it would be not such a good idea to do that in the package-setup, at least _without asking_ the user whether they really want that. even though the adding these lines is far from as dangerous as the setuid(), it still imposes the risk of anyone being a member of group audio to freeze the computer, which - to my knowledge - is a security risk. if you do think that it is too much, to ask people to read the readme and do it yourself, you could use debconf (on debian/ubuntu) to ask the user whether they really want that. on non-debian systems i don't know, but surely there are mechanisms that allow the same. there isn't something like /etc/security.d/, where packages can install things. Anyone have any ideas along that line? I guess one the problem is, that /etc/security/limits.conf is not a per-application but a per-user (including per-group) setting. so it does have side-effects, which is probably the reason why there is no such thing as you asked for. fmgasd.r IOhannes ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Pd-0.39.2-extended-rc4 released on ubuntu
IOhannes m zmoelnig wrote: just for the archives i repeat the steps: make sure, your /etc/security/limits.conf holds these 3 lines: oops, should have read the entire thread before answering. so i know that frank has already posted this (i thought that miller was probably referring to an older post which i had missed) mgfa.sdr IOhannes ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] some music my PD made
Hi PD'ers trax @ http://steffen.menneske.dk/ether/ -CordicTripod.mp3 -deepGreen.mp3 -fsatEddie.mp3 -roughGuideToPeace.mp3 playlist ether.m3u mvh Steffen Leve Poulsen aka pulsed o-o http://steffen.menneske.dk http://www.myspace.com/pulsed444 ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] /etc/security/limits.conf WAS Re: Pd-0.39.2-extended-rc4 released on ubuntu
Can anyone make a wiki page about this on http://puredata.org/docs ? It would be quite handy to have. Also, I'd love to hear suggestions how to make this part of the Pd- extended package. I think it makes a lot of sense to have this a debconf question. I suppose setuid could be a debconf question as well. .hc On Jul 13, 2007, at 12:32 PM, Miller Puckette wrote: Aha, on the next boot it worked. Thanks! Miller On Fri, Jul 13, 2007 at 07:43:10AM +0200, Frank Barknecht wrote: Hallo, Miller Puckette hat gesagt: // Miller Puckette wrote: Pd does a seteuid(setuid()) to un-get root priveliges if run as setuid, after its priority gets promoted, so that it runs as the user who started it. But there are apparently loopholes, as Mathieu has found. I'm trying to repeat Frank's trick with /etc/security/ limits.conf, so far without success, but if that works it would be much preferable to making Pd setuid root. Here it works for several months at least: (~)-$ ls -l /usr/bin/pd -rwxr-xr-x 1 root root 809768 May 31 19:05 /usr/bin/pd (~)-$ /usr/bin/pd -rt priority 8 scheduling enabled. priority 6 scheduling enabled. Debian with libpam-modules 0.79-4. Ciao -- Frank Barknecht _ __footils.org_ __goto10.org__ ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/ listinfo/pd-list ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/ listinfo/pd-list [W]e have invented the technology to eliminate scarcity, but we are deliberately throwing it away to benefit those who profit from scarcity.-John Gilmore ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] setuid WAS Re: Pd-0.39.2-extended-rc4 released on ubuntu
On Sat, 14 Jul 2007, Hans-Christoph Steiner wrote: On Jul 13, 2007, at 3:36 PM, Mathieu Bouchard wrote: I reported this bug last november: http://lists.puredata.info/pipermail/pd-dev/2006-11/007910.html I have fixed that bug in devel_0_39 on 2006.11.23. It would be very nice to have this bug fix as a patch in the tracker so that it can be included in pd-vanilla and pd-extended. Well, I've already given you the date... here's the URL to the actual patch: http://lists.puredata.info/pipermail/pd-cvs/2006-11/008738.html (I didn't dare touch the comment's spelling though...) _ _ __ ___ _ _ _ ... | Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Poll: Ctrl-click to toggle editmode
I found the Max/MSP style Cmd-Click to toggle edit mode quite annoying in Pd. So I switched it to the Pd-style Ctrl-Click. Cmd- Click now allows you to interact with GUI objects when in edit mode. I think this makes the most sense. Any objections? .hc On Jul 13, 2007, at 9:24 PM, hard off wrote: command E / ctrl E, which i have always used, is weird now on osX . for a start, you have to actually move the mouse to see the cursor change from an arrow to a hand. also, if you use command E with the mouse clicked (when selecting objects for edit), then command E is double triggering. i could possibly get used to the new command click method, but just want to let you know that this change has broken the existing command E function. my vote is a NO for command click unless the original command E function works properly again. There is no way to peace, peace is the way. -A.J. Muste ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Can't use standard C libraries on external compilation for windows using MINGW
Hello: I followed Alberto Zin's instructions for compiling pd externals using Mingw and they worked OK. But: I modified de hello.c code adding the opening and closing of a file. Of course, the stdio.h header file must be added to the code. Attached to this message is the modified hello.c. The code compiles Ok, and I get the hello.o using the following command line: C:\pd\isidro\hellogcc -c hello.c -o hello.o But when I try to link to get the Dll file, I get the following message: C:\pd\isidro\hellold -export_dynamic -shared -o hello.dll hello.o c:/pd/bin/pd.dll hello.o(.text+0x16):hello.c: undefined reference to `fopen' hello.o(.text+0x30):hello.c: undefined reference to `fclose' The same I get if I use some Standard Library Function like string.h or other... Maybe I am doing something really stupid but if you know what's up it will save lots of time to me... Many thanks Isi Get the free Yahoo! toolbar and rest assured with the added security of spyware protection. http://new.toolbar.yahoo.com/toolbar/features/norton/index.php#include m_pd.h #include stdio.h static t_class *hello_class; typedef struct _hello{ t_object x_obj; } t_hello; void hello_bang(t_hello *x) { FILE *fil; fil=fopen(any,rb); post(File any opened); fclose(fil); } void *hello_new(void) { t_hello *x = (t_hello *)pd_new(hello_class); return (void *)x; } void hello_setup(void) { hello_class = class_new(gensym(hello), (t_newmethod)hello_new, 0, sizeof(t_hello), CLASS_DEFAULT, 0); class_addbang(hello_class, hello_bang); } ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] setuid WAS Re: Pd-0.39.2-extended-rc4 released on ubuntu
Hi Hans, In general, I've held off fixing bugs in 0.39 for fear of introducing new problems, especially since you've been working for so long to get Pd extended out. But this one is special since it's a security leak, so I'm inclined to fix it. If past experience is any guide, I'll make a mistake in a CVS commit and wreak havoc that will take days to clear up. Well, maybe not, who knows. I'm hoping it will prove easy enough to plug 0.40 into the extended release mechanism that for non-security bug fixes, it will suffice for me to fix them in 0.40 and wait for the march of time to propagate the fix. For instance, once I find the open-GOP-close-patch bug, I can fix that both in 0.40 and latest but leave 0.39 alone. Unless there's reason not to, I'll take the single offending 'e' character out of 0.39, tag it 0.39-3, and commit... ? cheers Miller On Sat, Jul 14, 2007 at 12:33:25PM -0400, Hans-Christoph Steiner wrote: On Jul 13, 2007, at 3:36 PM, Mathieu Bouchard wrote: On Thu, 12 Jul 2007, Hans-Christoph Steiner wrote: This is only possible if you are running Pd as root, which is general is not a good idea. If Pd is running as a different user, then you wouldn't be able to gain root access. We are *only* talking about setuid (chmod +s) and not starting pd from a root login. If pd is running as user eighthave but with setuid root, pd is dropping priviledges to be effectively just eighthave, but does it the wrong way, causing it to be able to regain effective root later. I reported this bug last november: http://lists.puredata.info/pipermail/pd-dev/2006-11/007910.html I have fixed that bug in devel_0_39 on 2006.11.23. Sorry, I didn't see the part that it was just related to setuid. It would be very nice to have this bug fix as a patch in the tracker so that it can be included in pd-vanilla and pd-extended. .hc _ _ __ ___ _ _ _ ... | Mathieu Bouchard - t?l:+1.514.383.3801, Montr?al QC Canada Access to computers should be unlimited and total. - the hacker ethic ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] /etc/security/limits.conf WAS Re: Pd-0.39.2-extended-rc4 released on ubuntu
Hallo, Hans-Christoph Steiner hat gesagt: // Hans-Christoph Steiner wrote: Can anyone make a wiki page about this on http://puredata.org/docs ? It would be quite handy to have. Also, I'd love to hear suggestions how to make this part of the Pd- extended package. I think it makes a lot of sense to have this a debconf question. I suppose setuid could be a debconf question as well. I *really* don't think, that every audio software on the planet should try to setup a user's system for a certain way of realtime operation. If at all, this should be done only by the package libpam-modules or maybe by some meta-package (e.g. realtime-desktop) that the puredata package could recommend. The rlimits approach will soon be common knowledge among all Linux audio users anyway. Adding a note to /usr/share/doc/puredata/README.Debian would be something to consider, of course. Ciao -- Frank Barknecht _ __footils.org_ __goto10.org__ ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] /etc/security/limits.conf WAS Re: Pd-0.39.2-extended-rc4 released on ubuntu
Frank Barknecht wrote: [...] its astonishing, how often we agree... mfga.sdr IOhannes ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] setuid WAS Re: Pd-0.39.2-extended-rc4 released on ubuntu
Oh, is this already fixed in more recent versions? I don't need to include in this release. .hc On Jul 14, 2007, at 1:49 PM, Miller Puckette wrote: Hi Hans, In general, I've held off fixing bugs in 0.39 for fear of introducing new problems, especially since you've been working for so long to get Pd extended out. But this one is special since it's a security leak, so I'm inclined to fix it. If past experience is any guide, I'll make a mistake in a CVS commit and wreak havoc that will take days to clear up. Well, maybe not, who knows. I'm hoping it will prove easy enough to plug 0.40 into the extended release mechanism that for non-security bug fixes, it will suffice for me to fix them in 0.40 and wait for the march of time to propagate the fix. For instance, once I find the open-GOP-close-patch bug, I can fix that both in 0.40 and latest but leave 0.39 alone. Unless there's reason not to, I'll take the single offending 'e' character out of 0.39, tag it 0.39-3, and commit... ? cheers Miller On Sat, Jul 14, 2007 at 12:33:25PM -0400, Hans-Christoph Steiner wrote: On Jul 13, 2007, at 3:36 PM, Mathieu Bouchard wrote: On Thu, 12 Jul 2007, Hans-Christoph Steiner wrote: This is only possible if you are running Pd as root, which is general is not a good idea. If Pd is running as a different user, then you wouldn't be able to gain root access. We are *only* talking about setuid (chmod +s) and not starting pd from a root login. If pd is running as user eighthave but with setuid root, pd is dropping priviledges to be effectively just eighthave, but does it the wrong way, causing it to be able to regain effective root later. I reported this bug last november: http://lists.puredata.info/pipermail/pd-dev/2006-11/007910.html I have fixed that bug in devel_0_39 on 2006.11.23. Sorry, I didn't see the part that it was just related to setuid. It would be very nice to have this bug fix as a patch in the tracker so that it can be included in pd-vanilla and pd-extended. .hc _ _ __ ___ _ _ _ ... | Mathieu Bouchard - t?l:+1.514.383.3801, Montr?al QC Canada - --- Access to computers should be unlimited and total. - the hacker ethic ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/ listinfo/pd-list ¡El pueblo unido jamás será vencido! ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] setuid WAS Re: Pd-0.39.2-extended-rc4 released on ubuntu
On Sat, 14 Jul 2007, Hans-Christoph Steiner wrote: Oh, is this already fixed in more recent versions? I don't need to include in this release. What Miller is saying is that he intends to plug the hole in 0.40, and contemplates whether to also release a new 0.39. There is currently no Miller release that does it. You can see that by looking at Miller's home page. It lists which versions there are. 0.40 is still 0.40-2; 0.39 is still 0.39-2. _ _ __ ___ _ _ _ ... | Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] /etc/security/limits.conf WAS Re: Pd-0.39.2-extended-rc4 released on ubuntu
On Jul 14, 2007, at 2:16 PM, Frank Barknecht wrote: Hallo, Hans-Christoph Steiner hat gesagt: // Hans-Christoph Steiner wrote: Can anyone make a wiki page about this on http://puredata.org/docs ? It would be quite handy to have. Also, I'd love to hear suggestions how to make this part of the Pd- extended package. I think it makes a lot of sense to have this a debconf question. I suppose setuid could be a debconf question as well. I *really* don't think, that every audio software on the planet should try to setup a user's system for a certain way of realtime operation. If at all, this should be done only by the package libpam-modules or maybe by some meta-package (e.g. realtime-desktop) that the puredata package could recommend. The rlimits approach will soon be common knowledge among all Linux audio users anyway. Adding a note to /usr/share/doc/puredata/README.Debian would be something to consider, of course. If someone writes that README, I'll happily add it to the package. I think that docs or packages/linux_make could work as a place in CVS for it. Ciao -- Frank Barknecht _ __footils.org_ __goto10.org__ ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/ listinfo/pd-list [W]e have invented the technology to eliminate scarcity, but we are deliberately throwing it away to benefit those who profit from scarcity.-John Gilmore ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] a little further bonk question
hi, i haven't understand if you want a delay on the triggered sample or a delay between trigger and sample start first case: there are many delay patches out there if you want to process a sample... second case: you can use a |delay| object after bonk to delay instrument number transmission. regards jk --- henrik wurster [EMAIL PROTECTED] ha scritto: hello all, I have a question to bonk object. if bonk detects a percussion hit, and is told to play a particular sample, is it possible to implement a kind of delay using a delay effect patch ? or is bonk able to generate delays by itself...? with best regards, - henrik ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] GEM: GLSL effects
Wow, this is a great resource! I'm still really enjoying all of the discussion of GLSL! ~Kyle On 7/14/07, cyrille henry [EMAIL PROTECTED] wrote: Cypod a écrit : I found a webpage that has published some code for creating effects with glsl, and I am trying to get them to work in pd http://dem.ocracy.org/libero/photobooth/ There are some other cool effects, eventually it could be a cool patch idea. Do yo need a vert? no, we don't need a vert I am trying to plug this into the deform_texture.pd patch. So far this is the frag that I have worked out so far: ok, here is a corrected version of this patch. cyrille uniform sampler2D texture; void main(void) { vec2 texCoord = (gl_TexCoord[0].st); // [0.0 ,1.0] x [0.0, 1.0] vec2 normCoord = 2.0 * texCoord - 1.0; // [-1.0 ,1.0] x [-1.0, 1.0] normCoordNew = Effect(normCoord) rNew, phiNew = Effect(r, phi) float r = length(normCoord); // to polar coords float phi = atan(normCoord.y, normCoord.x); // to polar coords r = pow(r, 1.0/1.8) * 0.8 normCoord.x = r * cos(phi); normCoord.y = r * sin(phi); texCoord = normCoord / 2.0 + 0.5; // [0.0 ,1.0] x [0.0, 1.0] color = texture2D(sampler, texCoord); gl_FragColor = color; } ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- - - - -- http://perhapsidid.wordpress.com ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] [PD-announce] introducing [tracecall] !
using a [tracecall] object you can trace back the original cause of messages. see: http://artengine.ca/desiredata/gallery/tracecall-help.png notes: [message] is the messagebox class [message] uses [messresponder] to send messages [__manager] represents the mouse click _ _ __ ___ _ _ _ ... | Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada___ PD-announce mailing list [EMAIL PROTECTED] http://lists.puredata.info/listinfo/pd-announce ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list