[PD] Problem regarding GL: invalid enumerant
when PD try to create a gemwin and start rendering. There is a error message saying " GL: invalid enumerant" . Anyone know what does this mean ? and Possible solution? Thanks _ New Windows Live Hotmail is here. Upgrade for free and get a better look. www.newhotmail.ca?icid=WLHMENCA150 ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] How do you find exposure from pixel or video?
i'm having a problem to switch the driver of the pix_video to ieee1394 i have tried to change to 1 but i really don't what can i do more, i triyng to capture a dv cam from the firewire i have tried the pdp_ieee1394 but i see this pdp_ieee1394 ... couldn't create i'm using ubuntu feisty Thanks everyone 2007/7/13, Max Neupert <[EMAIL PROTECTED]>: with helpfile i mean: 1. make the object, 2. rightclick for the context menue 3. choose help those files should explain how to use the objects. they are patches themselves so you can play around, modify, or just copy parts of them. hope this gets you started. Am 13.07.2007 um 11:32 schrieb Henry Lin: > Hello Max > iam wondering which section under help file? > > thank you so much for ur help > > > From: Max Neupert <[EMAIL PROTECTED]> > To: Henry Lin <[EMAIL PROTECTED]> > CC: pd-list@iem.at > Subject: Re: [PD] How do you find exposure from pixel or video? > Date: Fri, 13 Jul 2007 11:23:54 -0400 > > to get the brightness of a live video feed you could use > [pix_video] and [pix_data] from Gem for example. > look into the helpfiles > > > > Am 12.07.2007 um 14:53 schrieb Henry Lin: > > hello >what i mean is we need to use the cam recorder to capture the > lighting and send out a number... which mean that a 100% of brightest > > thanks > > > From: Hans-Christoph Steiner <[EMAIL PROTECTED]> > To: Henry Lin <[EMAIL PROTECTED]> > CC: pd-list@iem.at > Subject: Re: [PD] How do you find exposure from pixel or video? > Date: Thu, 12 Jul 2007 09:31:29 -0400 > > > Welcome! > > I am not sure I know what you mean by "finding exposure from pixel > or video", do you mean getting images from a video camera? For > that you can use pix_video, pdp_v4l, or pdp_ieee1394. > > .hc > > On Jul 11, 2007, at 9:34 PM, Henry Lin wrote: > > Hello > Iam new to puredata , i need help in finding exposure from > pixel or video > > thank you everyone =) > > > > Click here to get a free Canada Day MeeGo. > ___ > PD-list@iem.at mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/ > listinfo/pd-list > > > > -- > -- > > The arc of history bends towards justice. - Dr. Martin Luther > King, Jr. > > > > > Windows Live Hotmail. Even hotter than before Get a better look now. > ___ > PD-list@iem.at mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/ > listinfo/pd-list > > > > Windows Live Hotmail. Even hotter than before Get a better look now. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list -- " a verdade como a arte tá nos olhos de quem vê" Lab-171 ... Rádio Interferência 21 86348407 [EMAIL PROTECTED] ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
[PD] How to open two gem win under one PD program? for multi-purposes?
Hello I need to open two gem win (window) for two different function. one is to display video the other is for detecting exposure of a light. It doesn't matter what i use do in those gem win. But iam stuck on opening up TWO GEM WIN in ONE PD PROGRAM? can anyone give me some advise? _ Upgrade to Windows Live Hotmail for free today! www.newhotmail.ca?icid=WLHMENCA151 ___ 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
Sounds like a big buffer by default is the best option for the package. Maybe something like 50ms, that should be big enough to cover all but the really heinous hardware. Then docs about setting up for tight timing, limits.conf, -rt, etc. .hc On Jul 18, 2007, at 2:03 PM, Miller Puckette wrote: > I think it's best to put this on the wiki as a possible tweak. > There are > too many 'reasonable' variations. For instance, on personal > machines I use > my own login name instead of a group 'audio' (for simplicity); also, > I don't touch the 'nice' settings. > > I've never had stability problems with "-rt" and use it in all my > routine > work. My idea is to make my development environment exactly the > same as > the performance environment to reduce the chance of surprises. > However, > if you're in the habit of having Pd spawn sub-processes, "-rt" is > dangerous. > I'm not sure if "renicing" is safe or not; I never do it myself, > preferring > to count on the RTPRIO setting to take care of things. > > cheers > Miller > > On Wed, Jul 18, 2007 at 06:52:11PM +0200, Frank Barknecht wrote: >> Hallo, >> hard off hat gesagt: // hard off wrote: >> > The rlimits approach will soon be common knowledge among all Linux audio users anyway. >>> Not everyone wants to learn about this stuff. Some people just want to install Ubuntu Studio and make music. >>> >>> hans, i am so much on your side here. ..although i'd say: >>> 'some of us >>> just want to install ubuntu studio, make massively complicated pd >>> patches, >>> and then make music.' >> >> Others want to make massive 36-channel recordings with Ardour, run >> 128-voice synthesiziers with SuperCollider, rock the party with >> Mixxx, >> play Csound5 in realtime, edit midi arrangements with MusE, run a >> live >> webradio stream with icecast2 while OTOH others want to harden their >> webserver with port-knock logins or set fierce limits for all users. >> Should all these packages fight for who should edit limits.conf and >> whose edits will finally survive? >> >> This is not about if users should learn how to edit limits.conf or >> not, this is about playing fair with other pieces of software >> installed in a distribution. >> >> If it was only about making editing limits.conf easier, here's a way: >> Just run this script as root/under sudo: >> >> #!/bin/sh >> if test -w /etc/security/limits.conf >> then >> read -p "Update /etc/security/limits.conf? [yN]: " DOIT >> if test "$DOIT" = "y" >> then >> echo "@audio - nice -10" >> /etc/security/limits.conf >> echo "@audio - rtprio 99" >> /etc/security/limits.conf >> echo "@audio - memlock unlimited" >> /etc/security/ >> limits.conf >> echo "/etc/security/limits.conf updated successfully!" >> echo "You need to logout completely and login again to" >> echo "activate changes." >> echo "Also make sure you're in group \"audio\"." >> else >> echo "Okay, doing nothing" >> fi >> else >> echo "/etc/security/limits.conf not writable, giving up" >> fi >> >> # EOF >> >> 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 You can't steal a gift. Bird gave the world his music, and if you can hear it, you can have it. - Dizzy Gillespie ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] [OT] what's up in nyc fr/sa/sun?
one more suggestion - this friday ..at the Issue Project Room http://www.issueprojectroom.org/events.html greets olsen On 7/17/07, Hans-Christoph Steiner <[EMAIL PROTECTED]> wrote: > > Too bad, I am going out of town, otherwise we could meet up. Share > is good, like Tim said, bring something to play, music and/or > visuals! Here are some other suggestions: > > http://spsounds.com/ > > http://www.monkeytownhq.com > > http://www.galapagosartspace.com/ > > http://www.warperparty.com/ > > http://eyebeam.org/ > > .hc > > On Jul 16, 2007, at 4:17 PM, Max Neupert wrote: > > > hi, > > > > anything {vaguely pd related} going on in newyork this weekend? > > > > m. > > > > ___ > > PD-list@iem.at mailing list > > UNSUBSCRIBE and account-management -> http://lists.puredata.info/ > > listinfo/pd-list > > > > > > > I have the audacity to believe that peoples everywhere can have three > meals a day for their bodies, education and culture for their minds, > and dignity, equality and freedom for their spirits. - Martin > Luther King, Jr. > > > > ___ > PD-list@iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > -- Planet Pluto bleibt! ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] HID for PD on windows?
Thomas Jeppesen wrote: > Well, as I understand it the HID-object is at present only working on > Linux and OSX due til difficulties in the windows API, but there is work > being done on making the HID available for Windows users as well, > there's even been some talk about this maybe being available in July > 2007 which is very interesting indeed. Depending on how broad we take the term "HID-object for Windows" there already was one in July 2004 or something. We (HC & I) agreed on making separate versions of the new hidio object for the separate platforms first before figuring out how to merge them into one single external with some OS dependent files. If you say "please, please..." or something I might compile my current Max external for Pd so that you can give it a try. It's not really 100% like the new hidio will be but at least it includes the basic features and serves as a test bed. Since the current code is not the final hidio code it's not open source. > Especially since it will also > open up for easy access to the wii-controller. I can't comment on that, I have a Wii but a Windows box without bluetooth. Olaf-who's-not-supposed-to-be-here ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
[PD] Pd not working on Vista?
HI all, I heard from two people on the list that Pd is having trouble running on Vista. I just borrowed a vista machine and ran Pd 0.40-2 (the current "stable" version) and it ran OK for me. This was on a 32-bit centrino machine. If any of you are still having trouble running the current version on Vista, could you send more details (errors on command line? 32 or 64 bit machine? does 0.39-2 work and 0.40 not? etc) thanks! Miller ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-dev] recursion in Gem - a tutorial
Forget last mail, your patch is perfect, Claudius, very good. patrice colet a écrit : Yes, I've allready figured it out with testing your external on linux, the dll is merely impossible to make with win32-mingw (so if someone has succesfully made the dll, please share!) and with reading your last mail to IOannes. Le jeudi 19 juillet 2007 à 08:12 +, Claude Heiland-Allen a écrit : Patrice Colet wrote: IOhannes m zmoelnig a écrit : (i haen't seen [nnrepeat] on the website, so i don't know what it does) with [repeat] or with the [s]/[r] idiom claude has proposed. Apparently it does something like the attached patch, and the functionning is explained into the tutorial patch 06_break_symmetry.pd, I just need now to go on linux and compile to see how significantly faster is the external compared with the patch. Again, I tried to create something similar in Pd, but ran into re-entrancy bugs whenever I tried to use recursion. I do not write externals lightly, but in this case I think it was necessary. If someone knows how to solve this in pure Pd, I'd be delighted. Your abstraction doesn't do what you think it does in the presence of re-entrancy. See attached test patch. With max-depth = 2 and repetitions = 2. My [nnrepeat] external: ->: 2 0 ->: 1 0 <-: 1 0 ->: 1 1 <-: 1 1 <-: 2 0 ->: 2 1 ->: 1 0 <-: 1 0 ->: 1 1 <-: 1 1 <-: 2 1 Your [nnrepeat] abstraction: <-: 2 0 <-: 1 1 ->: 1 1 <-: 1 2 ->: 1 2 ->: 2 2 <-: 2 0 <-: 1 1 ->: 1 1 <-: 1 2 ->: 1 2 ->: 2 2 pièce jointe document plein texte (nnrepeat-test.pd) #N canvas 0 0 481 517 10; #X obj 71 95 r \$0-recurse; #X obj 71 380 s \$0-recurse; #X obj 140 270 t b a b; #X obj 224 290 v \$0-depth; #X obj 224 310 - 1; #X obj 224 330 max 0; #X obj 162 350 spigot; #X obj 224 350 v \$0-depth; #X obj 185 160 t b f; #X obj 185 183 v \$0-depth; #X obj 185 208 pack f f; #X obj 140 290 v \$0-depth; #X obj 140 330 v \$0-depth; #X obj 140 310 + 1; #X obj 108 50 t a b; #X msg 108 21 nrepeat test; #X obj 285 108 v \$0-depth; #X floatatom 262 77 5 0 0 2 max-depth - -; #X floatatom 261 38 5 0 0 2 repetitions - -; #X obj 246 108 f 3; #X obj 185 235 print ->; #X obj 98 160 t b f; #X obj 98 183 v \$0-depth; #X obj 98 208 pack f f; #X obj 98 235 print <-; #X obj 108 135 nnrepeat 2; #X connect 0 0 25 0; #X connect 2 0 11 0; #X connect 2 1 6 0; #X connect 2 2 3 0; #X connect 3 0 4 0; #X connect 4 0 5 0; #X connect 5 0 6 1; #X connect 5 0 7 0; #X connect 6 0 1 0; #X connect 8 0 9 0; #X connect 8 1 10 1; #X connect 9 0 10 0; #X connect 10 0 20 0; #X connect 11 0 13 0; #X connect 13 0 12 0; #X connect 14 0 25 0; #X connect 14 1 19 0; #X connect 15 0 14 0; #X connect 17 0 19 1; #X connect 18 0 25 1; #X connect 19 0 16 0; #X connect 21 0 22 0; #X connect 21 1 23 1; #X connect 22 0 23 0; #X connect 23 0 24 0; #X connect 25 0 21 0; #X connect 25 1 2 0; #X connect 25 2 8 0; ___ PD-dev mailing list [EMAIL PROTECTED] http://lists.puredata.info/listinfo/pd-dev begin:vcard fn:Patrice Colet n:Colet;Patrice adr;dom:;;;Nice;;06100 email;internet:[EMAIL PROTECTED] tel;cell:06 32 66 03 57 x-mozilla-html:FALSE version:2.1 end:vcard ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
[PD] what is ionizer?
Hi list, I keep reading about this fabled "ionizer" fft patch for Max/MSP and everyone seems to think it's super, calling it an old favorite and such. However, I can't seem find any info, only references to it... anybody know what it is, what kind of signal processing it did? Thanks! k -- http://pocketkm.blogspot.com ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] HID for PD on windows?
Hello. You can use GRIPD to pass hid information on to pure data...it's also useful for passing MIDI and avoiding the glitches and audio drop-outs. There is a way you can fire GRIPD up from your patch using a loadbang, and then hide/minimise it. Robin. Thomas Jeppesen wrote: > Well, as I understand it the HID-object is at present only working on > Linux and OSX due til difficulties in the windows API, but there is > work being done on making the HID available for Windows users as well, > there's even been some talk about this maybe being available in July > 2007 which is very interesting indeed. Especially since it will also > open up for easy access to the wii-controller. > > For now though the joystick-object will have to do - I wonder if it > can see my wii-controller as well... > > Cheers > Thomas > > ps - check the attachment for the joystick-object that I'm having > success with :) > > - Original Message - From: "Marko Timlin" <[EMAIL PROTECTED]> > To: ; <[EMAIL PROTECTED]> > Sent: Thursday, July 19, 2007 7:54 AM > Subject: Re: [PD] HID for PD on windows? > > >> Yes, >> I am also working with pd under windows xp and I had exactly the same >> question. >> is there any hope the [hid] will ever work under windows >> or is there any other alternative for us poor windows users??? >> let´s joystick around...if possible... >> >> Best, >> m. >> >> >> Hi all, >> >> I'm trying to get a game-controller (and eventually also the >> Wii-controller) >> up and running on pure data which I am currently running on windows. >> As I understand it the best object at the moment to tap into the >> datastreams >> produced by game controllers etc. is the HID-object build by >> Hans-Christoph >> Steiner. It isn't provided with the latest beta version of PD >> extended and >> I'm also beginning to believe that it doesn't even run on windows at >> all - >> is the right or wrong? >> If there is a windows-version of this/these objects could someone please >> point me to them? >> >> Cheers! >> Thomas >> >> >> ___ >> 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 >> > > > > > > > > Internal Virus Database is out-of-date. > Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.10.4/897 - Release Date: > 11-07-2007 21:57 > > > ___ > 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] puredata system architecture
On Thu, 19 Jul 2007, Arie van Schutterhoef wrote: --- FTS --- Documentation Hi I think this site-documentation could be very useful: http://ccrma.stanford.edu/guides/package/jmax/fts/index.html It's documentation about jMax&FTS 1.5 -Its the coucmentation about the audio-engine that part of jMax. FTS was not just an audio-engine. it was a message-engine as well (floats and ints and symbols and lists and anythings and custom atom types). FTM under the name FTS -These are what was the Java-GUI 0f jMax. jMax was the name of the whole package when it got open-sourced. jMax was also the name of the client side (GUI) when put in opposition with pyMax (which was an incomplete project bundled as part of the jMax package). FTS was the name of the server side (audio+message). FTM is the name of some parts of FTS 4.x after they got separated from FTS so that they could be used as a Max plugin. I believe that those parts were mostly (or completely) written in the FTS 4.x... but I haven't followed much of that side of the developments. _ _ __ ___ _ _ _ ... | 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
[PD] puredata system architecture
> --- FTS --- Documentation > Hi I think this site-documentation could be very useful: > http://ccrma.stanford.edu/guides/package/jmax/fts/index.html >It's documentation about jMax&FTS 1.5 -Its the coucmentation about the audio-engine that part of jMax. >FTM under the name FTS -These are what was the Java-GUI 0f jMax. AvS .. .. ` *===+++ ` |arsche.net sound-image-word http://www.arsche.net/index.html | *===+++ ` |Schreck Ensemble/Assembly - live electro-acoustic music- | ` | http://www.schreck.nl/index.html| ` *===+++ ` |S T R A T I F I E R - a multi-dimensional controller-| ` | http://www.stratifier.nl/index.html| ` *++ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
[PD] DesireData DS
On Tue, 17 Jul 2007, Frank Barknecht wrote: Patrice Colet hat gesagt: // Patrice Colet wrote: Frank Barknecht a écrit : (Lack of DS is what's keeping me from trying out DesireData ATM.) ... and perhaps lack of DS people on the team is what is preventing DesireData from getting DS quicker... Currently, pointers (gpointers) are in a limbo, because i'm ripping out the old system and replacing it with a system in which pointers have a different reference counter which they'd share with the new symbols and with allocated atom-lists. The latter will use braces {} as delimiters. However, all of that is relatively low priority right now. After that is done, I could begin to work on DS, but with the current team, DS are not seen as being a priority, because we don't use them when we use pd. _ _ __ ___ _ _ _ ... | 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] HID for PD on windows?
Yes, I am also working with pd under windows xp and I had exactly the same question. is there any hope the [hid] will ever work under windows or is there any other alternative for us poor windows users??? let´s joystick around...if possible... Best, m. Hi all, I'm trying to get a game-controller (and eventually also the Wii-controller) up and running on pure data which I am currently running on windows. As I understand it the best object at the moment to tap into the datastreams produced by game controllers etc. is the HID-object build by Hans-Christoph Steiner. It isn't provided with the latest beta version of PD extended and I'm also beginning to believe that it doesn't even run on windows at all - is the right or wrong? If there is a windows-version of this/these objects could someone please point me to them? Cheers! Thomas ___ 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] Solved - HID for PD on windows?
Hi again, I did some more research on the topic and found the solution for my problem in the "joystick"-object - thanks to a post by David Merrill - thank you for that :) Still I'm looking forward to see what the HID-object can do when it comes out for windows, for example will it support the Wii-controller? Cheers! Thomas - Original Message - From: "Thomas Jeppesen" <[EMAIL PROTECTED]> To: Sent: Wednesday, July 18, 2007 9:17 PM Subject: [PD] HID for PD on windows? > Hi all, > > I'm trying to get a game-controller (and eventually also the > Wii-controller) > up and running on pure data which I am currently running on windows. > As I understand it the best object at the moment to tap into the > datastreams > produced by game controllers etc. is the HID-object build by > Hans-Christoph > Steiner. It isn't provided with the latest beta version of PD extended and > I'm also beginning to believe that it doesn't even run on windows at all - > is the right or wrong? > If there is a windows-version of this/these objects could someone please > point me to them? > > Cheers! > Thomas > > > ___ > PD-list@iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.10.4/897 - Release Date: 11-07-2007 > 21:57 > > ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] recursion in Gem - a tutorial
Hey Claude, Thanks for making this slick well composed tutorial. I have a few comments. 1) in 03_recursive_spiral.pd you start out by writing "A common idiom in Gem is to use the [repeat] obejct (...) Let's try using (...)". But in the patch it is not used. Instead you present the recursive method, as would hope from the great bottom up composition. Replacing the first paragraph whit something like "Now we draw the spiral without repeat, but using a/the recursive method". That would work with the conclusion too. I think. 2) It would be cool if the n-ary tree example could be tweaked such that the binary tree example would be a special case of the n-ary example. Maybe i'm missing something. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] recursion in Gem - a tutorial
Hi everyone, I figured out how to implement [nrepeat] and [nnrepeat] in pure-Pd, they still require [repeat] from Zexy, and also the [list] objects from pd-0.40-2 or greater (and obviously Gem is required too). The updated files (just Pd patches, no externals required) can be downloaded from: https://devel.goto10.org/dl.php?repname=maximus&path=%2Ftutorials%2Fgem-recursion%2F&rev=0&isdir=1 Thanks, Claude Claude Heiland-Allen wrote: > Hi everyone, > > I've been playing around with recursion in Gem, and thought I'd document > my experiences. > > > You can download the patches here (Gzip'd Tar): > > https://devel.goto10.org/dl.php?repname=maximus&path=%2Ftutorials%2Fgem-recursion%2F&rev=0&isdir=1 > > > You will also need a couple of externals that you can download here > (Gzip'd Tar, C source code only): > > https://devel.goto10.org/dl.php?repname=maximus&path=%2Fclodlib%2F&rev=0&isdir=1 > > These externals are necessary because I haven't figured out a nice way > to handle recursive re-entrancy in a Pd patch. If I do I'll update the > tutorial with the dependancy removed. > > > Screenshots are here, in case you're not near a computer with Pd+Gem: > > http://www.blurty.com/users/claudiusmaximus/day/2007/07/18#407 > > > Please let me know if you find it useful, or if you don't. Thanks for > your attention, > > > Claude -- http://claudiusmaximus.goto10.org ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-dev] recursion in Gem - a tutorial
Patrice Colet wrote: IOhannes m zmoelnig a écrit : (i haen't seen [nnrepeat] on the website, so i don't know what it does) with [repeat] or with the [s]/[r] idiom claude has proposed. Apparently it does something like the attached patch, and the functionning is explained into the tutorial patch 06_break_symmetry.pd, I just need now to go on linux and compile to see how significantly faster is the external compared with the patch. Again, I tried to create something similar in Pd, but ran into re-entrancy bugs whenever I tried to use recursion. I do not write externals lightly, but in this case I think it was necessary. If someone knows how to solve this in pure Pd, I'd be delighted. Your abstraction doesn't do what you think it does in the presence of re-entrancy. See attached test patch. With max-depth = 2 and repetitions = 2. My [nnrepeat] external: ->: 2 0 ->: 1 0 <-: 1 0 ->: 1 1 <-: 1 1 <-: 2 0 ->: 2 1 ->: 1 0 <-: 1 0 ->: 1 1 <-: 1 1 <-: 2 1 Your [nnrepeat] abstraction: <-: 2 0 <-: 1 1 ->: 1 1 <-: 1 2 ->: 1 2 ->: 2 2 <-: 2 0 <-: 1 1 ->: 1 1 <-: 1 2 ->: 1 2 ->: 2 2 #N canvas 0 0 481 517 10; #X obj 71 95 r \$0-recurse; #X obj 71 380 s \$0-recurse; #X obj 140 270 t b a b; #X obj 224 290 v \$0-depth; #X obj 224 310 - 1; #X obj 224 330 max 0; #X obj 162 350 spigot; #X obj 224 350 v \$0-depth; #X obj 185 160 t b f; #X obj 185 183 v \$0-depth; #X obj 185 208 pack f f; #X obj 140 290 v \$0-depth; #X obj 140 330 v \$0-depth; #X obj 140 310 + 1; #X obj 108 50 t a b; #X msg 108 21 nrepeat test; #X obj 285 108 v \$0-depth; #X floatatom 262 77 5 0 0 2 max-depth - -; #X floatatom 261 38 5 0 0 2 repetitions - -; #X obj 246 108 f 3; #X obj 185 235 print ->; #X obj 98 160 t b f; #X obj 98 183 v \$0-depth; #X obj 98 208 pack f f; #X obj 98 235 print <-; #X obj 108 135 nnrepeat 2; #X connect 0 0 25 0; #X connect 2 0 11 0; #X connect 2 1 6 0; #X connect 2 2 3 0; #X connect 3 0 4 0; #X connect 4 0 5 0; #X connect 5 0 6 1; #X connect 5 0 7 0; #X connect 6 0 1 0; #X connect 8 0 9 0; #X connect 8 1 10 1; #X connect 9 0 10 0; #X connect 10 0 20 0; #X connect 11 0 13 0; #X connect 13 0 12 0; #X connect 14 0 25 0; #X connect 14 1 19 0; #X connect 15 0 14 0; #X connect 17 0 19 1; #X connect 18 0 25 1; #X connect 19 0 16 0; #X connect 21 0 22 0; #X connect 21 1 23 1; #X connect 22 0 23 0; #X connect 23 0 24 0; #X connect 25 0 21 0; #X connect 25 1 2 0; #X connect 25 2 8 0; ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-dev] recursion in Gem - a tutorial
IOhannes m zmoelnig a écrit : (i haen't seen [nnrepeat] on the website, so i don't know what it does) with [repeat] or with the [s]/[r] idiom claude has proposed. Apparently it does something like the attached patch, and the functionning is explained into the tutorial patch 06_break_symmetry.pd, I just need now to go on linux and compile to see how significantly faster is the external compared with the patch. nnrepeat.pd Description: application/puredata 06_breaking_symmetry.pd Description: application/puredata begin:vcard fn:Patrice Colet n:Colet;Patrice adr;dom:;;;Nice;;06100 email;internet:[EMAIL PROTECTED] tel;cell:06 32 66 03 57 x-mozilla-html:FALSE version:2.1 end:vcard ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list