Re: [PD] where to find $ args
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2011-01-23 12:49, Rich E wrote: Hi list, If I were to make an external that has access to $ arguments, does anyone know where I can find the necessary methods for retrieving this information? Or is it only available at instantiation? Most importantly, I am looking for a way to get the $0 value of a patch from C. for $0, see the various implementations in iemlib, iemguts, tof, ... for other $args there is usually no need to find them, as the user could just supply them to your object. if you really need them, there are a number of implementations out there as well, e.g. in iemlib, iemguts, tof,... gmasdrt IOhannes -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk09MOAACgkQkX2Xpv6ydvSoNQCeLVWojsf2Ve5n2oe0EAScjGsH R0wAoJMCnavRBffid0ceVWgTl/yWU+NF =VOeY -END PGP SIGNATURE- 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] Pager in documentation
I saw for 0.INTRO.txt, i don't find it in the tarball release. This file really exist? I think, is name have change, not? See on http://www.crca.ucsd.edu/~msp/Pd_documentation/x1.htm [...]For a list of all the objects you can use in Pd, see the text file, 0.INTRO.txt in the directory, ../5.reference. [...] In this directory, we have 0_all_guis-INTRO.txt Probably documentation are obsolete. Or, you can find assistance to start pd in 1.manual/1.introduction.txt. Cordialement, Willy WOLFF. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] HPGL tools for drawing pd patches and more
you mean this ? http://local.wasp.uwa.edu.au/~pbourke/dataformats/hpgl/ http://local.wasp.uwa.edu.au/~pbourke/dataformats/hpgl/any pics? On Mon, Jan 24, 2011 at 4:25 AM, Mathieu Bouchard ma...@artengine.cawrote: Btw I'm currently developing several other pieces in my HPGL (plotter) chain tool : [hpgl_to_lines], converter from hpgl to line segments [hpgl_objectbox], to draw an objectbox as hpgl (one inlet, one outlet) [hpgl_messagebox], to draw a messagebox as hpgl (one inlet, one outlet) [hpgl_from_patch], convert from pd patch format to hpgl In those cases, when it says from hpgl and to hpgl, those are pd messages, and you need [plotter_parser] to parse hpgl bytes, and/or [plotter_control] to produce hpgl bytes (or neither if you only use the hpgl messages as an intermediate format between two other things). Is anyone else interested in that kind of thing ? ___ | 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 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Pd-extended and Firefox
if you don't need ADC you can start pdextended with: pdextended -nrt -alsa -alsaadd default -audiodev 3 -noadc -audiobuf 50 no need to have jack running this way pat ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] HPGL tools for drawing pd patches and more
On Mon, 24 Jan 2011, ALAN BROOKER wrote: you mean this ? http://local.wasp.uwa.edu.au/~pbourke/dataformats/hpgl/ Yes, but actually, we're only using a tiny subset of it in practice : mostly just the PA/PD/PU/LB commands. any pics? This is hpgl_from_patch.pd drawing itself as hpgl converted to line list converted to pixels : http://gridflow.ca/gallery/hpgl_from_patch.png Note, however, that it assumes every object has exactly one inlet and one outlet. ___ | 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
[PD] [PD-announce] Infinite Glitch
Hello List, Today is the official release of Infinite Glitch, an online based artwork that was created using, among other things, Pd-extended and PdGst. Thanks so much to everyone who has helped with the development of these great tools! You can read through the description below or jump straight to the project page: http://infiniteglitch.com -- Every day an incomprehensible number of new digital media files are uploaded to hosting sites across the internet. Far too many for any one person to consume. Infinite Glitch http://infiniteglitch.com/ is a stream-of-conciousness representation of this overwhelming flood of media, its fractured and degraded sounds and images reflecting how little we as an audience are able to retain from this daily barrage. http://infiniteglitch.com/ Infinite Glitch http://infiniteglitch.com/ is an automated system that generates an ever-changing audio/video stream from the constantly increasing mass of media files freely available on the web. Source audio and video files are ripped from a variety of popular media hosting sites, torn apart, and recombined using collage and glitch techniques to create an organic, chaotic flood of sensory input. Ben Baker-Smith -- http://bitsynthesis.com ___ 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] [PD-announce] Infinite Glitch
impressive! :) On Mon, Jan 24, 2011 at 5:02 PM, Ben Baker-Smith bbakersm...@gmail.comwrote: Hello List, Today is the official release of Infinite Glitch, an online based artwork that was created using, among other things, Pd-extended and PdGst. Thanks so much to everyone who has helped with the development of these great tools! You can read through the description below or jump straight to the project page: http://infiniteglitch.com -- Every day an incomprehensible number of new digital media files are uploaded to hosting sites across the internet. Far too many for any one person to consume. Infinite Glitch http://infiniteglitch.com/ is a stream-of-conciousness representation of this overwhelming flood of media, its fractured and degraded sounds and images reflecting how little we as an audience are able to retain from this daily barrage. http://infiniteglitch.com/ Infinite Glitch http://infiniteglitch.com/ is an automated system that generates an ever-changing audio/video stream from the constantly increasing mass of media files freely available on the web. Source audio and video files are ripped from a variety of popular media hosting sites, torn apart, and recombined using collage and glitch techniques to create an organic, chaotic flood of sensory input. Ben Baker-Smith -- http://bitsynthesis.com ___ 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
Re: [PD] [PD-announce] Infinite Glitch
This is so awesome, I know a couple people who will also LOVE this... ±±t3db0t On Jan 24, 2011, at 12:02 PM, Ben Baker-Smith wrote: Hello List, Today is the official release of Infinite Glitch, an online based artwork that was created using, among other things, Pd-extended and PdGst. Thanks so much to everyone who has helped with the development of these great tools! You can read through the description below or jump straight to the project page: http://infiniteglitch.com -- Every day an incomprehensible number of new digital media files are uploaded to hosting sites across the internet. Far too many for any one person to consume. Infinite Glitch is a stream-of-conciousness representation of this overwhelming flood of media, its fractured and degraded sounds and images reflecting how little we as an audience are able to retain from this daily barrage. Infinite Glitch is an automated system that generates an ever-changing audio/video stream from the constantly increasing mass of media files freely available on the web. Source audio and video files are ripped from a variety of popular media hosting sites, torn apart, and recombined using collage and glitch techniques to create an organic, chaotic flood of sensory input. Ben Baker-Smith -- http://bitsynthesis.com ___ 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
Re: [PD] [PD-announce] Infinite Glitch
We (at NetAudioLx) loved it :) On Mon, Jan 24, 2011 at 5:12 PM, Tedb0t li...@liminastudio.com wrote: This is so awesome, I know a couple people who will also LOVE this... ±±t3db0t On Jan 24, 2011, at 12:02 PM, Ben Baker-Smith wrote: Hello List, Today is the official release of Infinite Glitch, an online based artwork that was created using, among other things, Pd-extended and PdGst. Thanks so much to everyone who has helped with the development of these great tools! You can read through the description below or jump straight to the project page: http://infiniteglitch.com -- Every day an incomprehensible number of new digital media files are uploaded to hosting sites across the internet. Far too many for any one person to consume. Infinite Glitch http://infiniteglitch.com/ is a stream-of-conciousness representation of this overwhelming flood of media, its fractured and degraded sounds and images reflecting how little we as an audience are able to retain from this daily barrage. http://infiniteglitch.com/ Infinite Glitch http://infiniteglitch.com/ is an automated system that generates an ever-changing audio/video stream from the constantly increasing mass of media files freely available on the web. Source audio and video files are ripped from a variety of popular media hosting sites, torn apart, and recombined using collage and glitch techniques to create an organic, chaotic flood of sensory input. Ben Baker-Smith -- http://bitsynthesis.com ___ 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 -- Pedro Lopes (MSc) contact: pedro.lo...@ist.utl.pt website: http://web.ist.utl.pt/Pedro.Lopes ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] Infinite Glitch
Video's kind of OK (low bandwidth compression, to be expected) but the audio is really unlistenable - it seems to be entirely composed of high-pitched squealing, white/pink noise and fast-forward noises. (Linux 2.6.36-ARCH, Firefox 3.6.13 with gecko/mplayer plugin, also VLC). On 24 January 2011 17:42, Pedro Lopes pedro.lo...@ist.utl.pt wrote: We (at NetAudioLx) loved it :) On Mon, Jan 24, 2011 at 5:12 PM, Tedb0t li...@liminastudio.com wrote: This is so awesome, I know a couple people who will also LOVE this... ±±t3db0t On Jan 24, 2011, at 12:02 PM, Ben Baker-Smith wrote: Hello List, Today is the official release of Infinite Glitch, an online based artwork that was created using, among other things, Pd-extended and PdGst. Thanks so much to everyone who has helped with the development of these great tools! You can read through the description below or jump straight to the project page: http://infiniteglitch.com -- Every day an incomprehensible number of new digital media files are uploaded to hosting sites across the internet. Far too many for any one person to consume. Infinite Glitch is a stream-of-conciousness representation of this overwhelming flood of media, its fractured and degraded sounds and images reflecting how little we as an audience are able to retain from this daily barrage. Infinite Glitch is an automated system that generates an ever-changing audio/video stream from the constantly increasing mass of media files freely available on the web. Source audio and video files are ripped from a variety of popular media hosting sites, torn apart, and recombined using collage and glitch techniques to create an organic, chaotic flood of sensory input. Ben Baker-Smith -- http://bitsynthesis.com ___ 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 -- Pedro Lopes (MSc) contact: pedro.lo...@ist.utl.pt website: http://web.ist.utl.pt/Pedro.Lopes ___ 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] Infinite Glitch
Yeah, isn't it great? -Theron ^ On Mon, Jan 24, 2011 at 10:08 AM, mark hadman markhad...@googlemail.comwrote: Video's kind of OK (low bandwidth compression, to be expected) but the audio is really unlistenable - it seems to be entirely composed of high-pitched squealing, white/pink noise and fast-forward noises. (Linux 2.6.36-ARCH, Firefox 3.6.13 with gecko/mplayer plugin, also VLC). On 24 January 2011 17:42, Pedro Lopes pedro.lo...@ist.utl.pt wrote: We (at NetAudioLx) loved it :) On Mon, Jan 24, 2011 at 5:12 PM, Tedb0t li...@liminastudio.com wrote: This is so awesome, I know a couple people who will also LOVE this... ±±t3db0t On Jan 24, 2011, at 12:02 PM, Ben Baker-Smith wrote: Hello List, Today is the official release of Infinite Glitch, an online based artwork that was created using, among other things, Pd-extended and PdGst. Thanks so much to everyone who has helped with the development of these great tools! You can read through the description below or jump straight to the project page: http://infiniteglitch.com -- Every day an incomprehensible number of new digital media files are uploaded to hosting sites across the internet. Far too many for any one person to consume. Infinite Glitch is a stream-of-conciousness representation of this overwhelming flood of media, its fractured and degraded sounds and images reflecting how little we as an audience are able to retain from this daily barrage. Infinite Glitch is an automated system that generates an ever-changing audio/video stream from the constantly increasing mass of media files freely available on the web. Source audio and video files are ripped from a variety of popular media hosting sites, torn apart, and recombined using collage and glitch techniques to create an organic, chaotic flood of sensory input. Ben Baker-Smith -- http://bitsynthesis.com ___ 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 -- Pedro Lopes (MSc) contact: pedro.lo...@ist.utl.pt website: http://web.ist.utl.pt/Pedro.Lopes ___ 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] interaural time differences
I'm also interested in a ITD implementation. Nice that you bring this up. Anyway as far as spatialization I've used, within PD, ambisonics and VPAB. A) This paper talks a bit about using ITD althouth its focused on binaural: http://www.limsi.fr/Individu/doukhan/uploads/Research/doukhan_pdcon09.pdf (also the slides are online... http://www.limsi.fr/Individu/doukhan/uploads/Research/doukhan_pdcon09_slides.pdf) - this is from Pd Con 2009, from David Doukhan and Anne S edes. B) Also I've stumble upon this: http://compmus.ime.usp.br/en/hrtfinterpolation, although they also go for Binaural implementations. Interesting reads if we go nuts and implement the ITD external *(if there's not one out there*): 1) http://www.umiacs.umd.edu/~ramani/hrtf/duda_umd00_slides.pdf 2) http://www.sengpielaudio.com/calculator-timedelayphase.htm Best regards, Pedro On Sat, Jan 22, 2011 at 10:21 PM, ronni montoya ronni.mont...@gmail.comwrote: Hi, i was wondering if somebody have implemented an example patch that uses interaural time differences in pd? thanks R. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Pedro Lopes (MSc) contact: pedro.lo...@ist.utl.pt website: http://web.ist.utl.pt/Pedro.Lopes ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] making a list for a matrix
Hi guys Im receiving a list of flotas from a process. I want to add this list to a specific row of a matrix using [matrix] from /iemmatrix library. The method to add a row to [matrix] is to make a message which first element is 'row', then a float with the row number, and then the floats that make the row. The problem i have is that when i pack the whole message and print it iget 'list' preceding the list (see below), so when i send it to the [matrix] object i get the matrix: sparse matrices not yet supported : use mtx_check ! error. So the question is: How can i make this message without having to use the message object because it should have fixed dollar sign variables and the matrix i want to fill might change its length from time to time. Thanks in advance /D print: list row 5 0 1 0.455 0.5 0.5 0 0 0 0.5 0.5 0 0 0 1 1 0.385 0 0 0 0.33 0 0 0 0 0 0.442308 0 0.269231 0 0.33 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.378709 0.5 0.04 0.5 0 0.115385 0 0 0 0 0 0 0.74 0.325 0.345 0.43 0 0.065 0.325 0.285 0 0.045 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] making a list for a matrix
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2011-01-24 20:53, mami music wrote: Hi guys Im receiving a list of flotas from a process. I want to add this list to a specific row of a matrix using [matrix] from /iemmatrix library. The method to add a row to [matrix] is to make a message which first element is 'row', then a float with the row number, and then the floats that make the row. The problem i have is that when i pack the whole message and print it iget 'list' preceding the list (see below), so when i send it to the [matrix] object i get the matrix: sparse matrices not yet supported : use mtx_check ! error. So the question is: How can i make this message without having to use the message object because it should have fixed dollar sign variables and the matrix i want to fill might change its length from time to time. [list trim] fgmadr IOhannes -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk092bwACgkQkX2Xpv6ydvQ3ggCfUFXdwrVjAwKkLfG7O9LO1/Yi BSAAmwQp7c54BvDchZVsuUNMplurD5GW =CkwG -END PGP SIGNATURE- 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] Pager in documentation
I saw for 0.INTRO.txt, i don't find it in the tarball release. This file really exist? For a list of all PD vanilla objects, just right-click in empty space in a PD patch and choose help ed ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Really random random from date and time
Hi list, I'd like my patch to create a different random each time it's loaded. I'm using [urn] so I tried feeding a [random 500] - [seed $1( into the [urn], but every time it's the same result. According to the documentation if you don't give it a seed then each instance of random gets its own seed but every time I initiate the patch the result is the same. Is there an object that will give me the current date and/or time, so that I can use that as a seed to the random and urn objects??? 11010001001001011 Ed Metastudio 4 for Pure Data - coming soon! Metastudio 3 still available at http://sharktracks.co.uk/puredata ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] [pool] build fails on linux
hi, trying to build pool from latest svn (and latest pd git) I get this error: make[1]: Entering directory `/home/delf/dev/pool/source' /bin/bash ../libtool --tag=CXX --mode=link g++ -O2 -I/usr/local/include/flext -I/home/delf/dev/pure-data/src -no-undefined -module -shrext .pd_linux -avoid-version -L/usr/local/lib -lpd -lflext-pd_s-o pool.la -rpath /usr/local/lib pool_la-main.lo pool_la-pool.lo pool_la-data.lo libtool: link: g++ -shared -nostdlib /usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crti.o /usr/lib/gcc/i486-linux-gnu/4.4.3/crtbeginS.o .libs/pool_la-main.o .libs/pool_la-pool.o .libs/pool_la-data.o -L/usr/local/lib -lpd -lflext-pd_s -L/usr/lib/gcc/i486-linux-gnu/4.4.3 -L/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/i486-linux-gnu/4.4.3/../../.. -L/usr/lib/i486-linux-gnu -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i486-linux-gnu/4.4.3/crtendS.o /usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crtn.o-Wl,-soname -Wl,pool.pd_linux -o .libs/pool.pd_linux /usr/bin/ld: cannot find -lpd collect2: ld returned 1 exit status make[1]: *** [pool.la] Error 1 make[1]: Leaving directory `/home/delf/dev/pool/source' make: *** [all-recursive] Error 1 zsh: exit 2 make am I missing a path or something ? ./configure --with-sysdir=/PATH/TO/PD/SRC did find pd headers and all, now I have no idea about what is going wrong... any hint is much appreciated, cheers, _y ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Really random random from date and time
On Tue, 25 Jan 2011, Ed Kelly wrote: Is there an object that will give me the current date and/or time, so that I can use that as a seed to the random and urn objects??? http://gridflow.ca/help/unix_time-help.html ___ | 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] Really random random from date and time
On Tue, 25 Jan 2011, Ed Kelly wrote: I'm using [urn] so I tried feeding a [random 500] - [seed $1( into the [urn], but every time it's the same result. According to the documentation if you don't give it a seed then each instance of random gets its own seed but every time I initiate the patch the result is the same. BTW there is also [# rand] which uses libc's random() (actually random()%n), and also, merely loading gridflow will call srandom() to seed it with the system time. ___ | 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] keyword/regexp search of documentation in a plugin
Remixed! -Jonathan --- On Thu, 1/13/11, Hans-Christoph Steiner h...@at.or.at wrote: From: Hans-Christoph Steiner h...@at.or.at Subject: Re: [PD] keyword/regexp search of documentation in a plugin To: Jonathan Wilkes jancs...@yahoo.com Cc: pd-list PD-list@iem.at Date: Thursday, January 13, 2011, 6:00 PM Attached is an updated version: On Jan 12, 2011, at 9:13 PM, Jonathan Wilkes wrote: 1 the results aren't clickable Which platform? They are for me on Ubuntu/maverick, Mac OS X 10.5 and 10.6. 2 you can't enter multiple non-contiguous terms Its a regexp really, so it doesn't really do keyword searches. Ideally, this would use a search engine like xapian, then it could do keyword searches. I just added code to replace spaces in the searchtext with the regexp code .* so that it'll search non-contiguous words, but the first word will always be before the second in search results. 3 no control over AND vs. OR (or is there?) regexp 4 doesn't differentiate between tutorial/example patches and object-help patches (what if I just want to find the object named 'gate'?) Hmm, that wouldn't be too hard to do, I guess it would be a pull down menu of: object, message, comment, array, any. 5 most of the results don't fit into the window size The window should be resizable. 6 full text search makes it impossible to get useful results for 'float', array', 'list', etc. That sounds like fully typed searching, which would be very nice, but much harder to do. My goal right now is to get a basic search function working. Hopefully my code is clear enough that others will make their own custom search plugins. I could see simple search, regexp, search engine, etc. 7 can't search by inlet, object function, author, etc. (PDDP META tags) Why not? This works for me: author.*steiner 8 non-friendly user interface I spruced it up a bit with this latest version. 9 it doesn't seem to be searching the manual Ah, I'll add .html to the file types it searches. .hc I've already got a pd patch that is well on its way to curing 1-8 (posted screenshots awhile back), but it requires toxy, which seems to have been removed from pd-ext, and there is currently no (non-buggy) tk 'entry' object in existence. -Jonathan --- On Wed, 1/12/11, Hans-Christoph Steiner h...@at.or.at wrote: From: Hans-Christoph Steiner h...@at.or.at Subject: [PD] keyword/regexp search of documentation in a plugin To: pd-list PD-list@iem.at Date: Wednesday, January 12, 2011, 7:10 AM Hey all, At the strong urging of Sofy Yuditskaya, I finally wrote up a quick interface for searching the Pd docs using a keyword or a regexp. Its in the form of an 0.43 plugin, so you can just drop it into your user-folder and you should get a Search item on the Help menu. Test it out and let me know how it works for you. .hc -Inline Attachment Follows- ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list “We must become the change we want to see. - Mahatma Gandhi # plugin to allow searching all the documentation using a regexp # check the Help menu for the Search item to use it package require Tk 8.5 package require pd_bindings package require pd_menucommands namespace eval ::dialog_search:: { variable searchtext {} variable count {} variable search_history {} variable history_position 0 variable object_state {1} variable all_about_state {1} variable tutorial_state {1} variable other_state {1} } proc ::dialog_search::get_history {direction textwidget} { variable search_history variable history_position incr history_position $direction if {$history_position 0} {set history_position 0} if {$history_position [llength $search_history]} { set history_position [llength $search_history] } $textwidget delete 0 end $textwidget insert 0 [lindex $search_history end-[expr $history_position - 1]] $textwidget selection range 0 end } # TODO search type pulldown menu: object, message, comment, array, any # TODO search filenames also # TODO check line formatting options # find_doc_files # basedir - the directory to start looking in proc ::dialog_search::find_doc_files { basedir } { # Fix the directory name, this ensures the directory name is in the # native format for the platform and contains a final directory seperator set basedir [string trimright [file join $basedir { }]] set fileList {} # Look in the current directory for matching files, -type {f r} # means ony readable normal files are looked at, -nocomplain stops # an error being thrown if the returned list is empty foreach
Re: [PD] Really random random from date and time
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2011-01-25 01:58, Ed Kelly wrote: Hi list, I'd like my patch to create a different random each time it's loaded. I'm using [urn] so I tried feeding a [random 500] - [seed $1( into the [urn], but every time it's the same result. According to the documentation if you don't give it a seed then each instance of random gets its own seed but every time I initiate the patch the result is the same. Is there an object that will give me the current date and/or time, so that I can use that as a seed to the random and urn objects??? zexy's [time] and [date] fgmasdr IOhannes -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk0+gksACgkQkX2Xpv6ydvT+BACgpEAs3TvT+xrECvM7lIG7t6ql yhMAnjaY5R/qapCWpapvNPFU5mCGvo3i =CB+1 -END PGP SIGNATURE- smime.p7s Description: S/MIME Cryptographic Signature ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list