Re: [PD] naming objects
On Apr 26, 2010, at 12:59 PM, Claude Heiland-Allen wrote: Mathieu Bouchard wrote: On Mon, 26 Apr 2010, Claude Heiland-Allen wrote: One way of fixing this once and for all would be to have a separate [objectmaker] for each canvas (including abstractions, but not subpatches, ie, those canvases that have a t_canvasenvironment attached to them - at least that is how I understand that part of Pd's code). Thanks for bringing back the topic. There was a thread about that on pd-dev in september 2006, e.g. : http://lists.puredata.info/pipermail/pd-dev/2006-09/007591.html http://lists.puredata.info/pipermail/pd-dev/2006-09/007605.html http://lists.puredata.info/pipermail/pd-dev/2006-09/007607.html http://lists.puredata.info/pipermail/pd-dev/2006-09/007608.html http://lists.puredata.info/pipermail/pd-dev/2006-09/007609.html etc Thanks for the references. I have a vague sketch of an implementation like this already, but it's quite brutal to the core of Pd so I doubt the changes would be accepted by anyone without me cleaning it up a lot and providing a clean .diff to a current development version of Pd... cleanliness is in the eye of the beholder... if you spend a lot of time cleaning, you can realise that it doesn't look any cleaner to the people you want to please, or else it can look dirtier. True... apart from that, I think that you deserve good luck with this project and I am happy to learn that you succeeded. Still got abstraction support to re-enable, hopefully it will work as planned - then I can claim success :-) Thanks :-) but how does «t_pd *pd_newest» work in that context ? newest is set when typedmess() sees that (target == pd_objectmaker). So the default pd_objectmaker defers to the canvas- local objectmaker, which sets pd_objectmaker to itself (before retrying after any ondemand load) or a child (for imported libraries) objectmaker before calling typedmess() and inspecting newest. So it's just another layer of baroque hackery, with special behaviour needed in [bang] [float] [symbol] and probably a couple of others some names changed for no good reason other than to see what would break in the rest of Pd: 8< /* called when no more-specific method is found, happily this happens at the top level canvas-local factory, so we can switch the default td_legacy_objectmaker before too much damage is done... */ static void td_objectfactory_anything(td_objectfactory *of, t_symbol *s, int argc, t_atom *argv) { newest = 0; td_list *n; td_ondemand *od = td_map_lookup(of->ondemand, s); if (od) { /* push object factory */ td_objectfactory *old = td_legacy_objectmaker; td_legacy_objectmaker = of; /* load on demand */ td_map_delete(of->ondemand, s); td_ondemand_load(od); td_ondemand_free(od); /* retry creation */ /* typedmess tests for td_legacy_objectmaker */ typedmess(&td_legacy_objectmaker->pd, s, argc, argv); /* pop object factory */ td_legacy_objectmaker = old; if (newest) { return; } } for (n = of->children; n; n = n->next) { td_objectfactory *c = n->p; td_objectfactory *old = td_legacy_objectmaker; td_legacy_objectmaker = c; /* typedmess tests for td_legacy_objectmaker */ typedmess(&td_legacy_objectmaker->pd, s, argc, argv); td_legacy_objectmaker = old; if (newest) { return; } } } 8< This is some really interesting work, I am looking forward to trying it out. I haven't really thought much about the implementation, but I like the idea that the canvas-local namespace is blank until loading something. We might consider having a library that loads by default, something like how python loads a default library. .hc "A cellphone to me is just an opportunity to be irritated wherever you are." - Linus Torvalds ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] PD autoselects from a folder
Try [tof/folderpanel] or [import tof] [folderpanel] .hc On Apr 26, 2010, at 7:06 PM, Ben Baker-Smith wrote: Patrick, [folderpanel] is an object from the TOF library, which is included with pd-extended but which I always have to add manually in the paths menu (don't know why this is, my guess is: bug). [$n 1] is short for [dollarg] from the iemlib (also included with pd-extended). I'm not sure what the problem is with it, but it doesn't always load for me either. In fact, I'm going to contact the list about it now. I fixed a couple things including replacing [$n 1] with [dollarg] and correcting the output of the right outlet, and attached the new version to this message. To get it working you should just have to add the TOF library to your paths and/or startup (I have it in both, don't remember which is required), in order for it to recognize [folderpanel]. Hope that does it. -Ben On Mon, Apr 26, 2010 at 3:54 PM, Pagano, Patrick wrote: Looks like it's missing "folderpanel" and &n 1 -Original Message- From: Ben Baker-Smith [mailto:bbakersm...@gmail.com] Sent: Monday, April 26, 2010 2:33 PM To: Pagano, Patrick Cc: pd list Subject: Re: [PD] PD autoselects from a folder Oops, looks like I left a couple [print] objects in the abstraction from when I was debugging it. You can delete [print STACK2] [print STACK3] [print STACK4] On Mon, Apr 26, 2010 at 12:42 PM, Ben Baker-Smith > wrote: Patrick, Here's an abstraction I made to handle file browsing with a GUI interface. I actually based it on one of the PDMTL abstractions, having not known until this thread that [playlist] existed. Anyway, it should do all the same things playlist does, except for being resizeable. You can select files by index or using the GUI. The right outlet gives you the number of loaded files, so you can use this to set the range of a [random] object and use it to select files by index. Attached is the patch and its help file. -Ben On Mon, Apr 26, 2010 at 10:44 AM, Pagano, Patrick wrote: This is a VERY helpful patch, thanks. I wish we could have something like playlist~ for windows. pp -Original Message- From: pd-list-boun...@iem.at [mailto:pd-list-boun...@iem.at] On Behalf Of Ben Baker-Smith Sent: Sunday, April 25, 2010 2:35 AM To: Andrew Faraday; pd list Subject: Re: [PD] PD autoselects from a folder Hey All It's the perpetual newbie here again. I've been working on a generative gem patch (to run on a seperate machine when I work) and I want this to load >and re-load images from a selected folder. So far the only thing remotely like it I've found is [openpanel] which requires a user to choose. I really want an >object to load files from this directory randomly or sequentially without human interaction. I think I've seen something like this before, just no idea what it >is. Also, I could use something like it for audio Thanks Andrew This patch will do what you want. It was originally created for audio loops, but will work for any directory or file extension. -Ben ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list "Free software means you control what your computer does. Non-free software means someone else controls that, and to some extent controls you." - Richard M. Stallman ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] pd-logo.svg
On Wed, 28 Apr 2010, red honki wrote: hi,http://www.flickr.com/photos/honki/4556521354/ i have modify it. how about it? I don't think you understand what I mean. I mean that the gradient looks like it is a lighting effect, but it looks like it is contradicting the logic of the shadow. I was talking about what the picture is suggesting to the viewer. It's also fine to choose to not make it realistic : I just wanted you to notice the difference between the two impressions of light source. _ _ __ ___ _ _ _ ... | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] list operation
Ha ha, mine had a hilarious and totally unnecessary extra [list-map]. That's what happens when you work hastily... how embarrassing; oh well. MB On Tue, Apr 27, 2010 at 9:13 PM, Jack wrote: > True, so now it should be OK (patch attached). > I didn't think of this eventuality. > ++ > > Jack > > > > Le mardi 27 avril 2010 à 20:50 -0400, Matt Barber a écrit : >> One thing to watch out for; if you get two items in the list that are >> equally as far as the test value, mine outputs one list with the value >> replacement at each appropriate index, while Jack's outputs several >> lists with the value replacement at only one index, but each >> replacement sequentially, if that makes any sense. >> >> So if the test value is 2.02, and the input list is <1 0 3 2 4 3 3 2 0 >> 4>, mine will output: >> >> <1 0 3 2.02 4 3 3 2.02 0 4> as one list, while Jack's gives two lists: >> >> <1 0 3 2.02 4 3 3 2 0 4> >> <1 0 3 2 4 3 3 2.02 0 4> >> >> Matt >> >> On Tue, Apr 27, 2010 at 8:16 PM, Jack wrote: >> > An alternative. Also full pure-pd. >> > ++ >> > >> > Jack >> > >> > >> > >> > Le mardi 27 avril 2010 à 18:49 -0400, Matt Barber a écrit : >> >> Try the attached (threw together using list-abs) -- right inlet is the >> >> value (12 in your example) and left inlet is the list of floats; I >> >> think this follows established list-abs syntax. >> >> >> >> It's possible that I overlooked a list-abs that already does this, and >> >> there is probably a step or two you could skip. >> >> >> >> You might get poor results if the list is a bang or contains symbols. >> >> >> >> Matt >> >> >> >> >> >> > Hello everyone, >> >> > >> >> > I would like to compare all the values in a list with a value of input >> >> > and >> >> > then decide which is the closest value and replace that value closer to >> >> > the >> >> > amount of input. >> >> > >> >> > For example, I have a list <2, 10, 35> and have an input value of <12> I >> >> > would like the list as output <2, 12, 35>. I'm almost getting, but the >> >> > patch >> >> > is so ugly that I will not show here, i'm sure there is a more elegant >> >> > solution. Does anyone have an idea? >> >> > tnx ;) >> >> > -- next part -- >> >> > An HTML attachment was scrubbed... >> >> > URL: >> >> > <http://lists.puredata.info/pipermail/pd-list/attachments/20100427/ac720c09/attachment-0001.htm> >> >> ___ >> >> 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] list operation
Ha. Probably should've looked at the others first, way better than mine. On Tue, Apr 27, 2010 at 7:48 PM, Ben Baker-Smith wrote: > This was a fun little problem. I haven't looked at the other > responses, but I whipped this up. Unlike some of the others, this > requires Pd-extended. > > -Ben > >>Hello everyone, >> >>I would like to compare all the values in a list with a value of input and >>then decide which is the closest value and replace that value closer to the >>amount of input. >> >>For example, I have a list <2, 10, 35> and have an input value of <12> I >>would like the list as output <2, 12, 35>. I'm almost getting, but the patch >>is so ugly that I will not show here, i'm sure there is a more elegant >>solution. Does anyone have an idea? >>tnx ;) > ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] list operation
True, so now it should be OK (patch attached). I didn't think of this eventuality. ++ Jack Le mardi 27 avril 2010 à 20:50 -0400, Matt Barber a écrit : > One thing to watch out for; if you get two items in the list that are > equally as far as the test value, mine outputs one list with the value > replacement at each appropriate index, while Jack's outputs several > lists with the value replacement at only one index, but each > replacement sequentially, if that makes any sense. > > So if the test value is 2.02, and the input list is <1 0 3 2 4 3 3 2 0 > 4>, mine will output: > > <1 0 3 2.02 4 3 3 2.02 0 4> as one list, while Jack's gives two lists: > > <1 0 3 2.02 4 3 3 2 0 4> > <1 0 3 2 4 3 3 2.02 0 4> > > Matt > > On Tue, Apr 27, 2010 at 8:16 PM, Jack wrote: > > An alternative. Also full pure-pd. > > ++ > > > > Jack > > > > > > > > Le mardi 27 avril 2010 à 18:49 -0400, Matt Barber a écrit : > >> Try the attached (threw together using list-abs) -- right inlet is the > >> value (12 in your example) and left inlet is the list of floats; I > >> think this follows established list-abs syntax. > >> > >> It's possible that I overlooked a list-abs that already does this, and > >> there is probably a step or two you could skip. > >> > >> You might get poor results if the list is a bang or contains symbols. > >> > >> Matt > >> > >> > >> > Hello everyone, > >> > > >> > I would like to compare all the values in a list with a value of input > >> > and > >> > then decide which is the closest value and replace that value closer to > >> > the > >> > amount of input. > >> > > >> > For example, I have a list <2, 10, 35> and have an input value of <12> I > >> > would like the list as output <2, 12, 35>. I'm almost getting, but the > >> > patch > >> > is so ugly that I will not show here, i'm sure there is a more elegant > >> > solution. Does anyone have an idea? > >> > tnx ;) > >> > -- next part -- > >> > An HTML attachment was scrubbed... > >> > URL: > >> > <http://lists.puredata.info/pipermail/pd-list/attachments/20100427/ac720c09/attachment-0001.htm> > >> ___ > >> Pd-list@iem.at mailing list > >> UNSUBSCRIBE and account-management -> > >> http://lists.puredata.info/listinfo/pd-list > > > > #N canvas 539 25 450 440 10; #X obj 136 89 list-drip; #X obj 136 112 -; #X obj 136 132 abs; #X obj 119 204 list-minmax; #X obj 119 227 list-find; #X obj 119 182 t l l; #X obj 119 297 list-replace; #X obj 119 274 f; #X obj 119 250 t b f; #X obj 219 37 inlet; #X obj 102 37 inlet; #N canvas 773 262 450 300 list 0; #X obj 135 32 inlet; #X obj 135 162 outlet; #X obj 235 32 inlet; #X msg 235 55 set; #X msg 135 111 1.02 2.02 0.98 0.02 1.98 0.98 0.98 0.02 2.02 1.98; #X msg 192 85 add2 \$1; #X obj 135 61 route bang; #X connect 0 0 6 0; #X connect 2 0 3 0; #X connect 3 0 4 0; #X connect 4 0 1 0; #X connect 5 0 4 0; #X connect 6 0 4 0; #X connect 6 1 5 0; #X restore 119 159 pd list; #X text 262 322 Jack/RYBN 2010; #X obj 205 297 t l; #X obj 102 322 list; #X obj 102 346 outlet; #X obj 102 61 t b b l b; #X connect 0 0 1 0; #X connect 1 0 2 0; #X connect 2 0 11 0; #X connect 3 0 4 0; #X connect 4 0 8 0; #X connect 5 0 3 0; #X connect 5 1 4 1; #X connect 6 0 13 0; #X connect 6 0 14 1; #X connect 7 0 6 0; #X connect 8 0 7 0; #X connect 8 1 6 1; #X connect 9 0 1 1; #X connect 9 0 7 1; #X connect 10 0 16 0; #X connect 11 0 5 0; #X connect 13 0 6 2; #X connect 14 0 15 0; #X connect 16 0 14 0; #X connect 16 1 11 0; #X connect 16 2 0 0; #X connect 16 2 6 2; #X connect 16 3 11 1; #N canvas 0 0 758 388 10; #X floatatom 208 211 5 0 0 0 - - -; #X obj 91 56 list-random 100 10; #X msg 91 30 bang; #X obj 91 81 t b a; #X obj 118 101 list prepend set; #X obj 118 121 list trim; #X obj 91 301 list prepend set; #X obj 91 321 list trim; #X text 250 211 <- the closest number in the list will be replace by this one; #X text 129 29 <- generate a random list; #X msg 91 162 1 0 3 2 4 3 3 2 0 4; #X obj 91 232 list-replace-closest; #X msg 91 343 1 0 3 2.02 4 3 3 2.02 0 4; #X connect 0 0 11 1; #X connect 1 0 3 0; #X connect 2 0 1 0; #X connect 3 0 10 0; #X connect 3 1 4 0; #X connect 4 0 5 0; #X connect 5 0 10 0; #X connect 6 0 7 0; #X connect 7 0 12 0; #X connect 10 0 11 0; #X connect 11 0 6 0; ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] list operation
One thing to watch out for; if you get two items in the list that are equally as far as the test value, mine outputs one list with the value replacement at each appropriate index, while Jack's outputs several lists with the value replacement at only one index, but each replacement sequentially, if that makes any sense. So if the test value is 2.02, and the input list is <1 0 3 2 4 3 3 2 0 4>, mine will output: <1 0 3 2.02 4 3 3 2.02 0 4> as one list, while Jack's gives two lists: <1 0 3 2.02 4 3 3 2 0 4> <1 0 3 2 4 3 3 2.02 0 4> Matt On Tue, Apr 27, 2010 at 8:16 PM, Jack wrote: > An alternative. Also full pure-pd. > ++ > > Jack > > > > Le mardi 27 avril 2010 à 18:49 -0400, Matt Barber a écrit : >> Try the attached (threw together using list-abs) -- right inlet is the >> value (12 in your example) and left inlet is the list of floats; I >> think this follows established list-abs syntax. >> >> It's possible that I overlooked a list-abs that already does this, and >> there is probably a step or two you could skip. >> >> You might get poor results if the list is a bang or contains symbols. >> >> Matt >> >> >> > Hello everyone, >> > >> > I would like to compare all the values in a list with a value of input and >> > then decide which is the closest value and replace that value closer to the >> > amount of input. >> > >> > For example, I have a list <2, 10, 35> and have an input value of <12> I >> > would like the list as output <2, 12, 35>. I'm almost getting, but the >> > patch >> > is so ugly that I will not show here, i'm sure there is a more elegant >> > solution. Does anyone have an idea? >> > tnx ;) >> > -- next part -- >> > An HTML attachment was scrubbed... >> > URL: >> > <http://lists.puredata.info/pipermail/pd-list/attachments/20100427/ac720c09/attachment-0001.htm> >> ___ >> 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] pd-logo.svg
hi, http://www.flickr.com/photos/honki/4556521354/ i have modify it. how about it? if have any suggests, can tell me, i will finish it. thx. 2010/4/27 Mathieu Bouchard > On Tue, 27 Apr 2010, red honki wrote: > > hi,i redraw pd logo for svg. if u are intresting, u can download it. thx. >> www.flickr.com/photos/honki/4556521354/ >> > > the gradient of the [pd] box suggests a lightsource at the top left, > whereas the the shadows suggest a lightsource at the top centre. > > _ _ __ ___ _ _ _ ... > | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] list operation
Hello i don't know if it is much prettier than yours. But it seems to work. However, writing it dirrectly in C would be better/easier, i think. left inlet takes a list and right inlet takes the value to compare (which can also be given as an argument). If you send a list containing symbols they will be ignored but stay in their original positions on output (probably you would never do that anyway). If you send a bang you get a bang. alabala -- ypatios y.list-replace-closest.pd Description: Binary data ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] list operation
An alternative. Also full pure-pd. ++ Jack Le mardi 27 avril 2010 à 18:49 -0400, Matt Barber a écrit : > Try the attached (threw together using list-abs) -- right inlet is the > value (12 in your example) and left inlet is the list of floats; I > think this follows established list-abs syntax. > > It's possible that I overlooked a list-abs that already does this, and > there is probably a step or two you could skip. > > You might get poor results if the list is a bang or contains symbols. > > Matt > > > > Hello everyone, > > > > I would like to compare all the values in a list with a value of input and > > then decide which is the closest value and replace that value closer to the > > amount of input. > > > > For example, I have a list <2, 10, 35> and have an input value of <12> I > > would like the list as output <2, 12, 35>. I'm almost getting, but the patch > > is so ugly that I will not show here, i'm sure there is a more elegant > > solution. Does anyone have an idea? > > tnx ;) > > -- next part -- > > An HTML attachment was scrubbed... > > URL: > > <http://lists.puredata.info/pipermail/pd-list/attachments/20100427/ac720c09/attachment-0001.htm> > ___ > Pd-list@iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list #N canvas 539 25 450 440 10; #X obj 142 89 list-drip; #X obj 142 112 -; #X obj 142 132 abs; #X obj 123 204 list-minmax; #X obj 123 227 list-find; #X obj 123 182 t l l; #X obj 123 297 list-replace; #X obj 123 274 f; #X obj 123 250 t b f; #X obj 219 37 inlet; #X obj 123 37 inlet; #X obj 123 321 outlet; #N canvas 773 262 450 300 list 0; #X obj 135 32 inlet; #X obj 135 162 outlet; #X obj 235 32 inlet; #X msg 235 55 set; #X msg 135 111 67 57 2 37 60 4 66 4 41 6; #X msg 192 85 add2 \$1; #X obj 135 61 route bang; #X connect 0 0 6 0; #X connect 2 0 3 0; #X connect 3 0 4 0; #X connect 4 0 1 0; #X connect 5 0 4 0; #X connect 6 0 4 0; #X connect 6 1 5 0; #X restore 123 159 pd list; #X obj 123 62 t b l b; #X text 262 322 Jack/RYBN 2010; #X connect 0 0 1 0; #X connect 1 0 2 0; #X connect 2 0 12 0; #X connect 3 0 4 0; #X connect 4 0 8 0; #X connect 5 0 3 0; #X connect 5 1 4 1; #X connect 6 0 11 0; #X connect 7 0 6 0; #X connect 8 0 7 0; #X connect 8 1 6 1; #X connect 9 0 1 1; #X connect 9 0 7 1; #X connect 10 0 13 0; #X connect 12 0 5 0; #X connect 13 0 12 0; #X connect 13 1 0 0; #X connect 13 1 6 2; #X connect 13 2 12 1; #N canvas 0 0 758 388 10; #X floatatom 208 211 5 0 0 0 - - -; #X obj 91 56 list-random 100 10; #X msg 91 30 bang; #X obj 91 81 t b a; #X obj 118 101 list prepend set; #X msg 91 162 4 56 90 62 50 17 2 40 82 17; #X obj 118 121 list trim; #X obj 91 301 list prepend set; #X msg 91 343 4 56 168 62 50 17 2 40 82 17; #X obj 91 321 list trim; #X text 250 211 <- the closest number in the list will be replace by this one; #X text 129 29 <- generate a random list; #X obj 91 232 list-replace-closest; #X connect 0 0 12 1; #X connect 1 0 3 0; #X connect 2 0 1 0; #X connect 3 0 5 0; #X connect 3 1 4 0; #X connect 4 0 6 0; #X connect 5 0 12 0; #X connect 6 0 5 0; #X connect 7 0 9 0; #X connect 9 0 8 0; #X connect 12 0 7 0; ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] gem pipe?
On Tue, 27 Apr 2010, Andrew Faraday wrote: I've recently tried to pass a gem chain through a [pipe] object (aiming to avoid multiple pipes going to translate and colour objects. However it seems the pipe object won't accept gemlists. Any ideas if there's an object that will do this? Gem operations have to happen in a definite time frame, because all OpenGL operations are going through a single pipe to the renderer. However, I'm pretty sure that we're currently using 3 definitions of the word "pipe" at once. By "multiple pipes" do you mean multiple connections from outlet to inlet ? Even if [pipe] allowed a gemstate to go through it, it doesn't mean it would do what you want it to do. for GL operations, the meaning of an operation is completely dependent on its order, and if it's not scheduled by [gemwin] itself, chances that it'll fall in the cracks between the frames and die. This does not apply to [pix...] objects, except the ones that are both pix and GL ([pix_texture] [pix_snap] [pix_snap2tex]). _ _ __ ___ _ _ _ ... | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
[PD] gem pipe?
Hey all I've recently tried to pass a gem chain through a [pipe] object (aiming to avoid multiple pipes going to translate and colour objects. However it seems the pipe object won't accept gemlists. Any ideas if there's an object that will do this? Thanks Andrew _ http://clk.atdmt.com/UKM/go/19780/direct/01/ Do you have a story that started on Hotmail? Tell us now___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] list operation
Try the attached (threw together using list-abs) -- right inlet is the value (12 in your example) and left inlet is the list of floats; I think this follows established list-abs syntax. It's possible that I overlooked a list-abs that already does this, and there is probably a step or two you could skip. You might get poor results if the list is a bang or contains symbols. Matt > Hello everyone, > > I would like to compare all the values in a list with a value of input and > then decide which is the closest value and replace that value closer to the > amount of input. > > For example, I have a list <2, 10, 35> and have an input value of <12> I > would like the list as output <2, 12, 35>. I'm almost getting, but the patch > is so ugly that I will not show here, i'm sure there is a more elegant > solution. Does anyone have an idea? > tnx ;) > -- next part -- > An HTML attachment was scrubbed... > URL: > <http://lists.puredata.info/pipermail/pd-list/attachments/20100427/ac720c09/attachment-0001.htm> list-replace-closest.pd Description: Binary data ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] logitech freedom 2.4 hid on mac osx
If its a standard USB HID joystick, it should "just work" with the [hid] object. .hc On Apr 27, 2010, at 3:28 PM, patrick mcnameeking wrote: Hey there list, I'm currently running osx and I came across a really nice logitech freedom 2.4 joystick second hand. On the logitech website there are no drivers for osx and the hid/joystick part of my pd-extended distro doesn't seem to be working and before I go switching operating systems and/or distros I was wondering if anyone else has had any luck using this this specific joystick in pd on osx. If so, what specific configuration did you use? Thanks in advance. Pat ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list 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
Re: [PD] Problems Following Floss "Generating Waveforms" Article
Hi Alex, I just checked this very quickly and I can't reproduce any visible or audible clipping or distortion of any kind. Can you see clipping in the table? Could you post a screenshot of it (off-list) maybe? D. On 4/27/10 4:06 PM, Alex Lucas wrote: Hello, I've been trying to follow the examples given in the Floss manual for generating waveforms using an array. Unfortunately I'm having problems as when I generate a sinewave in this way I seem to be getting an unwanted clipping noise. The standard osc~ object sounds a lot smoother in comparison. I've attached a patch which compares the two waveforms. The Floss article can be found here http://en.flossmanuals.net/PureData/GeneratingWaveforms Any help with this would be very much appreciated, it may just be my soundcard acting strangely. -- ::: derek holzer ::: http://macumbista.net ::: ---Oblique Strategy # 16: "Assemble some of the elements in a group and treat the group" ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] pd-extended 0.42.5 source
On Apr 27, 2010, at 1:42 PM, András Murányi wrote: On Tue, Apr 27, 2010 at 3:08 AM, michael noble wrote: On Tue, Apr 27, 2010 at 12:57 AM, Hans-Christoph Steiner > wrote: http://puredata.info/docs/developer/GettingPdSource .hc thanks Hans, that's exactly the link I was after. -m How about a direct link from the Downloads page? I'll be happy to make it if HC says yes. Sure makes sense. By the way, each release of Pd-extended is accompanied by the source tarball. .hc Terrorism is not an enemy. It cannot be defeated. It's a tactic. It's about as sensible to say we declare war on night attacks and expect we're going to win that war. We're not going to win the war on terrorism.- retired U.S. Army general, William Odom ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] compiling external for mac
Use the new library template, and it'll build 3x universal for you (i386 ppc x86_64). http://puredata.info/docs/developer/MakefileTemplate .hc On Apr 27, 2010, at 5:33 PM, Andrew May wrote: I'm looking for guidance on compiling some non-audio externals of mine as mac os fat binaries. The "howto" I found on line (for using xcode) did not work for me; and something's going wrong with the makefile I've used in the past. Thanks for any and all help. Cheers, Andrew ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list News is what people want to keep hidden and everything else is publicity. - Bill Moyers ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
[PD] compiling external for mac
I'm looking for guidance on compiling some non-audio externals of mine as mac os fat binaries. The "howto" I found on line (for using xcode) did not work for me; and something's going wrong with the makefile I've used in the past. Thanks for any and all help. Cheers, Andrew ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
[PD] list operation
Hello everyone, I would like to compare all the values in a list with a value of input and then decide which is the closest value and replace that value closer to the amount of input. For example, I have a list <2, 10, 35> and have an input value of <12> I would like the list as output <2, 12, 35>. I'm almost getting, but the patch is so ugly that I will not show here, i'm sure there is a more elegant solution. Does anyone have an idea? tnx ;) ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
[PD] Problems Following Floss "Generating Waveforms" Article
Hello, I've been trying to follow the examples given in the Floss manual for generating waveforms using an array. Unfortunately I'm having problems as when I generate a sinewave in this way I seem to be getting an unwanted clipping noise. The standard osc~ object sounds a lot smoother in comparison. I've attached a patch which compares the two waveforms. The Floss article can be found here http://en.flossmanuals.net/PureData/GeneratingWaveforms Any help with this would be very much appreciated, it may just be my soundcard acting strangely. Thanks, Alex floss oscillator.pd Description: Binary data ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
[PD] logitech freedom 2.4 hid on mac osx
Hey there list, I'm currently running osx and I came across a really nice logitech freedom 2.4 joystick second hand. On the logitech website there are no drivers for osx and the hid/joystick part of my pd-extended distro doesn't seem to be working and before I go switching operating systems and/or distros I was wondering if anyone else has had any luck using this this specific joystick in pd on osx. If so, what specific configuration did you use? Thanks in advance. Pat ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] pd-extended 0.42.5 source
On Tue, Apr 27, 2010 at 3:08 AM, michael noble wrote: > > > On Tue, Apr 27, 2010 at 12:57 AM, Hans-Christoph Steiner wrote: > >> >> http://puredata.info/docs/developer/GettingPdSource >> >> .hc >> >> > thanks Hans, that's exactly the link I was after. > > -m > How about a direct link from the Downloads page? I'll be happy to make it if HC says yes. Andras ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] Code Event - Marseille - France
Salut! J'aurais adoré venir, mais j'habite à Lyon et j'ai pas trop les moyens de me déplacer non plus. Peut-être une prochaine fois? I appologize for not writing in English... Pierre 2010/4/27 Loic KESSOUS > Hi, > > I'm living and working in Marseille, How can I join or participate ? > > best, > Loïc > > Le 27 avr. 2010 à 15:21, matohawk a écrit : > > > Hello Pd-list, > > > > I organise a small "apero" = meeting in Marseille. We haven't any money > for travel because this is a small and local meeting. But if someone would > like to go in Marseille or lives near to Marseille you can complete the call > for participation for this event. > > We can try to find a place to sleep in Marseille. > > > > The party is the 10 of July in Marseille. > > The deadline of the call of participation is 01 june 2010. > > > > > > This is the translation of the french website : > > http://codelab.fr/+/apero-codelab-08 > > > > > > The Apero Codelab, what is it? / / / > > > > > > / / / Codelab is primarily a forum for mutual aid on the Internet, > bringing together developers, artists and often a bit of both. These people > are essentially found around the code and creative projects. An Aperitif > Codelab Marseille follows many other aperitifs: http://codelab.fr/+/ > > Like the preceding it will be an opportunity for artists and developers > to meet around the presentation of projects, technical tips, performances, > concerts and a small snack. > > > > For this edition Marseillaise, the ZINC hosting the event which takes > place in three stages: > > / / / The first, during the afternoon will be a workshop on the theme > "code and audiovisual. Open to all on form and in limited places available. > > / / / The second part will be a presentation of art on their technical > aspects, "how it's done" by computer trickery, or presentations on the > theory or digital audio digital video ... > > / / / The third stage will take place after the drink itself and an > opportunity to attend performances and concerts. > > > > Call for Participation / / / Aperitif Codelab # 8 / / / > > > > / / / Artists, researchers, developers, enthusiasts, you are cordially > invited to attend a day meeting about the aesthetics of code. Come have a > project in progress or already carried out under one of the following forms: > demo, lecture, performance, concert .. > > > > Have a nice day > > Thomas > > > > ___ > > Pd-announce mailing list > > pd-annou...@iem.at > > http://lists.puredata.info/listinfo/pd-announce > > > > ___ > > 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 > ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] Code Event - Marseille - France
Hi, I'm living and working in Marseille, How can I join or participate ? best, Loïc Le 27 avr. 2010 à 15:21, matohawk a écrit : > Hello Pd-list, > > I organise a small "apero" = meeting in Marseille. We haven't any money for > travel because this is a small and local meeting. But if someone would like > to go in Marseille or lives near to Marseille you can complete the call for > participation for this event. > We can try to find a place to sleep in Marseille. > > The party is the 10 of July in Marseille. > The deadline of the call of participation is 01 june 2010. > > > This is the translation of the french website : > http://codelab.fr/+/apero-codelab-08 > > > The Apero Codelab, what is it? / / / > > > / / / Codelab is primarily a forum for mutual aid on the Internet, bringing > together developers, artists and often a bit of both. These people are > essentially found around the code and creative projects. An Aperitif Codelab > Marseille follows many other aperitifs: http://codelab.fr/+/ > Like the preceding it will be an opportunity for artists and developers to > meet around the presentation of projects, technical tips, performances, > concerts and a small snack. > > For this edition Marseillaise, the ZINC hosting the event which takes place > in three stages: > / / / The first, during the afternoon will be a workshop on the theme "code > and audiovisual. Open to all on form and in limited places available. > / / / The second part will be a presentation of art on their technical > aspects, "how it's done" by computer trickery, or presentations on the theory > or digital audio digital video ... > / / / The third stage will take place after the drink itself and an > opportunity to attend performances and concerts. > > Call for Participation / / / Aperitif Codelab # 8 / / / > > / / / Artists, researchers, developers, enthusiasts, you are cordially > invited to attend a day meeting about the aesthetics of code. Come have a > project in progress or already carried out under one of the following forms: > demo, lecture, performance, concert .. > > Have a nice day > Thomas > > ___ > Pd-announce mailing list > pd-annou...@iem.at > http://lists.puredata.info/listinfo/pd-announce > > ___ > 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
[PD] [PD-announce] Code Event - Marseille - France
Hello Pd-list, I organise a small "apero" = meeting in Marseille. We haven't any money for travel because this is a small and local meeting. But if someone would like to go in Marseille or lives near to Marseille you can complete the call for participation for this event. We can try to find a place to sleep in Marseille. The party is the 10 of July in Marseille. The deadline of the call of participation is 01 june 2010. This is the translation of the french website : http://codelab.fr/+/apero-codelab-08 The Apero Codelab, what is it? / / / / / / Codelab is primarily a forum for mutual aid on the Internet, bringing together developers, artists and often a bit of both. These people are essentially found around the code and creative projects. An Aperitif Codelab Marseille follows many other aperitifs: http://codelab.fr/+/ Like the preceding it will be an opportunity for artists and developers to meet around the presentation of projects, technical tips, performances, concerts and a small snack. For this edition Marseillaise, the ZINC hosting the event which takes place in three stages: / / / The first, during the afternoon will be a workshop on the theme "code and audiovisual. Open to all on form and in limited places available. / / / The second part will be a presentation of art on their technical aspects, "how it's done" by computer trickery, or presentations on the theory or digital audio digital video ... / / / The third stage will take place after the drink itself and an opportunity to attend performances and concerts. Call for Participation / / / Aperitif Codelab # 8 / / / / / / Artists, researchers, developers, enthusiasts, you are cordially invited to attend a day meeting about the aesthetics of code. Come have a project in progress or already carried out under one of the following forms: demo, lecture, performance, concert .. Have a nice day Thomas ___ Pd-announce mailing list pd-annou...@iem.at http://lists.puredata.info/listinfo/pd-announce ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] Problem with [$n 1]
On 2010-04-27 08:28, Roman Haefeli wrote: > > > On Mon, 2010-04-26 at 18:10 -0500, Ben Baker-Smith wrote: >> [$n 1] often isn't recognized when I first load an abstraction. >> However, if I create one in a patch it creates properly, first time. >> So I find myself having to open my abstractions and re-create all my >> [$n 1] objects each time I load them. This doesn't seem to happen with >> [dollarg], so I have started changing my [$n 1] to [dollarg]. >> >> I am still curious as to why this is happening though. Is it a known bug? > > If you are on: > >> I am running Pd-extended 0.41.4 on a MacBook with OS X 10.5.8. >--- > > Then it is probably related to the library format. Every object class is > compiled into its own file. Therefore you might have to first load the > external by its original name, before you can use the alias. > This doesn't explain, why it works in patches anyway, but not in > abstractions, though. iirc, it's related to the dollarg expansion mechanism. (think "foo-$1-bar"), and dollars not being properly quoted when save to patch. anyhow, we (at iem, where dollarg is at home :-)) changed all occurences of "$n" to dollarg (you can do so with a little script), when this problem first appeared about 3[*] years ago. fmasdr IOhannes [*] well, whatever smime.p7s Description: S/MIME Cryptographic Signature ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] pd-logo.svg
On 2010-04-27 04:01, Mathieu Bouchard wrote: > On Tue, 27 Apr 2010, red honki wrote: > >> hi,i redraw pd logo for svg. if u are intresting, u can download it. thx. >> www.flickr.com/photos/honki/4556521354/ > > the gradient of the [pd] box suggests a lightsource at the top left, > whereas the the shadows suggest a lightsource at the top centre. > hmm, the shadows of the [Pd] box suggest a lightsource at the midtop center. fgmasdr IOhannes smime.p7s Description: S/MIME Cryptographic Signature ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list