Re: [PD] get current FileName or CanvasName?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 2014-01-27 04:45, Jonghyun Kim wrote: Hi list, anyone knows how to get current FileName, Patch, or CanvasName? I tried with iemgut, but it isn't working in Pd Vanilla... iemguts is developed against Pd-vanilla, so i'm pretty sure it *is* working with this flavour of Pd. it's probably important to compile iemguts against the very version of Pd you are using (e.g. don't try to run iemguts shipped with Pd-extended-0.43 with Pd-vanilla-0.45) fgdmasr4 IOhannes -BEGIN PGP SIGNATURE- Version: GnuPG v1 Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iQIcBAEBCAAGBQJS5hiOAAoJELZQGcR/ejb4esEP/jDJNjvuH1Ga/w1wvioUkdX6 Q49dKXJnNkqMyaFaAOJwcDhJmKvjppLNIgsWpomBaqT/ZV4riSOhaFyceef3pULH rVzxfVrNmTkYILDqdQN9WliueBdvd1X3uqH+QeZSequn8K1culiGn2yLl5q8ckce c0mx5G4lrjQJXcVDypj2NmemDUZi0l5M42lWPjitR6/xVxSh6UDl6wqN6P1I5sSs Rlu7jlfQ+LjAReZywiEiZMmjl1AYZk9eDCUc44wY76G8INYa5Z19GtcVuDTU2rMX 6sOB+3OTr2gSeU8tB8xk1DRMaOIkBbGupG8CsSmzlkTfzEJPcmNzCHQ9aMpzrzUf xYqHOjFlj3edIC+buY+g44B2GvGEtpDRJo7kfIuV+XS3W+FeKZGlkgsUr8e+bxp1 QysPdL6Ey58Vk1t1tiUASj75b22qbOMOHzYU/d2tnYnMMJ4GkSndkGNXWKEQ4OzK KS0UizFkR4zYpXpkCya13W72p+MFHReWu440bPWfX7E0Kxn5L+Gis9GwGpuvZm1m yyoA/DHRVb0aHqnW1gT00I5rcIjHFbHL0cYpvIqnrGzWYOMx21kW8w8UrmB3vxjN geexObb5MvN7XhLcYveShHhnDoQoqml5lmSNJOJdEtJVlU+tjsOWHsDh5DhFQC8I Jb0mAEu4IUIeW3OKW//p =PrfX -END PGP SIGNATURE- ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] pd~ fifo latency
hi all, in [pd~] documentation: -fifo n sets round-trip delay in blocks when trying to use -fifo 0 or -fifo 1 (i want the lowest delay possible) = pd hangs. when not specifying -fifo i get 256 samples of delay (adding 5ms to my 13ms round-trip latency). how to have just 1 sample delay with [pd~]? i short video showing -fifo 20 delay: https://dl.dropboxusercontent.com/u/1455235/pdlatency.webm ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pd~ fifo latency
Hi Miller, Linux with 0.43.4-extended (ppa): Using -fifo 2 did the trick (1 block delay). Cheers ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pd~ fifo latency
I just tried this (on Linux) -- I get a delay of 64 samples with -fifo 1 (as I was hoping for), but Pd hangs if I start a pd~ subprocess with -fifo 0. (I think it's reasonable to enforce a minimum fifo of 1 block since 0 block delay woud make pd~ less efficient than simply putting everything in one process :) Anyhow, what OS are you on? It seems that, on your OS, the fifo is magically being decreased by 1, so that you're getting 4 by default (should be 5). If you speify 2 under these conditions you should get the minimum possible: 64-sample (1 block) delay. thanks Miller On Mon, Jan 27, 2014 at 07:51:00PM -0500, pured...@11h11.com wrote: hi all, in [pd~] documentation: -fifo n sets round-trip delay in blocks when trying to use -fifo 0 or -fifo 1 (i want the lowest delay possible) = pd hangs. when not specifying -fifo i get 256 samples of delay (adding 5ms to my 13ms round-trip latency). how to have just 1 sample delay with [pd~]? i short video showing -fifo 20 delay: https://dl.dropboxusercontent.com/u/1455235/pdlatency.webm ___ 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~ fifo latency
Cool... I did some tuning on pd~ for 0.45 which might explain the -fifo discrepancy - so once you're up to 0.45 you'll want to adjust the fifo size down one block to get the same result. cheers M On Mon, Jan 27, 2014 at 08:49:34PM -0500, pured...@11h11.com wrote: Hi Miller, Linux with 0.43.4-extended (ppa): Using -fifo 2 did the trick (1 block delay). Cheers ___ 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] jack periods 32 = no pd
hi, in my quest of lowering my round-trip latency, I am configuring Jack with: periods (buffer size): 32; nperiods: 2 / 3 (doesn't matter); rate 48000 when starting pd -rt -jack -channels 2 (-nosleep) = doesn't start. other applications like amsynth, JAMin doesn't have this behaviour (they works). when using periods 64 then pd works. ? ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] jack periods 32 = no pd
* pured...@11h11.com pured...@11h11.com [2014-01-27 19:54]: hi, in my quest of lowering my round-trip latency, I am configuring Jack with: periods (buffer size): 32; nperiods: 2 / 3 (doesn't matter); rate 48000 when starting pd -rt -jack -channels 2 (-nosleep) = doesn't start. other applications like amsynth, JAMin doesn't have this behaviour (they works). when using periods 64 then pd works. i think I had the same problem recently, is there an error message output, possibly to the console when you start pd with 23 periods? Probably to the terminal upon starting pd from therein? I didn't find a solution yet, I must say. best, P ? ___ 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] jack periods 32 = no pd
pd -rt -jack -channels 2 priority 6 scheduling enabled. priority 8 scheduling enabled. Partial read Partial read ... pd: malloc.c:3822: _int_malloc: Assertion `(unsigned long)(size) = (unsigned long)(nb)' failed. Pd: signal 6 psc@pscbox:~$ pdsend errorname: error writing sock8: broken pipe pdsend errorname: error writing sock8: broken pipe ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] jack periods 32 = no pd
* pured...@11h11.com pured...@11h11.com [2014-01-27 21:24]: pd -rt -jack -channels 2 priority 6 scheduling enabled. priority 8 scheduling enabled. Partial read Partial read ... pd: malloc.c:3822: _int_malloc: Assertion `(unsigned long)(size) = (unsigned long)(nb)' failed. Pd: signal 6 psc@pscbox:~$ pdsend errorname: error writing sock8: broken pipe pdsend errorname: error writing sock8: broken pipe Jep, I do get lines of Partial read [...] followed by a Segmentation fault and pdsend errorname: error writing sock7: broken pipe Here's a backtrace from within gdb: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x77f9b700 (LWP 22956)] 0x76afc790 in ?? () from /lib/x86_64-linux-gnu/libc.so.6 (gdb) bt #0 0x76afc790 in ?? () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x004f1428 in pollprocess () #2 0x775d1dbf in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0 #3 0x77184e0e in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #4 0x76aae0fd in clone () from /lib/x86_64-linux-gnu/libc.so.6 I hope this is useful to anyone. best, P ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Data structures and their clickable area
Hi I'm using a template consisting of a rectangle done with [filledpolygon] and a number [drawnumber] in it. While mouse clicks anywhere in the area of the rectangle are detected, it's only possible to change the number with the keyboard when I exactly click on the number. Is there a way to make the number catch the keyboard no matter where I click in the rectangle? Similarly, I'd like to be able to mouse-drag anywhere in the rectangle in order to change the value of the number. Any ideas? Roman ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] jack periods 32 = no pd
Probably that's so - but Pd should still be able to deal with the mismatch. OTOH, since Pd is built-in 64 blocksize, you wouldn't be able to reduce Pd's latency by reducing jack's blocksize below 64. I'm not sure about this, but I believe that Pd running standalone (using ALSA driver) can achieve as low or perhaps slightly lower latency than Pd running under jack. This is only of interest if Pd's the only audio application you're running on that particular audio interface, however. cheers Miller On Tue, Jan 28, 2014 at 12:33:43AM -0500, pured...@11h11.com wrote: hum i might have an idea why: is it because pd works in 64 blocks? ___ 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] Compile iem_ambi from svn?
Dear list, Please excuse me for asking this again, but I am trying to compile single externals from svn (in my case it is iem_ambi). I am afraid I haven't managed to locate documentation as to how this can be done and I am confused by new/old build systems etc. upon issuing a make -f makefile in the iem_ambi directory I get makefile:12: ../../Make.include: No such file or directory which indeed does not exist. There is only one such file located within externals/iemlib which does not help even when modifying the iem_ambi makefile to include it. What is the best way to proceed here? Most other externals compile fine locally, using a well-dosed mixture of aclocal, autoconf, ./configure and make. Thank you for updating me and please excuse my oldschool way best, P ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] jack periods 32 = no pd
* Miller Puckette m...@ucsd.edu [2014-01-28 00:02]: Probably that's so - but Pd should still be able to deal with the mismatch. OTOH, since Pd is built-in 64 blocksize, you wouldn't be able to reduce Pd's latency by reducing jack's blocksize below 64. Allright, then I can live without going lower. I'm not sure about this, but I believe that Pd running standalone (using ALSA driver) can achieve as low or perhaps slightly lower latency than Pd running under jack. This is only of interest if Pd's the only audio application you're running on that particular audio interface, however. I can currently start pd using -alsa -rt -audiobuf 2 and get click-free performance, as long as I don't the classic Select all.. and move things around in Tcl/Tk, which of course causes drop-outs. Haven't measured latency with that setup yet, but it sure sounds promising. Using the oss emulation of alsa works too, but slightly more clicks when moving objects on the canvas. best, P ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] get current FileName or CanvasName?
Thanks IOhannes, I'm using Pd-0.45-4 (Vanilla) My iemguts were from Pd-extended 0.43-4. You said this cause problem, right? So, which version of IEMGUTS should I use? Thanks, Jong On Mon, Jan 27, 2014 at 9:28 AM, IOhannes m zmoelnig zmoel...@iem.atwrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 2014-01-27 04:45, Jonghyun Kim wrote: Hi list, anyone knows how to get current FileName, Patch, or CanvasName? I tried with iemgut, but it isn't working in Pd Vanilla... iemguts is developed against Pd-vanilla, so i'm pretty sure it *is* working with this flavour of Pd. it's probably important to compile iemguts against the very version of Pd you are using (e.g. don't try to run iemguts shipped with Pd-extended-0.43 with Pd-vanilla-0.45) fgdmasr4 IOhannes -BEGIN PGP SIGNATURE- Version: GnuPG v1 Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iQIcBAEBCAAGBQJS5hiOAAoJELZQGcR/ejb4esEP/jDJNjvuH1Ga/w1wvioUkdX6 Q49dKXJnNkqMyaFaAOJwcDhJmKvjppLNIgsWpomBaqT/ZV4riSOhaFyceef3pULH rVzxfVrNmTkYILDqdQN9WliueBdvd1X3uqH+QeZSequn8K1culiGn2yLl5q8ckce c0mx5G4lrjQJXcVDypj2NmemDUZi0l5M42lWPjitR6/xVxSh6UDl6wqN6P1I5sSs Rlu7jlfQ+LjAReZywiEiZMmjl1AYZk9eDCUc44wY76G8INYa5Z19GtcVuDTU2rMX 6sOB+3OTr2gSeU8tB8xk1DRMaOIkBbGupG8CsSmzlkTfzEJPcmNzCHQ9aMpzrzUf xYqHOjFlj3edIC+buY+g44B2GvGEtpDRJo7kfIuV+XS3W+FeKZGlkgsUr8e+bxp1 QysPdL6Ey58Vk1t1tiUASj75b22qbOMOHzYU/d2tnYnMMJ4GkSndkGNXWKEQ4OzK KS0UizFkR4zYpXpkCya13W72p+MFHReWu440bPWfX7E0Kxn5L+Gis9GwGpuvZm1m yyoA/DHRVb0aHqnW1gT00I5rcIjHFbHL0cYpvIqnrGzWYOMx21kW8w8UrmB3vxjN geexObb5MvN7XhLcYveShHhnDoQoqml5lmSNJOJdEtJVlU+tjsOWHsDh5DhFQC8I Jb0mAEu4IUIeW3OKW//p =PrfX -END PGP SIGNATURE- ___ 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] Data structures and their clickable area
On 01/27/2014 05:35 PM, Roman Haefeli wrote: Hi I'm using a template consisting of a rectangle done with [filledpolygon] and a number [drawnumber] in it. While mouse clicks anywhere in the area of the rectangle are detected, it's only possible to change the number with the keyboard when I exactly click on the number. Is there a way to make the number catch the keyboard no matter where I click in the rectangle? That's not possible. Essentially what you want is to take a click from one draw command-- [filledpolygon]-- and map it or forward it to another-- [drawnumber]. Scalars don't give you any tools to hook in to a parent drawing command's widgetbehavior that way. Similarly, I'd like to be able to mouse-drag anywhere in the rectangle in order to change the value of the number. You could probably do it if you use a field variable to define hotspots on every 6x6 tile of the rectangle. But you'd also have to constrain movement of the rectangle by abusing the quanta syntax, something like (-whatever:whatever)(0:0). That would presumably constrain the field variable's screen coordinates so that it doesn't move when you click-drag it. Then use the same field variable for your [drawnumber]. I'm almost finished with some new drawing instructions for data structures in Pd-l2ork that implement a subset of the svg spec. I've got some mouseover/mouseout widgetbehaviors working, but still nothing particularly sophisticated in terms of mapping mouse/keyboard interaction to field variables. One possibility is to make the hotspot bbox settable. Or maybe have a method to forward widgetbehaviors to another drawing command. -Jonathan Any ideas? 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