[PD] Data structures: no object for freeing pointers?
I've been building a sequencer with data structs. But now I've come to a dead end, because there seems to be no object, that let's you remove structs. The only way seems to be deleting them in the gui. Am I missing something here? cheers, Jan ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Data structures: no object for freeing pointers?
On Die, 2013-06-11 at 11:00 +0200, Jan Baumgart wrote: I've been building a sequencer with data structs. But now I've come to a dead end, because there seems to be no object, that let's you remove structs. The only way seems to be deleting them in the gui. I think that is one of the limitations of data structures in Pd. You can clear a whole canvas, but not a single scalar, programmatically at least. The limitations of data structures have been discussed recently: http://lists.puredata.info/pipermail/pd-list/2013-05/102808.html a bit less recent post: http://lists.puredata.info/pipermail/pd-list/2011-04/088309.html Roman ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Data structures: Detect array changes
Hi all Actually, the same question applies to normal tables as well, but I know that plain Pd does not provide a way to detect changes, whereas Pd-l2ork does. What about data structure arrays? Is there some hidden way to detect changes? I can detect clicks, but I found nothing else. Roman ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Data Structures: Lower and upper bound for graphical arrays
On a related note, is there a way to limit y for arrays with mutable y? If there'd be a way to detect changes, this would be actually easy to implement. Roman ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [rjdj] abstraction?
Hey Dan, It sounds like it could have been an abstraction to handle some functionality of the app way back in the early days i.e. recording. It's definitely legacy code. To be honest, some parts of the rjlib aren't really that necessary any more. For me most useful part of rjlib is all the dsp and list processing abstractions. At some point we even ditched the soundinput/output abstractions and used adc~/dac~ instead. In more recent apps a lot of functionality was moved to the objective-c side, which allowed the pd side to focus on what it does best, making cool sounds :) Cheers, Joe On 10 June 2013 18:40, Dan Wilcox danomat...@gmail.com wrote: Howdy, Does anyone who worked on/with the original RjDj app know what the [rjdj] abstraction does/did? I see it in playback.pd in the rjlib Github repo. Is it just a wrapper for a send? Like: [inlet] | [s rjdj] Dan Wilcox @danomatika danomatika.com robotcowboy.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Follow me on Twitter @diplojocus ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Data structures: no object for freeing pointers?
Envoyé: Mardi 11 Juin 2013 11:25:23 Objet: Re: [PD] Data structures: no object for freeing pointers? On Die, 2013-06-11 at 11:00 +0200, Jan Baumgart wrote: I've been building a sequencer with data structs. But now I've come to a dead end, because there seems to be no object, that let's you remove structs. The only way seems to be deleting them in the gui. It's still possible to put only one pointer and then arrays on it, then you can add or delete at the last array item, or it's possible to put an id at each array element and then remove the element id to delete, then it's possible to have undo's. pc ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] parsing XML
Hi list, I have a string2any object which is outputting XML that mostly looks like this when sent to a print object: print: updatesource id='1' level='-86.6183'//update print: updatesource id='1' level='-87.9314'//update print: updatesource id='1' level='-85.5559'//update print: updatesource id='1' level='-83.4277'//update print: updatesource id='1' level='-83.5981'//update etc. My patch doesn't need this information, only 'position' information, and when something important happens, data with x and y coordinates is outputted by string2any like this: print: updatesource id='1'position x='1.19286' y='0.992857'//source/update My patch needs to extract the x and y values as floats. I'm a bit rusty with Pd and I've not been able to work out how to do this. Can anyone please suggest what externals/techniques to use? Thanks! Iain ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] GEM: texture on transparent sphere visible from opposite side
Le 09/06/2013 08:48, Matthias Kronlachner a écrit : On 6/8/13 5:20 PM, Claude Heiland-Allen wrote: Hi, On 08/06/13 14:48, Matthias Kronlachner wrote: i have a texture on a sphere and slightly add transparency to the sphere. i can now see objects behind the sphere, but is it possible to make the texture of the opposite side of the sphere visible? (through the (semitransparent) front side of the sphere) Short answer: no. Long answer: no, because transparency and OpenGL don't quite get along as nicely as you might expect. Rendering order (of every triangle that makes up every object) matters a great deal. Transparency involves blending the current triangle with whatever is behind it. OpenGL uses its depth buffer to keep track of what's been drawn and how far away it is at each pixel - keeping only the nearest value - whether it was rasterized before or after the previous triangle. You need to draw non-transparent stuff first, then sort every transparent triangle into depth order, possiby splitting up any transparent triangles that intersect each other into smaller triangles, then render them in order urthest from camera first, nearest to camera last. I'm pretty sure that Gem doesn't support depth sorting. You might be able to hack it and get something that looks mostly ok some of the time by rotating the sphere to change the depth order vs render order of the triangles making up the sphere, but it will be very fragile... Claude thanks, i was expecting something like this. i guess i will think about an alternative approach to that instead of hacking around with depth sorting and rendering order within a single geometric object. matthias ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list Hello, I think it should be doable using culling (GL_FRONT and GL_BACK). But, in this case, you need to render two times the sphere (one with culling GL_FRONT and the other with culling GL_BACK) and then adjust alpha between them. ++ Jack ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Data Structures: Lower and upper bound for graphical arrays
From: Roman Haefeli reduz...@gmail.com To: pd-list pd-list@iem.at Sent: Tuesday, June 11, 2013 6:02 AM Subject: [PD] Data Structures: Lower and upper bound for graphical arrays On a related note, is there a way to limit y for arrays with mutable y? If there'd be a way to detect changes, this would be actually easy to implement. There isn't a way to detect changes. But you can limit y with the -y flag of [plot]: [plot -y y(0:100)(0:100) etc.] ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] parsing XML
Le 11/06/2013 13:56, Iain Mott a écrit : Hi list, I have a string2any object which is outputting XML that mostly looks like this when sent to a print object: print: updatesource id='1' level='-86.6183'//update print: updatesource id='1' level='-87.9314'//update print: updatesource id='1' level='-85.5559'//update print: updatesource id='1' level='-83.4277'//update print: updatesource id='1' level='-83.5981'//update etc. My patch doesn't need this information, only 'position' information, and when something important happens, data with x and y coordinates is outputted by string2any like this: print: updatesource id='1'position x='1.19286' y='0.992857'//source/update My patch needs to extract the x and y values as floats. I'm a bit rusty with Pd and I've not been able to work out how to do this. Can anyone please suggest what externals/techniques to use? Thanks! Iain ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list Maybe, something like that could help ? (patch attached to this mail). ++ Jack get_float_in_string.pd Description: application/puredata ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Data structures: no object for freeing pointers?
I find the data structure deign extremely limited and have been thinking for years about how to make it more powerful. I have a rather weak idea about alowing deletion of individual items in lists that I'm planning to try out in the run-up to the next release - not that that can help you right now. (In addition to the manifold problems that others have noted I'll add more fundamental ones: fundamentally clunky pointer mechanism difficulty of making numerically accurate changes on visual data structures (except by escaping to a text represntation ala 'properties' :) cheers Miller On Tue, Jun 11, 2013 at 03:04:10PM +0200, Patrice Colet wrote: Envoyé: Mardi 11 Juin 2013 11:25:23 Objet: Re: [PD] Data structures: no object for freeing pointers? On Die, 2013-06-11 at 11:00 +0200, Jan Baumgart wrote: I've been building a sequencer with data structs. But now I've come to a dead end, because there seems to be no object, that let's you remove structs. The only way seems to be deleting them in the gui. It's still possible to put only one pointer and then arrays on it, then you can add or delete at the last array item, or it's possible to put an id at each array element and then remove the element id to delete, then it's possible to have undo's. pc ___ 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] parsing XML
Maybe, something like that could help ? (patch attached to this mail). Thank you!!! Iain ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Data Structures: Lower and upper bound for graphical arrays
On Die, 2013-06-11 at 08:37 -0700, Jonathan Wilkes wrote: __ From: Roman Haefeli reduz...@gmail.com To: pd-list pd-list@iem.at Sent: Tuesday, June 11, 2013 6:02 AM Subject: [PD] Data Structures: Lower and upper bound for graphical arrays On a related note, is there a way to limit y for arrays with mutable y? If there'd be a way to detect changes, this would be actually easy to implement. There isn't a way to detect changes. But you can limit y with the -y flag of [plot]: [plot -y y(0:100)(0:100) etc.] Ah, that is much more elegant than what seems impossible. Nice, thanks! Roman ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] how to have multiple transports with only one clock
have a midi transport that sends a midi clock signal plus masterclock and it is used as a control in more than one place with or without patches that have it also to get them to not trigger each other when you start from one transport , send $0-masterbpm to where $0-masterbpm is needed in the patch then send out also plain old master bpm. this way if you want to start and stop the clock from multiple places you can. i probably ought to put back on the thinking cap about the matters but it worked to not start up 2 clocks for me when having 2 transports ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Pd preferences dialog
Hi List, I'm nearly finished with a gui tab for the Pd preferences dialog I'm working on. Question: I (currently) have three notebook (tab) panes in the dialog: one for Audio, one for Midi and one for GUI. For GNU/Linux (and probably Windows) I have a Close button at the bottom right of the window, below the tabs. To the bottom left I have a Help button. I would like the Help button to bring up a patch that explains what the various settings in the dialog do. Should it just be one patch that is a catchall for all three panes (audio, midi, gui) or should it bring up a specific patch that's dependent on which notebook tab happens to be open before Help was clicked? I have a feeling it should be dependent on the specific tab that's open. (Not sure if that conforms to the Apple HIG but it's the way Firefox does it.) -Jonathan___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] PD-extended getting corrupted on Mac OS X
Hey thanks a lot! That solved some of the problem. I am not getting crashes. However, the patch won't load any [breakpoints~] from tof, but I can open the help file and then copy and paste THAT [breakpoint~] to my patch and it works. Until I close and reopen. Any ideas? Thanks Brian On Jun 10, 2013, at 9:56 AM, Dan Wilcox wrote: Maybe it's related to this? http://puredata.info/docs/tutorials/HowToTurnOffResumeWindowsForPDOnMacOSX107Lion On Jun 8, 2013, at 5:56 AM, pd-list-requ...@iem.at wrote: From: Brian Perez knight...@gmail.com Subject: [PD] PD-extended getting corrupted on Mac OS X Date: June 7, 2013 8:54:12 PM EDT To: PD list pd-list@iem.at Hey all, I've been having to delete preferences and reinstall a bunch of times. I get crashes for including objects from some of the extended libraries there. It can't be the way I'm installing: it's just drag and drop. I've been looking around for some clues, but I am wondering if anyone figured anything out definitively. Thanks Brian Dan Wilcox @danomatika danomatika.com robotcowboy.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] archiving synth-fractalsequencer at archive.org
anyone ever tried that? https://archive.org/details/Xensynth10.01 you heard it here first, if I can find a better place than google drive to mirror the 27or so MB zippedup whore of a synthesizer and fractal sequencer ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list