Re: [PD] Polyphony and granular synthesis, etc.
Hi, sorry for coming in late to this thread - I'm currently forced to stay away from my desk for some days ... Regarding u_dispatch $0 symbol: Because of the [list trim] that is applied to all incoming parameters, it would never filter any data. [u_dispatch] is like a simplified [route] that doesn't make a difference between list frequency 440 and frequency 440, so you can send it either kind of message and don't have to fiddle with [list] or [list trim] on your own. In my experience, this has been easier for users, who are not so familiar with Pd's message type system and its pitfalls. You can easily work around dispatching symbol-messages by using different selectors. To set a table name for example, I'd use [u_dispatch $0 tablename]. The only issue then is that [u_dispatch] doesn't generate full symbol-messages, instead it generates meta-messages without symbol-selector. This: [mytable( | | [symbol mytable( |/ [u_dispatch $0 tablename] will send a mytable-message to [r $0-tablename] for both messages (because of the [list trim] symbol mytable gets converted to mytable). To get a symbol mytable message again, use [symbol] or [list]. To feed it into a messagebox with $1 or so inside, add a [list] in front. Hint: You can save yourself many headaches if you *always* put a [list] in front of any message box with dollarsigns! Now regarding the poly objects in rj library: [u_makepoly] is geared towards making midi-like instruments polyphonic. For granular approaches, it maybe is better to use the more simple [u_robinpoly]: It schedules the created objects in a round robin fashion and will accept any kind of trigger message, not only midi-like note/velocity pairs. If you need more control and want to access specific instances directly, there is no object for this in the rj library (yet), but Hans did some poly objects that allow this, or use the old nqpoly or so. Ciao -- Frank On Fri, Mar 11, 2011 at 09:08:05AM -0500, Peter Kirn wrote: On Fri, Mar 11, 2011 at 5:18 AM, Joe White white.j...@gmail.com wrote: P.s. We're in the process of creating some online documentation (similar to Max) for all the objects in the library. It'd be great to get some feedback once it's finished. Hi Joe, No, I found the problem -- the issue is that the u_dispatch abstraction doesn't work with symbols. If I'd looked closely at the help file, I would have noticed the prominent comment to that effect. ;) This actually turns out to be a fairly significant issue, because I'd ideally like to pass different arrays into the abstraction. Suggestions? Maybe there's another way to pass in the symbol for the array, like multiplexing as an argument on instantiating those patchers? Or maybe u_dispatch $0 symbol is fixable? (And yes, I'm happy to have a look at the documentation, or even contribute prior to it being completely finished ... editing is kinda one of the things I do, and it's the least I can do to give back to this amazing library!) Peter ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Frank BarknechtDo You RjDj.me? _ __footils.org__ ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] [pyext] [bug] nbx doesn't respond to bang sent by a py script
hi I don't know if it's worth reporting this but just in case... if I bind [nbx] to a `recv' method in a py script, it does not output its value after receiving a bang from the script. attached is debug_nbx.py and debug.pd patch to show the behavior. anyway, thanks for the good work, py/pyext is amazing ;) cheers, _y # py/pyext - python script objects for PD and MaxMSP # # Copyright (c) 2002-2005 Thomas Grill (g...@g.org) # For information on usage and redistribution, and for a DISCLAIMER OF ALL # WARRANTIES, see the file, license.txt, in this distribution. # debug nbx try: import pyext except: print ERROR: This script must be loaded by the PD/Max pyext external class nbx(pyext._class): ... _inlets = 1 _outlets = 0 def __init__(self,*args): Class constructor print \n\n\n\n\n\ninit\n\n\n\n\n\n def bind_1(self): print binding 's_float' self._bind(s_float, self.recv) print binding 's_nbx' self._bind(s_nbx, self.recv) def bang_1(self): print sending a bang to 'r_float' self._send(r_float) print sending a bang to 'r_nbx' self._send(r_nbx) def recv(self, arg): receive function print arg def __del__(self): Class destructor pass debug.pd Description: Binary data ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Workshop for beginners in Bordeaux, France.
On Fri, Mar 11, 2011 at 11:21 PM, Olivier Baudu lamouraupeu...@gmail.com wrote: [snip] For curious, you can see my works with Pd-extended on my website : http://yamatierea.org/papatchs/ ca mériterait d'être en anglais aussi :P cheers, _y ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] sourceforge tracker (was: Re: Get list of a the arguments of a patch without using any external?)
On Wed, 9 Mar 2011, IOhannes m zmoelnig wrote: you don't have to know that issues in the tracker are forwarded to pd-dev, in order to submit issues. Right, but how do i figure out whether my issue has been seen by anyone at all ? I'm trying to find out the way I can. if you are using the tracker to send emails to pd-dev without having to be subscribed, then you are obviously trying to tweak rules of pd-dev. if you try to tweak the rules, then you should probably know them. [...] why do you insist in having explicit knowledge about the rules? Because I believe that the tracker and pd-dev are run by people who value openness of information and enjoy contributions from outsiders. If the rules aren't written down in a list of rules, there are no rules. i keep submitting bugs and patches to other projects at sourceforge, and i couldn't care less whether these tickets are automatically forwarded to some email address or not. i don't know the tracker rules of these projects. but i see that there _is_ a tracker, and hope that someone will eventually read it (when they find time). that's it. Do you mean that other submitters ought to follow your example of not caring about where your efforts are going ? ___ | Mathieu Bouchard tél: +1.514.383.3801 Villeray, Montréal, QC___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Pd-list Digest, Vol 72, Issue 71
On 3/12/11 6:00 AM, pd-list-requ...@iem.at wrote: Hint: You can save yourself many headaches if you *always* put a [list] in front of any message box with dollarsigns! Now regarding the poly objects in rj library: [u_makepoly] is geared towards making midi-like instruments polyphonic. For granular approaches, it maybe is better to use the more simple [u_robinpoly]: It schedules the created objects in a round robin fashion and will accept any kind of trigger message, not only midi-like note/velocity pairs. Thanks! This is all working correctly now. I think that I can generally avoid the need to address each directly by simply sending lists of events ... i.e., I don't need to know precisely which is which. I'll experiment. But this is hugely helpful, and solves my problem. And yes, the throw catch errors I realize were just because I hadn't set up stereo outputs, but it will - correctly - work, just complaining about the missing second channel. :) Peter ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Get list of a the arguments of a patch without using any external?
On Wed, 9 Mar 2011, IOhannes m zmoelnig wrote: so who is the most competent person for a certain ticket? and can we expect a submitter to know? There is no book. I don't know what you mean. I don't recall ever allowed to assign anything to anyone, in the 6 years or so that I had been on SF.net/projects/pure-data. I assume that it stayed the same ever after I cancelled my SF.net account. So, I assumed that one of the admins' first task was to filter through the new tickets to weed out spam, mistakes, and dispatch according to how members want to get the tasks split. I took assigned to as being a sign that the admins are approving the issue for further consideration. So why do you say that if non-admins aren't allowed to select assigned to ? And then obviously, if I'm talking about getting someone to set the assigned to status, does it look like I'm talking about submitters setting their own assigned to ? I'm talking about why don't admins do any kind of dispatch. (e.g. if they haven't read the book of rules in pd-dev) There is no such book. commit time referred to the time where the ticket was initially opened (which might not have been clear either) Ah ok. I never see the word commit used for that. ___ | Mathieu Bouchard tél: +1.514.383.3801 Villeray, Montréal, QC___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Workshop for beginners in Bordeaux, France.
On Sat, 12 Mar 2011, Yvan Volochine wrote: On Fri, Mar 11, 2011 at 11:21 PM, Olivier Baudu lamouraupeu...@gmail.com wrote: [snip] For curious, you can see my works with Pd-extended on my website : http://yamatierea.org/papatchs/ ca mériterait d'être en anglais aussi :P Veux-tu dire que ça serait trop bon pour être écrit en français ? :P ___ | Mathieu Bouchard tél: +1.514.383.3801 Villeray, Montréal, QC___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Workshop for beginners in Bordeaux, France.
On Sat, Mar 12, 2011 at 5:51 PM, Mathieu Bouchard ma...@artengine.ca wrote: For curious, you can see my works with Pd-extended on my website : http://yamatierea.org/papatchs/ ca mériterait d'être en anglais aussi :P Veux-tu dire que ça serait trop bon pour être écrit en français ? :P trop bon pour n'être écrit *que* en francais =) we want it in english queremos eso en español wir wollen das auf Deutsch etc... _y ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] cannot get pix_record to work
Hi, Time ago I succesfully used pix_record in Windows by trying different codecs until I found one that wouldn't make it crash. Now I'm trying to use it in linux and I managed to create the output file and it seems it records one black frame, but nothing more. The file seems to have the correct dimensions in pixels but it never grows to more than a few Kb. I use codec 5 which is ffmpeg mjpeg. I have: [gemhead 99] | [t b a] | / [pix_snap 500 500] | [t b a] | / [pix_record] Well I'm simplifying it, because I have a spigot so that the situation is equivalent to the picture above only after I've sent the record 1 message. I send to pix_record, in this order: file output.mov record 1 ... now for every frame I send it a bang (and the gemlist of course) record 0 ...now i stop banging it I've verified that pix_snap is snapping as expected (I've tried putting a pix texture after it and using the texture on a square). Any idea? It prints this message to the console when it receives the file message: encoding as Quicktime (QT7 compatible) but it doesn't print any message when it gets the record 1 and record 0 messages. thanks m. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [ext] [pyext] [bug] nbx doesn't respond to bang sent by a py script
Hi Yvan, thanks for reporting - that seems to a bug, although hard to say where situated. I'll look into it. gr~~~ Am 12.03.2011 um 17:19 schrieb Yvan Volochine: hi I don't know if it's worth reporting this but just in case... if I bind [nbx] to a `recv' method in a py script, it does not output its value after receiving a bang from the script. attached is debug_nbx.py and debug.pd patch to show the behavior. anyway, thanks for the good work, py/pyext is amazing ;) cheers, _y debug_nbx.pydebug.pd___ ext mailing list e...@g.org http://g.org/cgi-bin/mailman/listinfo/ext -- Thomas Grill http://g.org +43 699 19715543 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] cannot get pix_record to work
Some more detailed information of what happens: 1 I start Pd Extended 2 I open the patch which uses pix_record 3 send it codec 5 4 send it open filename.mov 5 send it record 1 6 send it a bang at every frame 7 send it record 0. (it is always receiving the gemlist) Result: it only records the first frame (not a black frame, an actual frame). If I repeat steps 4-7, i records only one frame again (overwriting the file, as expected). If I repeat only steps 5-7, it does nothing, doesn't even touch the file (this may be expected). If I close the patch (but not Pd), and repeat steps 2-5, it crashes. This is Pd Extended 0.42.5, gem 0.92.3 compiled sep 22 2010 (comes with pd extended), Ubuntu 10.04 Apart from the crash which I can avoid, is there something I am missing to have it record more than one frame??? Does anybody know of a codec that gives less issues? (there are too many to try them all). thanks m. On 03/12/2011 08:18 PM, Matteo Sisti Sette wrote: Hi, Time ago I succesfully used pix_record in Windows by trying different codecs until I found one that wouldn't make it crash. Now I'm trying to use it in linux and I managed to create the output file and it seems it records one black frame, but nothing more. The file seems to have the correct dimensions in pixels but it never grows to more than a few Kb. I use codec 5 which is ffmpeg mjpeg. I have: [gemhead 99] | [t b a] | / [pix_snap 500 500] | [t b a] | / [pix_record] Well I'm simplifying it, because I have a spigot so that the situation is equivalent to the picture above only after I've sent the record 1 message. I send to pix_record, in this order: file output.mov record 1 ... now for every frame I send it a bang (and the gemlist of course) record 0 ...now i stop banging it I've verified that pix_snap is snapping as expected (I've tried putting a pix texture after it and using the texture on a square). Any idea? It prints this message to the console when it receives the file message: encoding as Quicktime (QT7 compatible) but it doesn't print any message when it gets the record 1 and record 0 messages. thanks m. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] current Pd in autobuild
Dear List and HC, i've just set up http://autobuild.puredata.info/auto-build/latest/Pd-0.43.0-extended-ubuntu-lucid-amd64.deband i don't have a 'pdextended' nor 'pd-extended' command any more, whilst 'pd' gives an error: Error in startup script: couldn't read file /usr/lib/pd/tcl//pd-gui.tcl: no such file or directory How do i get fresh pd-extended then? Andras ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] sourceforge tracker
On 03/12/2011 05:34 PM, Mathieu Bouchard wrote: If the rules aren't written down in a list of rules, there are no rules. indeed there are none. afair, it was you who brought up the term rules. i am trying to explain the process how tracker items are currently handled. i'm not saying that this how it should be, nor that it is the best way (neither do i say the opposite) mfadsr IOhannes signature.asc Description: OpenPGP digital signature ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [pyext] sending a bang to an object
Hi all, Thomas kindly stated that the trick is to call the method without further arguments: self._send(rcvname) actually my statement is only half true: self._send(rcvname) currently sends an empty list message to the rcvname receiver which is often interpreted but need not always be the correct way would be self._send(rcvname,bang,()) which is equivalent to a message with selector bang and no further arguments (empty tuple) since the former notation self._send(rcvname) is also used with pyext outlets as self._outlet(outletnum) to send a bang, i corrected the behavior in the py/pyext SVN to indeed send a bang. However, this is not yet reflected in the binaries in circulation gr~~~ ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [pyext] sending a bang to an object
Am 12.03.2011 um 21:11 schrieb Thomas Grill: Hi all, Thomas kindly stated that the trick is to call the method without further arguments: self._send(rcvname) actually my statement is only half true: self._send(rcvname) currently sends an empty list message to the rcvname receiver which is often interpreted but need not always be sorry, there's something missing: ... which is often interpreted as a bang message, that is. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] [PD-announce] Pd-berlin meeting next tuesday, 15th March
Hello, next tuesday, 15th March, will be the next meeting of Pure Data users in Berlin at NK (http://www.nkprojekt.de/) - Elsenstr. 52, 2HH 2Etage. For more information, look up http://puredata.info/community/organization/pd-berlin/pd-berlin-users-group. We also encourage you to take an active part, and put up suggestions for topics you want to talk about / topics you want to be talked about. Doors are open from 20h-20h15. After that they'll be closed, and you will have to call someone from the Pd-meeting to get in. To get a telephone number to call or confirm assistance you can write to info_at_minitronics.net. Please, don´t call to the staff of NK to open the doors. They let us use the space but we have to take care about having the meeting without producing any disturbance to them, and to clean the space after the meeting. We would apreciate if you would send us a small mail to info_at_minitronics.net with your name, Pd experience and interests, so that we know how many people might be coming. Or put your name in the pd-berlin wiki page. We would like to thank the support and willingness of NK in the organization of these events. João Pais ___ 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] current Pd in autobuild
Hi, András Murányi wrote: http://autobuild.puredata.info/auto-build/latest/Pd-0.43.0-extended-ubuntu-lucid-amd64.deband Error in startup script: couldn't read file /usr/lib/pd/tcl//pd-gui.tcl: no such file or directory I got the same error, took me some time to understand. At the moment you can cd to the lib/pd-extended/bin directory and run ./pd Don't forget to switch/remove your .pdextended/.pdrc file. By lurking on pd-dev I understood there's a bit of reorganization going on pd-extended git these days. -- Charlot ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list