Re: [PD] abstraction setting its own arguments
--- On Thu, 7/29/10, Mathieu Bouchard wrote: > From: Mathieu Bouchard > Subject: Re: [PD] abstraction setting its own arguments > To: "Jonathan Wilkes" > Cc: pd-list@iem.at > Date: Thursday, July 29, 2010, 1:15 AM > On Wed, 28 Jul 2010, Jonathan Wilkes > wrote: > > > That sounds like a good idea. > > Ok, it's implemented already. You can try it if you > checkout the svn trunk. > > > Since adddollsym currently ignores any additional > args, couldn't you just add the functionality to adddollsym > so that when there's no $2 it behaves as it currently does, > > Well, if it were only a substitution thing, I could claim > that the second argument of adddollsym defaults to the "$" > character, and then the method would have a single case. But > because the presence of a substitution char would also cause > the method to not add an implicit leading "$", it looks more > like two different methods stuck into just one. > > What do you think ? Are there examples of methods that have > multiple behaviours stuck together like that based on number > of args ? I can't think of an example. On another note: Is there a reason why you don't show an "add" message for [getargs] in the help-png? -Jonathan > > _ _ __ ___ _ _ > _ ... > | 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] fluid~.pd_linux with -rt
hi, i am trying to revive a patch that use fluid~.pd_linux. compiled flext (from grill svn) and compiled fluid~ (from pd svn). no problem here. but using pd-0.42.5 (from miller's site): ./pd -rt -alsa fluid~-help.pd GThread-ERROR **: file /build/buildd/glib2.0-2.24.1/gthread/gthread-posix.c: line 348 (g_thread_create_posix_impl): error 'Invalid argument' during 'pthread_attr_setschedparam (&attr, &sched)' aborting... (gdb) Program received signal SIGABRT, Aborted. 0x0012d422 in __kernel_vsyscall () (gdb) watchdog: signaling pd... not using the -rt, the patch open, but if i turn on DSP it crash (gdb) Program received signal SIGSEGV, Segmentation fault. 0x00401d81 in fluid_hashtable_lookup () from /usr/lib/libfluidsynth.so.1 pat ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] pd with pulse?
Hi Roman, I didn't have PulseAudio Jack Sink / Source listed. I found this tutorial: http://www.linuxmao.org/tikiwiki/tiki-index.php?page=pulseaudio+vers+jack and now everything is working! a startup script for qjackctl: #!/bin/bash pactl load-module module-jack-sink pactl load-module module-jack-source that's it! pat ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] pd with pulse?
hi cyrille, it works! with pd extended, pd vanilla, pd from git. thx, pat ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] Auto unique number tagging of gui objects
Thanks for taking the time to explain that stuff Frank. I think I've got a handle on it now, and I think it's perfect for me. Don't know why I've been so scared of it! --- On Tue, 27/7/10, saint wrote: > From: saint > Subject: Re: Auto unique number tagging of gui objects > To: "pd list" , "Me" > Date: Tuesday, 27 July, 2010, 20:29 > Okay Frank thanks for the tips. > > I was thinking of wrapper abstractions but I think I'll > just have to go the rjdj route. I've always been a bit > perplexed by sssad, do you recommend examining the rjdj > abstractions to learn? > > About the subpatches though, I was under the impression if > a subpatch was closed then it won't take up the usual > graphical change overhead that it would if it was open? > > > Cheers for pointing me in the right direction. > > John. > > > --- On Tue, 27/7/10, saint > wrote: > > > From: saint > > Subject: Auto unique number tagging of gui objects > > To: "pd list" , > "Me" > > Date: Tuesday, 27 July, 2010, 1:15 > > Hi, > > > > Is there a way to scan a patch (and then it's child > > subpatches and theirs etc. etc.) and assign a unique > > consecutive number to each graphical object? > > > > For example say I have 4 sliders in a patch I want to > > number them so that the labels now read say 001, 002, > 003 > > and 004 and they now respond to messages sent to > r-001, > > r-002,..etc. and they are now sending information on > s-001, > > s-002,..etc. > > And also this patch calls upon an abstraction that has > 3 > > toggles and I want them to be labelled, sending and > > receiving through 005, 006 and 007 etc. etc. > > > > I want to know if I can automate this task so that I > can > > apply it to patches I've already made. > > > > I know I am probably re-inventing the wheel here but I > want > > to do this in vanilla hopefully. > > > > My goal is for any gui parameter to be able to > modulate any > > other parameter (as long as they are of the same > type) > > simply by typing two numbers into number boxes that > will > > link them. A simple modulation matrix of sorts. > > > > > > Cheers as always, > > > > John. > > > > > > > > > > > > ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
[PD] Openlab#8 - Thursday 12th August, 8pm-midnight @ The Hackney Rose.
The next OpenLab OpenNight is scheduled for Thursday 12th August 8pm-midnight @ The Hackney Rose (Suggested £2 donation), 458 Hackney Rd, E29EG. As usual everyone is free to join in, just get in touch or add your name on the WIKI. (http://www.pawfal.org/openlabwiki/index.php?page=OpenNight). Line up so far is:- * Rob Atwood - feedback extrodinare * Ryan Jordan (Sensory Response Systems) * Rob Munro - Pd video patches w. android control. * Jonny Stutters * Claude Heiland-allen: brief history of 'mandulia' For those unaccustomed to OpenNight: OpenNight is a night of performances where members of the open-source, open-culture community can try out their new open-licensed creations in front of a real, live, supportive, forgiving, audience, and meet up with like-minded members. Anyone is free to join in, as long as you are using something with an open content or software license (Creative Commons, GPL, BSD, etc) - just add your name on the list below or get in contact on the Openlab mailing list . Hope to see you there ... ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] abstraction setting its own arguments
On Wed, 28 Jul 2010, Jonathan Wilkes wrote: That sounds like a good idea. Ok, it's implemented already. You can try it if you checkout the svn trunk. Since adddollsym currently ignores any additional args, couldn't you just add the functionality to adddollsym so that when there's no $2 it behaves as it currently does, Well, if it were only a substitution thing, I could claim that the second argument of adddollsym defaults to the "$" character, and then the method would have a single case. But because the presence of a substitution char would also cause the method to not add an implicit leading "$", it looks more like two different methods stuck into just one. What do you think ? Are there examples of methods that have multiple behaviours stuck together like that based on number of args ? _ _ __ ___ _ _ _ ... | 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] abstraction setting its own arguments
--- On Thu, 7/29/10, Mathieu Bouchard wrote: > From: Mathieu Bouchard > Subject: Re: [PD] abstraction setting its own arguments > To: "Jonathan Wilkes" > Cc: pd-list@iem.at > Date: Thursday, July 29, 2010, 12:21 AM > On Wed, 28 Jul 2010, Jonathan Wilkes > wrote: > > > [adddollsym 1-$$1( > > You have to dynamically patch because saving [$1-$$1( > will give you [$1-$\$1( the next time you load the patch. > > That looks like a bug... is that $$1 behaviour documented > anywhere ? Not only I haven't seen it in any documentation, > I also don't remember anyone mentioning it. And then the > change from $$ to $\$ is definitely a bug, because something > you can type by hand in a messagebox then save/load (or > delete/undo or copy/paste...) shouldn't produce any > characters that are forbidden to type, which are {\} (but > frankly the backslash is about the only one likely to occur > in such bugs). > > > I guess "adddollsym" was designed at a time when you > could only put the dollarsign variable at the front of a > dollsym. > > how about this ? > > [adddollsym2 %0-something-%1 %( > > Where $1 is the text for making the dollsym, and $2 is the > character that will be replaced by a $ while making the > dollsym. In this method, no initial $ will be assumed, which > will address my question #3. So, if this solution is fine, > then only question #2 would be left to answer. > > Then it would be a good thing to add adddollsym2 to pd > itself. That sounds like a good idea. Since adddollsym currently ignores any additional args, couldn't you just add the functionality to adddollsym so that when there's no $2 it behaves as it currently does, but if there is a $2 it does what you describe? Or is it likely there's some patch out there that would depend on adddollsym always ignoring extra args? The only thing I can think of would be [list prepend adddollsym] | [list trim] | [ ( but that seems rather baroque. > > _ _ __ ___ _ _ > _ ... > | 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] abstraction setting its own arguments
On Wed, 28 Jul 2010, Jonathan Wilkes wrote: [adddollsym 1-$$1( You have to dynamically patch because saving [$1-$$1( will give you [$1-$\$1( the next time you load the patch. That looks like a bug... is that $$1 behaviour documented anywhere ? Not only I haven't seen it in any documentation, I also don't remember anyone mentioning it. And then the change from $$ to $\$ is definitely a bug, because something you can type by hand in a messagebox then save/load (or delete/undo or copy/paste...) shouldn't produce any characters that are forbidden to type, which are {\} (but frankly the backslash is about the only one likely to occur in such bugs). I guess "adddollsym" was designed at a time when you could only put the dollarsign variable at the front of a dollsym. how about this ? [adddollsym2 %0-something-%1 %( Where $1 is the text for making the dollsym, and $2 is the character that will be replaced by a $ while making the dollsym. In this method, no initial $ will be assumed, which will address my question #3. So, if this solution is fine, then only question #2 would be left to answer. Then it would be a good thing to add adddollsym2 to pd itself. _ _ __ ___ _ _ _ ... | 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] abstraction setting its own arguments
--- On Wed, 7/28/10, Mathieu Bouchard wrote: > From: Mathieu Bouchard > Subject: Re: [PD] abstraction setting its own arguments > To: "Jonathan Wilkes" > Cc: pd-list@iem.at > Date: Wednesday, July 28, 2010, 10:46 PM > On Wed, 28 Jul 2010, Mathieu Bouchard > wrote: > > > Now I have two more questions : > > > > 1. how do I make the dollsym "$0-something-$1" > in a messagebox ? > > it seems like I just can't. > > (I mean using messagebox-edition commands like adddollsym) > > Also, > > 3. how do I make the dollsym "something-$1" in a > messagebox ? > it seems like I just can't. > Ugly hack: you could dynamically patch the following to get $1-$2: [2( | [adddollsym 1-$$1( | [ ( You have to dynamically patch because saving [$1-$$1( will give you [$1-$\$1( the next time you load the patch. I guess "adddollsym" was designed at a time when you could only put the dollarsign variable at the front of a dollsym. -Jonathan > > 2. how is one supposed to handle receive-symbols > and send-symbols the > > way floatbox, symbolbox and > IEMGUI do, with $ in them ? > > I need something to read the > "raw args", before $-substitution. > > _ _ __ ___ _ _ > _ ... > | 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] howto get "pool"
Hi,... Am Mittwoch, den 28.07.2010, 13:36 -0400 schrieb Hans-Christoph Steiner: > Welcome to Pd! You've already jumped quite a hurdle by building your Thank you, I appreciate it. > own Pd-extended. It would be great if you could document how you did it > on the pure-data wiki. You could create a new page off of this one: Sure, I'll do it. I just want to wait til i get all that stuff i need together and working. Currently only "Pool" is missing. Than I'll try to make a fedora rpm package for the hole thing. Mainly to make my own life easier, because with Fedora changes happens very fast. If it worked out ok, i made it available for all, of course. I don't know, why ccrma don't make a x86_64 Package. So there might be some issue with internal functions of pd maybe. Anyway, I'll see how far i come. Currently i tried some examples and it seems that all is working like expected. But I'm a noop pd-user, so i can not test the hole range of abilities. best regards Stefan -- ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] abstraction setting its own arguments
On Wed, 28 Jul 2010, Mathieu Bouchard wrote: Now I have two more questions : 1. how do I make the dollsym "$0-something-$1" in a messagebox ? it seems like I just can't. (I mean using messagebox-edition commands like adddollsym) Also, 3. how do I make the dollsym "something-$1" in a messagebox ? it seems like I just can't. 2. how is one supposed to handle receive-symbols and send-symbols the way floatbox, symbolbox and IEMGUI do, with $ in them ? I need something to read the "raw args", before $-substitution. _ _ __ ___ _ _ _ ... | 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] abstraction setting its own arguments
On Wed, 28 Jul 2010, Jonathan Wilkes wrote: I haven't tested it yet but I think the "just like message boxes" design is a great idea. Looking at the help-png: message boxes don't have a "clear" message. You just use "set" to clear them. damn. I don't know where I pulled this out of. [setargs] doesn't have a "clear" either. And I forgot to mention "add". In the meanwhile, I added "adddollar" and "adddollsym" and I added $-resubstitution so that instance args are updated in the same manner as a new instance's args would be initialised. Now I have two more questions : 1. how do I make the dollsym "$0-something-$1" in a messagebox ? it seems like I just can't. 2. how is one supposed to handle receive-symbols and send-symbols the way floatbox, symbolbox and IEMGUI do, with $ in them ? I need something to read the "raw args", before $-substitution. _ _ __ ___ _ _ _ ... | 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] abstraction setting its own arguments
I haven't tested it yet but I think the "just like message boxes" design is a great idea. Looking at the help-png: message boxes don't have a "clear" message. You just use "set" to clear them. -Jonathan --- On Wed, 7/28/10, Mathieu Bouchard wrote: > From: Mathieu Bouchard > Subject: [PD] abstraction setting its own arguments > To: pd-list@iem.at > Date: Wednesday, July 28, 2010, 7:11 PM > > Is there any class that allows abstractions to set their > own arguments ? It's important for making properties > dialogues that can save args the same way that numbox > (Ctrl+3) and IEMGUIs do. > > Well, I just made one. > > http://gridflow.ca/help/setargs-help.png > > Does it seem like it's designed the right way ? > > _ _ __ ___ _ _ > _ ... > | Mathieu Bouchard, Montréal, Québec. téléphone: > +1.514.383.3801 > -Inline Attachment Follows- > > ___ > 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] how do I edit puredata.info ?
how do I edit this page ? http://puredata.info/downloads/other_members/ I can't see how to add any entries, now how to edit the «GridFlow» entry. Clicking «Modify» only seems to be about the text at the top of the bullet-list. _ _ __ ___ _ _ _ ... | 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] abstraction setting its own arguments
On Wed, 28 Jul 2010, Hans-Christoph Steiner wrote: Doesn't iemguts let you do that? How is one supposed to install iemguts ? Its a very nice library for all sorts of "introspection". [canvasargs] doesn't support commas nor semicolons, and most of all, doesn't update the objectbox, doesn't update the titlebar of the abstraction, and doesn't even update the canvas environment, so [symbol $1] can't read the new arguments. _ _ __ ___ _ _ _ ... | 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] abstraction setting its own arguments
Doesn't iemguts let you do that? Its a very nice library for all sorts of "introspection". .hc On Wed, 2010-07-28 at 13:11 -0400, Mathieu Bouchard wrote: > Is there any class that allows abstractions to set their own arguments ? > It's important for making properties dialogues that can save args the same > way that numbox (Ctrl+3) and IEMGUIs do. > > Well, I just made one. > >http://gridflow.ca/help/setargs-help.png > > Does it seem like it's designed the right way ? > > _ _ __ ___ _ _ _ ... > | 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-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] howto get "pool"
Oops, forgot the URL: http://puredata.info/docs/developer/64BitLinux .hc On Wed, 2010-07-28 at 13:36 -0400, Hans-Christoph Steiner wrote: > Welcome to Pd! You've already jumped quite a hurdle by building your > own Pd-extended. It would be great if you could document how you did it > on the pure-data wiki. You could create a new page off of this one: > > > .hc > > On Wed, 2010-07-28 at 18:42 +0200, Stefan Jensen wrote: > > Hi,... > > > > first thing: i'm very very new to pd, so be nice to a first time > > user, please. ;-) > > > > I've got pd-extended compiling and working fine on Fedora13_x86_64. > > (I use "rsync -av --delete rsync://128.238.56.50/distros/pd-extended" > > to get the tree.) > > > > Now i'm missing "pool". Where can i get it and how can i include it in > > the above tree, so that it is build, when i rebuild pd? > > > > Thank you very much. > > > > best regards > > > > Stefan > > -- > > > > > > ___ > > 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] howto get "pool"
Welcome to Pd! You've already jumped quite a hurdle by building your own Pd-extended. It would be great if you could document how you did it on the pure-data wiki. You could create a new page off of this one: .hc On Wed, 2010-07-28 at 18:42 +0200, Stefan Jensen wrote: > Hi,... > > first thing: i'm very very new to pd, so be nice to a first time > user, please. ;-) > > I've got pd-extended compiling and working fine on Fedora13_x86_64. > (I use "rsync -av --delete rsync://128.238.56.50/distros/pd-extended" > to get the tree.) > > Now i'm missing "pool". Where can i get it and how can i include it in > the above tree, so that it is build, when i rebuild pd? > > Thank you very much. > > best regards > > Stefan > -- > > > ___ > 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] abstraction setting its own arguments
Is there any class that allows abstractions to set their own arguments ? It's important for making properties dialogues that can save args the same way that numbox (Ctrl+3) and IEMGUIs do. Well, I just made one. http://gridflow.ca/help/setargs-help.png Does it seem like it's designed the right way ? _ _ __ ___ _ _ _ ... | 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] howto get "pool"
Hi,... first thing: i'm very very new to pd, so be nice to a first time user, please. ;-) I've got pd-extended compiling and working fine on Fedora13_x86_64. (I use "rsync -av --delete rsync://128.238.56.50/distros/pd-extended" to get the tree.) Now i'm missing "pool". Where can i get it and how can i include it in the above tree, so that it is build, when i rebuild pd? Thank you very much. best regards Stefan -- ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] pd with pulse?
hello, with pulse audio, it help a lot if you remove audio input... on my setup (ubuntu 10.04, no change in ubuntu audio configuration, pd 0.42 vanilla) : pd -rt -alsa -alsaadd default -audiooutdev 3 -noadc -audiobuf 50 result in pd to output as a pulsaudio application. it work fine. i've got the same problem about the name of the audio out device. without -noadc, i have the same problem : audio I/O stuck. Cyrille Le 28/07/2010 18:12, patrick a écrit : ok, here's the result of my testing: git clone git://pure-data.git.sourceforge.net/gitroot/pure-data/pure-data cd pure-data/src && autoconf && configure --enable-alsa --enable-jack && make cd ../bin ./pd -rt -alsa -alsaadd default go to Media, Preferences, Audio Settings... Input device 1: choose default Output device 1: there's no default here, only (hardware/plug-in), ah ok now there's one but named \x95!\x19 I now see pd in PulseAudio Volume Control: Alsa plug-in [pd] but not for long: tried but couldn't sync A/D/A tried but couldn't sync A/D/A tried but couldn't sync A/D/A audio I/O stuck... closing audio if not using -rt, i can hear some audio, but very glitchy for about 15 seconds. same error. anyone can test out, maybe it's my setup! pat ___ 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 with pulse?
ok, here's the result of my testing: git clone git://pure-data.git.sourceforge.net/gitroot/pure-data/pure-data cd pure-data/src && autoconf && configure --enable-alsa --enable-jack && make cd ../bin ./pd -rt -alsa -alsaadd default go to Media, Preferences, Audio Settings... Input device 1: choose default Output device 1: there's no default here, only (hardware/plug-in), ah ok now there's one but named \x95!\x19 I now see pd in PulseAudio Volume Control: Alsa plug-in [pd] but not for long: tried but couldn't sync A/D/A tried but couldn't sync A/D/A tried but couldn't sync A/D/A audio I/O stuck... closing audio if not using -rt, i can hear some audio, but very glitchy for about 15 seconds. same error. anyone can test out, maybe it's my setup! pat ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] Auto unique number tagging of gui objects
--- On Wed, 7/28/10, Mathieu Bouchard wrote: > From: Mathieu Bouchard > Subject: Re: [PD] Auto unique number tagging of gui objects > To: "Jonathan Wilkes" > Cc: pd-list@iem.at > Date: Wednesday, July 28, 2010, 4:09 PM > On Tue, 27 Jul 2010, Jonathan Wilkes > wrote: > > > If I remember correctly, the send/receive symbols are > always the first and second symbol-atom arguments > > the send/receive "symbols" can actually be floats as > well... in iemgui, not the ordinary floatbox nor the > symbolbox. Ah, so that wouldn't be guaranteed to work. I was thinking s/r name floats would break the iemgui, but I was confusing it with dynamically changing the s/r name or label to something with spaces in it. However, using floats for the s/r name means you can no longer use [r] with those iemguis and that you have to use [makefilename %d] with [s] (or a message box). It may not be a big deal in this case, but it's worth keeping in mind. > > > It would save having to check each iemgui for the arg > placement, which isn't listed in the help patches > > It's not such a big deal. No, but since the # of creation args and their meaning isn't documented in the help patches it makes more work for the user. That's why I added that info. (It's currently in my_cnv-help.pd but not the other help patches.) > > _ _ __ ___ _ _ > _ ... > | 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] pd with pulse?
On Thu, 2010-07-29 at 00:36 +0900, patrick wrote: > hi olsen, > > it almost works, vlc gets "jacked", firefox, pd no problem. but the main > application i am trying to use with pd is simon, and this application is > not able to make the bridge to jack. If you go for the 'route-all-pulseaudio-to-jack' way, then you won't see all the pulseaudio clients listed in qjackctl, but only 'PulseAudio Jack Sink' as readable client and 'PulseAudio Jack Source' as writeable client. All pulseaudio applications will be routed through this ports. Roman ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] pd with pulse?
Me, I do: cd src; autoconf; ./configure [--enable-jack] [etc]; make There's another(Hans's) make system for which one CDs just to the pd directory, types "./autogen.sh && ./cofigure & make" Somehow they both coexist in the same source tree... http://puredata.info/dev/PdGuiRewrite cheers Miller On Thu, Jul 29, 2010 at 12:38:34AM +0900, patrick wrote: > Hi Miller, > > I would like to test it, but i am not sure which version should i > compile. I tried the svn (where externals are) and when launching pd > only a gray window appear: > tcl: /home/psc/src/pd/pd/bin/pd.tk: can't open script > invalid command name "pdtk_post" > > Then, i tried the git version, but there's no configure in src. > > autogen.sh: > configure.ac:84: required file `../ltmain.sh' not found > autoreconf: automake failed with exit status: 1 > > ./configure: > config.status: error: cannot find input file: `Makefile.in' > > pat > > ___ > 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 with pulse?
Hi Miller, I would like to test it, but i am not sure which version should i compile. I tried the svn (where externals are) and when launching pd only a gray window appear: tcl: /home/psc/src/pd/pd/bin/pd.tk: can't open script invalid command name "pdtk_post" Then, i tried the git version, but there's no configure in src. autogen.sh: configure.ac:84: required file `../ltmain.sh' not found autoreconf: automake failed with exit status: 1 ./configure: config.status: error: cannot find input file: `Makefile.in' pat ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] pd with pulse?
hi olsen, it almost works, vlc gets "jacked", firefox, pd no problem. but the main application i am trying to use with pd is simon, and this application is not able to make the bridge to jack. i don't know exactly why, in the configuration of audio is all about pulse, so in theory it should work... but like i said, i don't see simon listed in qjackctl audio. my last hope: -alsaadd default pat ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] pd with pulse?
Hi all -- I haven't tested this, but if it doesn't work I should try to fix... invoke "pd -aldaadd default" and the "default" device that shows up should be pulseaudio. (I've disabled pulseaudio on all my machines and can't test this right now, sorry) If not running pd from command line, add "-aldaadd default" to "startup flags" in the "startup" preferences dialog. Miller On Wed, Jul 28, 2010 at 05:46:01PM +0900, patrick wrote: > sorry olsen, i didn't see your email. thank you, very useful > information! i will try your solution asap and report back. > > sorry for the noise, > pat > > ___ > 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] change list order according to their first element
On Wed, 28 Jul 2010, patko wrote: using [list length] is a good idea, I also use [list prepend] to prepare a gridflow message for rows number like this: | | |[list length] | | |[$1 4 #] | | you are missing [/ 4] and it is not clear that [$1 4 #] is a messagebox. I would prefer using «» delimiters for messageboxes, though I often use [( simply because most people do. If you want it as a float-grid you can write «$1 4 f #» in the messagebox instead. Usually this also means changing several other objects so that they have "f #" in their arguments, but in your case, you don't have to do anything like that. _ _ __ ___ _ _ _ ... | 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] new readanysf~ for mac intel
On Jul 28, 2010, at 5:18 AM, august wrote: 10th time's a charm! ;) Thanks for spotting that, I needed to run the build on the Mac OS X 10.4/Intel build farm machine, and also add one more pass to the embed script. So here's a new build: http://autobuild.puredata.info/pdlab/readanysf~.zip And here's how: ssh pd...@128.238.56.59 cd pure-data/trunk/externals/august/readanysf~ make -f Makefile.darwin ./embed-MacOSX-dependencies.sh cd .. zip -9r readanysf~.zip readanysf~ .hc Hans, That is the OLD version of readanysf~ that you are compiling. The new code can be downloaded here: http://aug.ment.org/software/readanysf~0.40.tar.gz or on the pdlab machine, just go to: ~/pure-data/trunk/externals/august/test I don't have SVN rightsso maybe you can import the new code. The filenames and everything are new, so it'd probably be best just to purge the old stuff and punch in the new. I also made a new Makefile. If you just type 'make', it will recognize if you are on linux or macosx. If you are a mac, it will build and compile the binary package, run the new embed script on it (I modified it a bit), and tar.gz the directory. The latest binary with the new adjustments I have made can be downloaded here for testing: http://aug.ment.org/software/readanysf~0.40_MacOSX-Intel.tar.gz Please let me know if this binary version works like the previous one. -august. I updated libgavl to 1.1.2 on the Mac build farm machines, so if you build, there should use it. I think rather than me or someone importing the code, it would be best if you either requested commit access on pd-dev or set up the readanysf~ code in some other public repo like gitorious, sourceforge, etc. Or you could just maintain it as a tarball. Then we could remove the code from pure-data if its not used. I have far too many little niggly tasks like this to keep track off... .hc ok. sorry Hans. I found my sf account again and imported it all myself. Please check it out and see if it works.Can someone verify that the new Mac binary works? thanks-august. I committed some small changes to the Makefile, built it and tested it on 10.4/Intel and it loaded. .hc 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] change list order according to their first element
hi again, I forgot one point, sorry, (I couldn't try it right now because of lots of issues with pd on vista...) before you have to make a list with one item of each column, with [list split 1] for example, then it's length will give you the number of columns and then prepend the entire list with the [$1 4 #( message, where $1 is the length, before sorting it. delivre* -- Patrice Colet * créole haïtien - "patko" a écrit : > Hello, > > using [list length] is a good idea, > I also use [list prepend] to prepare a gridflow message for rows > number like this: > > > > [trigger l l] > | | > |[list length] > | | > |[$1 4 #] > | | > [list prepend] > | > [list trim] > > The non-integer number I've used only needed 3 figures after the > coma, > so I've just used [* 1000]-[i] before going into the grid and [/ > 1000] at the output, > > > > Yoi patchi > > > -- > Patrice Colet > > > - "Libero Mureddu" a écrit : > > > Thank you very much Patrice and Mathieu! > > > > There are a couple of things though that are not clear to me: > > > > 1) I'm using the second example that was posted here: > > http://lists.puredata.info/pipermail/pd-list/2010-06/080331.html > > > > However, in my case I know only the number of columns (4), but the > > number for the other dimension cannot be fixed in advance (it could > > be, but I'd like it to calculate it with list-length/4 and then > > generate automatically the right grid). I tried to do [import ($1 > > 4)] > > but it didn't work. Is there a way to do it? > > > > 2) Actually, I'm using non-integer numbers, but I cannot understand > > how to use them in a grid. > > > > 3) Although the gridflow lib is really interesting (I never used it > > before), I'm curious to know if there's another way of getting the > > same result using other objects: coll would be perfect, but it > > doesn't > > accept floating point numbers... > > > > Thanks a lot, > > > > Libero > > > > On Tue, Jul 27, 2010 at 7:13 PM, Mathieu Bouchard > > > wrote: > > > On Tue, 27 Jul 2010, patko wrote: > > > > > >> I've been in need of such trick lately you might be interested > > about it. > > >> The following mail exposes a method using gridflow > > >> http://lists.puredata.info/pipermail/pd-list/2010-06/080330.html > > > > > > BTW, that's a number-only solution, for fixed-width lists. Also, > > for > > > non-integer numbers, a small change must be made in order to > prevent > > casting > > > to int. > > > > > > _ _ __ ___ _ _ _ > ... > > > | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801 > > > > > > > > -- > > Libero Mureddu > > http://www.myspace.com/liberomureddu > > http://www.resonatorhelsinki.com/ ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] change list order according to their first element
Hello, using [list length] is a good idea, I also use [list prepend] to prepare a gridflow message for rows number like this: [trigger l l] | | |[list length] | | |[$1 4 #] | | [list prepend] | [list trim] The non-integer number I've used only needed 3 figures after the coma, so I've just used [* 1000]-[i] before going into the grid and [/ 1000] at the output, Yoi patchi -- Patrice Colet - "Libero Mureddu" a écrit : > Thank you very much Patrice and Mathieu! > > There are a couple of things though that are not clear to me: > > 1) I'm using the second example that was posted here: > http://lists.puredata.info/pipermail/pd-list/2010-06/080331.html > > However, in my case I know only the number of columns (4), but the > number for the other dimension cannot be fixed in advance (it could > be, but I'd like it to calculate it with list-length/4 and then > generate automatically the right grid). I tried to do [import ($1 > 4)] > but it didn't work. Is there a way to do it? > > 2) Actually, I'm using non-integer numbers, but I cannot understand > how to use them in a grid. > > 3) Although the gridflow lib is really interesting (I never used it > before), I'm curious to know if there's another way of getting the > same result using other objects: coll would be perfect, but it > doesn't > accept floating point numbers... > > Thanks a lot, > > Libero > > On Tue, Jul 27, 2010 at 7:13 PM, Mathieu Bouchard > wrote: > > On Tue, 27 Jul 2010, patko wrote: > > > >> I've been in need of such trick lately you might be interested > about it. > >> The following mail exposes a method using gridflow > >> http://lists.puredata.info/pipermail/pd-list/2010-06/080330.html > > > > BTW, that's a number-only solution, for fixed-width lists. Also, > for > > non-integer numbers, a small change must be made in order to prevent > casting > > to int. > > > > _ _ __ ___ _ _ _ ... > > | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801 > > > > -- > Libero Mureddu > http://www.myspace.com/liberomureddu > http://www.resonatorhelsinki.com/ ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] Auto unique number tagging of gui objects
On Tue, 27 Jul 2010, Jonathan Wilkes wrote: If I remember correctly, the send/receive symbols are always the first and second symbol-atom arguments the send/receive "symbols" can actually be floats as well... in iemgui, not the ordinary floatbox nor the symbolbox. It would save having to check each iemgui for the arg placement, which isn't listed in the help patches It's not such a big deal. _ _ __ ___ _ _ _ ... | 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] Compile sms_peak
> > > that error that you are citing, is that for compilation on a 64-bit > machine? > I'll check that later in the week. > gr~~~ > No, I use 32 bit Ubuntu. Thanks -- Marco Amato ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] new readanysf~ for mac intel
> >> 10th time's a charm! ;) Thanks for spotting that, I needed to run the > >> build on the Mac OS X 10.4/Intel build farm machine, and also add one > >> more pass to the embed script. So here's a new build: > >> > >> http://autobuild.puredata.info/pdlab/readanysf~.zip > >> > >> And here's how: > >> > >> ssh pd...@128.238.56.59 > >> cd pure-data/trunk/externals/august/readanysf~ > >> make -f Makefile.darwin > >> ./embed-MacOSX-dependencies.sh > >> cd .. > >> zip -9r readanysf~.zip readanysf~ > >> > >> .hc > > > > Hans, > > > > That is the OLD version of readanysf~ that you are compiling. > > > > The new code can be downloaded here: > > http://aug.ment.org/software/readanysf~0.40.tar.gz > > > > or on the pdlab machine, just go to: > > ~/pure-data/trunk/externals/august/test > > > > I don't have SVN rightsso maybe you can import the new code. The > > filenames and everything are new, so it'd probably be best just to > > purge the old stuff and punch in the new. > > > > I also made a new Makefile. If you just type 'make', it will > > recognize if you are on linux or macosx. If you are a mac, it will > > build and compile the binary package, run the new embed script on it > > (I modified it a bit), and tar.gz the directory. > > > > > > The latest binary with the new adjustments I have made can be > > downloaded here for testing: > > > > http://aug.ment.org/software/readanysf~0.40_MacOSX-Intel.tar.gz > > > > > > Please let me know if this binary version works like the previous > > one. > > > > -august. > > I updated libgavl to 1.1.2 on the Mac build farm machines, so if you > build, there should use it. > > I think rather than me or someone importing the code, it would be best > if you either requested commit access on pd-dev or set up the readanysf~ > code in some other public repo like gitorious, sourceforge, etc. Or you > could just maintain it as a tarball. Then we could remove the code from > pure-data if its not used. I have far too many little niggly tasks like > this to keep track off... > > .hc ok. sorry Hans. I found my sf account again and imported it all myself. Please check it out and see if it works.Can someone verify that the new Mac binary works? thanks-august. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] Sydney
On 27/07/10 22:32, chrism wrote: Hi Simon, I moved back to Perth recently? You are the first person I have found here using Pd. Maybe we should start a Pd patchers group? :) sure ... I'd noticed you were Perth a while back, but then you moved out before I got here. I'm a full time student, doing 1st year of a Mathematics and Computing degree ... more than 30 years after starting something similar in Sydney but getting distracted by radio, then theatre and performance, finally coming the full circle back to computers. I've been using Pd for creating and operating video and sound in performance and dance for a few years. Lets meet for a drink, I'm between Leederville and Northbridge. Simon ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] pd with pulse?
sorry olsen, i didn't see your email. thank you, very useful information! i will try your solution asap and report back. sorry for the noise, pat ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] pd with pulse?
Hi Pat Probably it didn't get through, but if I'm understanding Olsen correctly, his proposal was to route the whole pulseaudio traffic through jack (a.k.a using jack as a backend of pulseaudio). This way pulseaudio shows up as a client in jack (for reading and for writing) and this way you can connect any application, that uses puslseaudio with pd. That is what I am doing here as well. Check Olsen's mail for more details on how to set up. Roman On Wed, 2010-07-28 at 10:58 +0900, patrick wrote: > hi, > > the application that i am using is not jack compatible (simon (voice > recognition)). so when starting puredata, i cannot use simon (or any > other application that use pulseaudio (firefox, vlc, etc...)). > > i know nothing about the audio guts of pd, but would it be possible to > integrate pulseaudio directly to pd? again i don't know the implication > of my request: > > http://0pointer.de/lennart/projects/pulseaudio/doxygen/pacat-simple_8c-example.html > http://0pointer.de/lennart/projects/pulseaudio/doxygen/parec-simple_8c-example.html > > pat > > ___ > 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] change list order according to their first element
Thank you very much Patrice and Mathieu! There are a couple of things though that are not clear to me: 1) I'm using the second example that was posted here: http://lists.puredata.info/pipermail/pd-list/2010-06/080331.html However, in my case I know only the number of columns (4), but the number for the other dimension cannot be fixed in advance (it could be, but I'd like it to calculate it with list-length/4 and then generate automatically the right grid). I tried to do [import ($1 4)] but it didn't work. Is there a way to do it? 2) Actually, I'm using non-integer numbers, but I cannot understand how to use them in a grid. 3) Although the gridflow lib is really interesting (I never used it before), I'm curious to know if there's another way of getting the same result using other objects: coll would be perfect, but it doesn't accept floating point numbers... Thanks a lot, Libero On Tue, Jul 27, 2010 at 7:13 PM, Mathieu Bouchard wrote: > On Tue, 27 Jul 2010, patko wrote: > >> I've been in need of such trick lately you might be interested about it. >> The following mail exposes a method using gridflow >> http://lists.puredata.info/pipermail/pd-list/2010-06/080330.html > > BTW, that's a number-only solution, for fixed-width lists. Also, for > non-integer numbers, a small change must be made in order to prevent casting > to int. > > _ _ __ ___ _ _ _ ... > | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801 -- Libero Mureddu http://www.myspace.com/liberomureddu http://www.resonatorhelsinki.com/ ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list