[PD] Compiling Pd in Sabayon
Having had some problems with audio drop outs in Ubuntu, I am now giving Sabayon 14.01 a try. I'm trying to compile Pd, ./autogen.sh seemed to work fine, but when I type ./configure --enable-jack things go wrong. At the end of configure I get these messages: ./configure: line 15417: syntax error near unexpected token `JACK,' ./configure: line 15417: `PKG_CHECK_MODULES(JACK, jack, have_jack=yes, have_jack=no)' configure: error: ./configure failed for portaudio I checked line 15417 in configure, but doesn't make any sense to me, unfortunately.. plus some other stuff that don't seem write (out of intuition, not knowledge or experience) for example: checking machine/soundcard.h usability... no checking machine/soundcard.h presence... no checking for machine/soundcard.h... no checking for _oss_ioctl in -lossaudio... no I also got lots of warnings when I typed make, like: msgfmt --check --tcl --locale=af -d . af.po af.po:6: warning: header field 'Language' missing in header Don't know if this helps, the messages from configure are quite a lot, I could post them if it's more helpful. I have Jack1 installed (there might be some issues there with memory allocation, but that should go to Jack's list, don't know if this influences Pd's compilation) and ALSA. I've been posting a lot on this Linux and Pd issue of mine lately, but I do wanna give this combination a try...sorry if I irritate anyone.. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Compiling Pd in Sabayon
This is not really an answer (of course it would be nice if the automake think worked!) but speaking for my self, I only compile Pd the 'dumb' way: cd pd/srcv make -f makefile.gnu (If you want jack support you have to throw 'make' a flag to enble it). cheers Miller On Thu, Jan 16, 2014 at 12:50:15PM +0200, Alexandros Drymonitis wrote: Having had some problems with audio drop outs in Ubuntu, I am now giving Sabayon 14.01 a try. I'm trying to compile Pd, ./autogen.sh seemed to work fine, but when I type ./configure --enable-jack things go wrong. At the end of configure I get these messages: ./configure: line 15417: syntax error near unexpected token `JACK,' ./configure: line 15417: `PKG_CHECK_MODULES(JACK, jack, have_jack=yes, have_jack=no)' configure: error: ./configure failed for portaudio I checked line 15417 in configure, but doesn't make any sense to me, unfortunately.. plus some other stuff that don't seem write (out of intuition, not knowledge or experience) for example: checking machine/soundcard.h usability... no checking machine/soundcard.h presence... no checking for machine/soundcard.h... no checking for _oss_ioctl in -lossaudio... no I also got lots of warnings when I typed make, like: msgfmt --check --tcl --locale=af -d . af.po af.po:6: warning: header field 'Language' missing in header Don't know if this helps, the messages from configure are quite a lot, I could post them if it's more helpful. I have Jack1 installed (there might be some issues there with memory allocation, but that should go to Jack's list, don't know if this influences Pd's compilation) and ALSA. I've been posting a lot on this Linux and Pd issue of mine lately, but I do wanna give this combination a try...sorry if I irritate anyone.. ___ 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] libpd separating gui from core
On 13/01/2014 15:32, Dan Wilcox wrote: As Hans has proposed for years, IMO this is really the only way to perhaps solve the PD gui development doesn't move fast enough problem in the long term. In this case, Miller would have the core (in libpd) the pd-vanilla wrapper gui formally separated while everyone else can then use the same libpd core within other flavors. The DSP core is the heart and soul and I see no reason to try and change that in any way. Personally I have mixed feelings about that. On the one hand the strong paradigm and attractiveness of Pd has always been the dataflow concept, and that is definitely related (and needs) some sort of GUI. Now personally I've never been concerned too much about the aesthetics of the gui as long as it enables me to make noise and supports me in experimenting with it. Nor have I ever really envied the aesthetics of other proprietary dataflow platforms which in the end are non-standard, non-native anyway.. Indeed I think in an environment like Pd, GUI has actually two aspects: dataflow (i.e. 'programming' with Pd) and control. Clearly the distinction is never clear-cut. For control I think the best solution would be to look at using external libraries (environments) which can communicate with Pd (gtk, Qt, html5, arduino, ...). There is already stuff in place like TCP, OSC, but I'm not sure it's the most friendly. Maybe Pd should have the option to expose a 'server' by default for easily doing the equivalent of a [send] or something like that without need for additional overhead? Isn't this even more relevant as people are seriously starting to experiment on Raspberry Pi and similar environments? Just some brainstorming thoughts :) Lorenzo. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] [list prepend] without a space
Hi list, For OSC communication, I wonder to know how to do it. My original list(not exactly list but I say so) is: *test 1 2 3* Prepend symbols are: (prepend twice or more) */abc* */def* I want to do it [test 1 2 3( | [t a b] | \ |[symbol */abc*] | \ [list prepend] | [t a b] | \ |[symbol */def*] | \ [list prepend] | [print] The result is: */def/abctest123* But, I want to remove the space within */def* and */abc* I want to do without the space. */def/abctest123* how to do it? I tried with [$2$1] as list prepend, but the symbol in the text, it failed. Pleas help! Thanks, Jong ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Tcl Invalid Command Name Error, using iostream
Greetings, I've notice quite a bit of discussion about this error, though none in relation to my current discovery. I have a custom external that works great w/o errors in Pd-0.45-4 and Pd-extended-42.5, but throws the following error when trying to create it in Pd-extended-43.4. Sometimes GUI hangs on its creation (never completes the drawing of the object), yet Pd can still function normally with other objects. (Tcl) INVALID COMMAND NAME: invalid command name 1 while executing 1 (uplevel body line 1) invoked from within uplevel #0 $cmds_from_pd(Tcl) INVALID COMMAND NAME: invalid command name 1000 while executing 1000 (uplevel body line 1) invoked from within uplevel #0 $cmds_from_pd If I try to open a patch with the custom external sometimes Pd hangs and I have to Quit, but not always. I've tracked it down to functions that are calling std::cout via a C++ class. Sometimes I forget to comment these out during debugging. This error doesn't throw on the versions I mentioned above except pd-extended-43.4. I'm still investigating the GUI hang issue, it might be thread related b/c I was using C++11 threading library during testing, though none of those functions are ever called in the pd instance. By the way, I'm using Max OS X 10.8.5. Not sure if this is helpful to anyone, or why this would be the case. But definitely in the future I will remember to not use the C++ iostream in my Pd objects. Thanks everyone. Rob ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [list prepend] without a space
Thanks Fred, yes your way is useful, but my problem is I don't know how long the list. For all that, I can't make message like [$1$2 $3 $4 $5 $6forever? ( It isn't formalized and the form of the list, is unknown. Greetings, Jong On Fri, Jan 17, 2014 at 6:38 PM, Fred Jan Kraan fjkr...@xs4all.nl wrote: On 01/16/2014 12:06 PM, Jonghyun Kim wrote: */def/abctest123* how to do it? I tried with [$2$1] as list prepend, but the symbol in the text, it failed. You can put a | [$1$2 $3 $4 $5 $6( Just before the print. What you want is a string, not a list. Pleas help! Thanks, Jong Greetings, Fred Jan ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] [netsend](tcp) is much faster than [udpsend] why??
Hi list, I found this result that [netsend] (tcp) is much faster than [udsend]. It tested on between Mac and Ubuntu connected within eth0. I don't know why udpsend is much slower than netsend. Normally tcp is slower than udp, but netsend with tcp is faster than udpsend. It's strange. Who know it, why it causes? Thanks, Jong ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [list prepend] without a space
The unknown list in example. There is no rules or form. == test 1 2 3 file computer 2.14 4423 I love you much forever 3234 days 44.2 degree == On Fri, Jan 17, 2014 at 6:43 PM, Jonghyun Kim agitato...@gmail.com wrote: Thanks Fred, yes your way is useful, but my problem is I don't know how long the list. For all that, I can't make message like [$1$2 $3 $4 $5 $6forever? ( It isn't formalized and the form of the list, is unknown. Greetings, Jong On Fri, Jan 17, 2014 at 6:38 PM, Fred Jan Kraan fjkr...@xs4all.nl wrote: On 01/16/2014 12:06 PM, Jonghyun Kim wrote: */def/abctest123* how to do it? I tried with [$2$1] as list prepend, but the symbol in the text, it failed. You can put a | [$1$2 $3 $4 $5 $6( Just before the print. What you want is a string, not a list. Pleas help! Thanks, Jong Greetings, Fred Jan ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [list prepend] without a space
Le 16/01/2014 12:06, Jonghyun Kim a écrit : Hi list, For OSC communication, I wonder to know how to do it. My original list(not exactly list but I say so) is: *test 1 2 3* Prepend symbols are: (prepend twice or more) */abc* */def* I want to do it [test 1 2 3( | [t a b] | \ |[symbol */abc*] | \ [list prepend] | [t a b] | \ |[symbol */def*] | \ [list prepend] | list split 2 | | [$1$2 | || [list append] | cheers c [print] The result is: */def/abctest123* But, I want to remove the space within */def* and */abc* I want to do without the space. */def/abctest123* how to do it? I tried with [$2$1] as list prepend, but the symbol in the text, it failed. Pleas help! Thanks, Jong ___ 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] [list prepend] without a space
Hello Jong, See patch attached, it could help you... ++ Jack Le 16/01/2014 12:06, Jonghyun Kim a écrit : Hi list, For OSC communication, I wonder to know how to do it. My original list(not exactly list but I say so) is: *test 1 2 3* Prepend symbols are: (prepend twice or more) */abc* */def* I want to do it [test 1 2 3( | [t a b] | \ |[symbol */abc*] | \ [list prepend] | [t a b] | \ |[symbol */def*] | \ [list prepend] | [print] The result is: */def/abctest123* But, I want to remove the space within */def* and */abc* I want to do without the space. */def/abctest123* how to do it? I tried with [$2$1] as list prepend, but the symbol in the text, it failed. Pleas help! Thanks, Jong ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list create_message.pd Description: application/puredata ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Tcl Invalid Command Name Error, using iostream
I don't know the particulars, but it's quite possible you are injecting junk into the middle of a stream of data heading for the gui. I'd guess there is an unterminated message in a sys_vgui call-- i.e., one with a \\\n, possibly in a loop-- and a matching sys_gui or vgui call with a terminating \n at the end. If you put a message to the gui between the two you'll probably screw up that command. If you insert a message with a linebreak in it, then tcl will take the word immediately following the linebreak-- like a 1000 or a 1-- as a command. Those aren't tcl commands, so it complains. -Jonathan On Friday, January 17, 2014 12:38 PM, Esler,Robert Wadhams rob...@urbanstew.org wrote: Greetings, I've notice quite a bit of discussion about this error, though none in relation to my current discovery. I have a custom external that works great w/o errors in Pd-0.45-4 and Pd-extended-42.5, but throws the following error when trying to create it in Pd-extended-43.4. Sometimes GUI hangs on its creation (never completes the drawing of the object), yet Pd can still function normally with other objects. (Tcl) INVALID COMMAND NAME: invalid command name 1 while executing 1 (uplevel body line 1) invoked from within uplevel #0 $cmds_from_pd(Tcl) INVALID COMMAND NAME: invalid command name 1000 while executing 1000 (uplevel body line 1) invoked from within uplevel #0 $cmds_from_pd If I try to open a patch with the custom external sometimes Pd hangs and I have to Quit, but not always. I've tracked it down to functions that are calling std::cout via a C++ class. Sometimes I forget to comment these out during debugging. This error doesn't throw on the versions I mentioned above except pd-extended-43.4. I'm still investigating the GUI hang issue, it might be thread related b/c I was using C++11 threading library during testing, though none of those functions are ever called in the pd instance. By the way, I'm using Max OS X 10.8.5. Not sure if this is helpful to anyone, or why this would be the case. But definitely in the future I will remember to not use the C++ iostream in my Pd objects. Thanks everyone. Rob ___ 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] [list prepend] without a space
Wow! thanks Jack! It's a good point. On Fri, Jan 17, 2014 at 7:34 PM, Jack j...@rybn.org wrote: Hello Jong, See patch attached, it could help you... ++ Jack Le 16/01/2014 12:06, Jonghyun Kim a écrit : Hi list, For OSC communication, I wonder to know how to do it. My original list(not exactly list but I say so) is: *test 1 2 3* Prepend symbols are: (prepend twice or more) */abc* */def* I want to do it [test 1 2 3( | [t a b] | \ |[symbol */abc*] | \ [list prepend] | [t a b] | \ |[symbol */def*] | \ [list prepend] | [print] The result is: */def/abctest123* But, I want to remove the space within */def* and */abc* I want to do without the space. */def/abctest123* how to do it? I tried with [$2$1] as list prepend, but the symbol in the text, it failed. Pleas help! Thanks, Jong ___pd-l...@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] [PD-announce] PuREST JSON 1.0.0 and 1.0.0-json-c-0.10 released
h... as soon as I try this on a production machine (not dev machine i compiled on) I get error in the pd console with the-sound-of-money.pd example: Error while performing request: Problem with the SSL CA cert (path? access rights?) what could this be? libcurl.dylib permission stuff? im not getting too much info from a quick google search osx 10.9 m On Sun, Jan 5, 2014 at 1:01 PM, Thomas Mayer tho...@residuum.org wrote: Hi, On 03.01.2014 18:27, Thomas Mayer wrote: Hello, Binaries for Windows and Debian i386 and amd64: http://ix.residuum.org/pd/purest_json.html I have uploaded binaries for Raspbian as well. Download those also from http://ix.residuum.org/pd/purest_json.html Thanks, Thomas -- Anything can be a tool - poverty, war. War is useful because it is effective in so many areas. (Bijaz to Hayt in: Frank Herbert - Dune Messiah) http://www.residuum.org/ ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- m.e.grimm | m.f.a | ed.m. megr...@gmail.com _ ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Compiling Pd in Sabayon
On Don, 2014-01-16 at 12:50 +0200, Alexandros Drymonitis wrote: Having had some problems with audio drop outs in Ubuntu, I am now giving Sabayon 14.01 a try. I'm trying to compile Pd, ./autogen.sh seemed to work fine, but when I type ./configure --enable-jack things go wrong. At the end of configure I get these messages: ./configure: line 15417: syntax error near unexpected token `JACK,' ./configure: line 15417: `PKG_CHECK_MODULES(JACK, jack, have_jack=yes, have_jack=no)' configure: error: ./configure failed for portaudio Actually, the configure that failed is the one for portaudio, not the one for Pd. I _believe_ it should be possible to compile and use Pd without portaudio. Pd's configure script has a flag --disable-portaudio, but it seems using it does not suppress the execution of portaudio's configure script (here on Ubuntu 12.04 with newest git, at least). I'd try it anyway. The above error you posted doesn't tell you anything about Pd's jack support. To see whether Pd's configure found jack you need to look much further up in the configure output, certainly above a line that says: === configuring in portaudio (/some/path/portaudio) There you should find something like: checking for jack_set_xrun_callback in -ljack... yes checking for jack_set_error_function in -ljack... yes I checked line 15417 in configure, but doesn't make any sense to me, unfortunately.. I don't know why portaudio's configure fails like this on Sabayon. plus some other stuff that don't seem write (out of intuition, not knowledge or experience) for example: checking machine/soundcard.h usability... no checking machine/soundcard.h presence... no checking for machine/soundcard.h... no checking for _oss_ioctl in -lossaudio... no I find the exact same lines in the output of my ./configure and everything is detected correctly and the resulting binary is working fine. Those lines do not necessarily indicate a failure. I also got lots of warnings when I typed make, like: msgfmt --check --tcl --locale=af -d . af.po af.po:6: warning: header field 'Language' missing in header It's only a warning. I'd ignore it. It probably has to do with localization of some texts (probably menus?) Don't know if this helps, the messages from configure are quite a lot, I could post them if it's more helpful. I have Jack1 installed When compiling software that is dependent on other software, it is usually not enough to install just the binaries of the other software. You need to also install the so-called headers of those other software. In Debian, packages delivering the header files have usually the '-dev' suffix in their name. So for compiling against Jack, you certainly need to have libjack-jackd2-dev or libjack0.100.0-dev installed. I don't know about Sabayon. If Sabayon is like Gentoo and all software you use is compiled on your box, then you might already have the necessary files installed. (there might be some issues there with memory allocation, but that should go to Jack's list, don't know if this influences Pd's compilation) and ALSA. I've been posting a lot on this Linux and Pd issue of mine lately, but I do wanna give this combination a try...sorry if I irritate anyone.. I don't think you do. Certainly not me. If someone has to go on an odyssey like you, it's good to have it documented somewhere, be it a mailing list. Something things are getting really cumbersome and you are most likely not alone experiencing that. You never know what details might prove useful for someone else. Roman ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [netsend](tcp) is much faster than [udpsend] why??
On Fre, 2014-01-17 at 18:48 +0100, Jonghyun Kim wrote: I found this result that [netsend] (tcp) is much faster than [udsend]. It tested on between Mac and Ubuntu connected within eth0. I don't know why udpsend is much slower than netsend. What are you measuring: throughput or latency? Maybe you can elaborate on your setup and on how and what you measure. Roman ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] compiling Pd 0.45 on Linux
Hi List, I am on Linux Mint 16 Cinnamon 64Bit and i want to compile Pd 0.45. Here is my experience: pd-0.45-3/ $ ./autogen.sh autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4/generated -I m4 autoreconf: configure.ac: tracing autoreconf: configure.ac: adding subdirectory portaudio to autoreconf autoreconf: Entering directory `portaudio' autoreconf: configure.in: not using Gettext autoreconf: running: aclocal --force aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: configure.in: tracing autoreconf: configure.in: subdirectory bindings/cpp not present autoreconf: configure.in: not using Libtool autoreconf: running: /usr/bin/autoconf --force configure.in:104: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.in:105: error: possibly undefined macro: AC_PROG_LIBTOOL autoreconf: /usr/bin/autoconf failed with exit status: 1 however as suggested in INSTALL.TXT the fallback method works with make -f makefile.gnu sudo make -f makefile.gnu install (once the dependency libasound2-dev is installed) yet when I run Pd, I get no sound ./pd oops: ALSA cards not reported in order? oops: ALSA cards not reported in order? oops: ALSA cards not reported in order? oops: ALSA cards not reported in order? oops: ALSA cards not reported in order? oops: ALSA cards not reported in order? The Pd package from the repositories has the same issue: ALSA input error (snd_pcm_open): No such file or directory ALSA output error (snd_pcm_open): No such file or directory ALSA input error (snd_pcm_open): No such file or directory ALSA output error (snd_pcm_open): No such file or directory Seems I have a problem with ALSA. Anyone has a clue where to start looking for this issue? Thanks m. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [netsend](tcp) is much faster than [udpsend] why??
I mean latency. I send OSC data in every 10ms over eth0 lan cable. With udpsend and udpreceive there is some latency, but netsend (tcp) was all ok. Jong On Fri, Jan 17, 2014 at 10:14 PM, Roman Haefeli reduz...@gmail.com wrote: On Fre, 2014-01-17 at 18:48 +0100, Jonghyun Kim wrote: I found this result that [netsend] (tcp) is much faster than [udsend]. It tested on between Mac and Ubuntu connected within eth0. I don't know why udpsend is much slower than netsend. What are you measuring: throughput or latency? Maybe you can elaborate on your setup and on how and what you measure. Roman ___ 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