Re: [PD] [PD-announce] Arduino for Pd'ers tutorial
On Tue, Sep 2, 2014 at 10:19 AM, Py Fave pyf...@gmail.com wrote: this is very nice ! i have one (beginner) question, for analog inputs ,if you push your potentiometer full right, couldn't it harm the card because it is a kind of short ? would it be better to have a resistor in serial? I have to admit that my knowledge on electronics is non-existent. I've built quite some controllers with Arduino though, and never used any resistor with potentiometers and nothing weird happened, they work fine... I know that when you spin a potentiometer full right or left, it connects its middle leg to 5V or ground, but never had problems with it. Maybe someone who's got knowledge on this could clarify it... 2014-09-01 12:51 GMT+02:00 Alexandros Drymonitis adr...@gmail.com: Sorry for cross-posting, I tried to reply to my previous post but got a notification that the announce list is not for discussions (makes sense), so I'm sending a new email. I just made a few corrections to the servo motors project of a tutorial on Arduino and Pd I wrote last month (attached). Cheers ___ Pd-announce mailing list pd-annou...@lists.iem.at http://lists.puredata.info/listinfo/pd-announce ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Compile error on Odroid-U3
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 2014-09-02 10:44, Alexandros Drymonitis wrote: On Sun, Aug 31, 2014 at 8:56 PM, Roman Haefeli reduz...@gmail.com wrote: On Sam, 2014-08-30 at 19:02 +0300, Alexandros Drymonitis wrote: On Sat, Aug 30, 2014 at 5:31 PM, IOhannes m zmölnig zmoel...@iem.at wrote: On 08/30/2014 10:57 AM, Alexandros Drymonitis wrote: /dev/mmcblk0p2 3.3G 3.1G 2.0M 100% / well, this means that you filesystem *is* full. I managed to install Pd with apt-get. Any idea why there's no space to compile from source but can install from the repos? well, the puredata package will be considerably smaller than the build-process (which also contains a large number of intermediate binary files; and the resulting binary is not (yet) stripped of uneeded symbols. e.g. if i install Pd on my debian system using the puredata package it will take about 5.7MB, whereas if i build it myself the pd directory contains about 34MB of data (after the build; not counting the 20MB in the .git directory which i expect not to be there when using the tarball) A possible scenario would be that there was enough space to install Pd from the repository, but later there was not enough space left for compiling Pd. Either way, it's moot to further investigate the reason, since the reason is clear: Your filesystem is full, as IOhannes clearly stated before. The only way to deal with that is to free some space deleting files or moving them to another partition or storage device. I've only installed libtool, automake and jack before I tried to compile Pd. Everything else that's in the filesystem came with the image installed in the eMMC module. Any suggestions as to what I should delete? anything you don't need... (it's hard to answer this without being too snarky). since you only installed so few things, it seems that you are using a pre-made system image. probably the image comes with a number of fancy software installed, including a full fledged desktop environment (like gnome), an office suite (like libreoffice) and what not. check what you have, think what you will never use and throw it away. in the meantime, you might want to start thinking about why you have an 8GB disk and you only see 3.5GB (on two partitions). - - maybe you are not using the emmc module at all - - maybe there is a large unused/unpartioned space on the emmc module. - - maybe you bought an 8GB module but only got a 4GB one. in any case, check $ cat /proc/partitions I started a new thread about a new error message I get when I tried to run Pd, which is: i'll come to that in the other thread then. fgmasdr IOhannes -BEGIN PGP SIGNATURE- Version: GnuPG v1 iQIcBAEBCAAGBQJUBazJAAoJELZQGcR/ejb4bQQP/1qtscYa036tWjbgdZemWN+j D6QD65+86kHiGSueXlm5AJaoY4mvqXZcyW0NbGHEDoTjmtsv/W24gk17USGs7Vas bQSwTCv1QQ0u1u9U9Uaw4jbFSlCBxccox1j5WTKvHEIDt/ek1QpSQ0xnA4L3aLVK FHjxpmAvGabYJqQ0BWcdc/Ymcx5OXDpcHfiVoNWVFhiCwF9Ru7ZW/U4n8jM5Z5lG 1Y/YX7a80//LTMKbQ8HcUYPm4sf0D0iKfvYsQv+U4YVO7GhYGAvdwl0F9NeR3qrc jLAkaLStLYPCaK3f06JlFqFrxTEVHlLXId9C3D4zg9jUh587afwDI3vp6WrfyofW mHNqDmaHv3gUf6me0EMetbZSbQksc7oFdRKRSJvD/2+H8Zea/IB9c7dnxMOZD+4U I3DC4ZXZhkI49iQhZZQJo5qatQNYnad39LWbt11xnf272uSj4Dywq6r6xu55xtTJ mdRL9jSvxMOcR5jY6+iuRwrNpqlJ5+q5r2vR/brhQRKUx7rkQiM+5lKiAvGgXMh4 8drBoHlYzzotLFD7yVGZpimOAqS4+0Z2bGoK3dU7qlFw3j6kzT4kXzFwFDrWXL2f QobBwoAtrXE5/H8VAb/YYI2BVXSCz7BYIGUXutUUsQrDQPkRkWMAQOeE1LppHW5L mPTDcwgUMekyN3fWtDnh =19Wa -END PGP SIGNATURE- ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Problem with X11 (was: Compile error on Odroid-U3)
On Tue, Sep 2, 2014 at 2:51 PM, IOhannes m zmoelnig zmoel...@iem.at wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 2014-08-31 17:34, Alexandros Drymonitis wrote: I'm starting a new thread cause the problems I have with Odroid are changing. Since I installed Pd with apt-get, at first, when I was writing /usr/bin/pd, I was getting the following: priority 6 scheduling enabled. priority 8 scheduling enabled. whenever I have problems starting Pd, I start with disabling (default) options. the above indicates that Pd tries to run with rt-priviliges. run with -nrt. Fontconfig warning: ignoring UTF-8: not a valid region tag and Pd was hanging (this was mentioned in the previous thread). Now I get something else when I try to open Pd, which is this: [...] xcb_connection_has_error() returned true since i have never seen this error before, i pasted it into my favourite search engine (you might want to do the same). the results i got seem to indicate that it is related to pulseaudio. I am searching the errors, but get dozens of links and not sure which one gives answers I need. I try different things... try starting Pd without audio: run with -nosound. Did with both -nrt and -nosound flags, but the same thing happens, only I didn't see watchdog signaling Pd... X11 connection rejected because of wrong authentication. X11 connection rejected because of wrong authentication. X11 connection rejected because of wrong authentication. X11 connection rejected because of wrong authentication. X11 connection rejected because of wrong authentication. again i did a quick websearch, and found [2], which gives a nice checklist (though you can ignore the last item with X11 client forwarding, as this is a) turned on explicitely with -X and b) seems to work anyhow e.g. on udoo) Seems to be ok, following these directions. Though, since the initial problem was space, I searched for the linux command to show partitions and found $ sudo fdisk -l, which gives the following: Disk /dev/mmcblk0: 7818 MB, 7818182656 bytes 4 heads, 16 sectors/track, 238592 cylinders, total 15269888 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000c4046 Device Boot Start End Blocks Id System /dev/mmcblk0p13072 266239 1315846 FAT16 /dev/mmcblk0p2 266240 7407615 3570688 83 Linux Disk /dev/mmcblk0rpmb: 0 MB, 524288 bytes 4 heads, 16 sectors/track, 16 cylinders, total 1024 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x Disk /dev/mmcblk0rpmb doesn't contain a valid partition table Disk /dev/mmcblk0boot1: 4 MB, 4194304 bytes 4 heads, 16 sectors/track, 128 cylinders, total 8192 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x Disk /dev/mmcblk0boot1 doesn't contain a valid partition table Disk /dev/mmcblk0boot0: 4 MB, 4194304 bytes 4 heads, 16 sectors/track, 128 cylinders, total 8192 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x1907e61d Disk /dev/mmcblk0boot0 doesn't contain a valid partition table any secret hidden there? priority 6 scheduling enabled. priority 8 scheduling enabled. X11 connection rejected because of wrong authentication. X11 connection rejected because of wrong authentication. application-specific initialization failed: couldn't connect to display localhost:10.0 localhost:10.0 is the DISPLAY-setting for X11-forwarding via ssh. this means: whenever you start ssh -X ..., ssh will set the DISPLAY to this value, so that all X11-applications will be forwarded to your local machine. in any case, you should first get X11 forwarding to run properly (without Pd). use some simple application (like xclock or xeyes) to test whether it works, Nope, none of them. Both give this error: X11 connection rejected because of wrong authentication. Error: Can't open display: localhost:10.0 fgdmasr IOhannes [2] http://www.cyberciti.biz/faq/x11-connection-rejected-because-of-wrong-authentication/ -BEGIN PGP SIGNATURE- Version: GnuPG v1 iQIcBAEBCAAGBQJUBa8tAAoJELZQGcR/ejb4+qkP/iEFOPfzmdaNZjhSGKzz1fd9 CatDRMPOZZOou1C8kL6FCbVPKpHGNnEIs9coYwTdTyJmXM8D08C6SiBneEJBEyFp pAhdvSkFgs2xgOiVnPIUzF3wfwWoOIe+A7EglKfNkTtn25e/HWFXx4ZWrysqva0e 6smgUd/+dxkfPz4+O7nnYf9DGOG74q3xYFLg9GKvr8s8x2ihL01mCfTCDOgYKYmU Fy8B00l96pzkOZV+J8IqR5wZzgrUc7PLNLsYNxPboCdcIoWuKmgrwfs2Ed4BD6wb 3p/19+qiOVMjcYka2kYn92sBINSCwevYsXw9W51uTdOngB2dX5ssnoY7Fj8umgGg
Re: [PD] Problem with X11 (was: Compile error on Odroid-U3)
An update to this thread. I found this thread in Odroid's forum http://forum.odroid.com/viewtopic.php?f=79t=5650 and followed the suggestion of the fourth post, saying to change the 'Option fbdev /dev/fb1' to fb0 (well it's for Debian Wheezy and my Odroid is running in Ubuntu, but gave it a shot), and when I try to open Pd I get this: xcb_connection_has_error() returned true priority 6 scheduling enabled. priority 8 scheduling enabled. application-specific initialization failed: couldn't connect to display localhost:10.0 but I don't get the X11 connection rejected because of wrong authentication. error any more. Then watchdog is signaling Pd without Pd opening. Is this any better? On Tue, Sep 2, 2014 at 3:13 PM, Alexandros Drymonitis adr...@gmail.com wrote: On Tue, Sep 2, 2014 at 2:51 PM, IOhannes m zmoelnig zmoel...@iem.at wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 2014-08-31 17:34, Alexandros Drymonitis wrote: I'm starting a new thread cause the problems I have with Odroid are changing. Since I installed Pd with apt-get, at first, when I was writing /usr/bin/pd, I was getting the following: priority 6 scheduling enabled. priority 8 scheduling enabled. whenever I have problems starting Pd, I start with disabling (default) options. the above indicates that Pd tries to run with rt-priviliges. run with -nrt. Fontconfig warning: ignoring UTF-8: not a valid region tag and Pd was hanging (this was mentioned in the previous thread). Now I get something else when I try to open Pd, which is this: [...] xcb_connection_has_error() returned true since i have never seen this error before, i pasted it into my favourite search engine (you might want to do the same). the results i got seem to indicate that it is related to pulseaudio. I am searching the errors, but get dozens of links and not sure which one gives answers I need. I try different things... try starting Pd without audio: run with -nosound. Did with both -nrt and -nosound flags, but the same thing happens, only I didn't see watchdog signaling Pd... X11 connection rejected because of wrong authentication. X11 connection rejected because of wrong authentication. X11 connection rejected because of wrong authentication. X11 connection rejected because of wrong authentication. X11 connection rejected because of wrong authentication. again i did a quick websearch, and found [2], which gives a nice checklist (though you can ignore the last item with X11 client forwarding, as this is a) turned on explicitely with -X and b) seems to work anyhow e.g. on udoo) Seems to be ok, following these directions. Though, since the initial problem was space, I searched for the linux command to show partitions and found $ sudo fdisk -l, which gives the following: Disk /dev/mmcblk0: 7818 MB, 7818182656 bytes 4 heads, 16 sectors/track, 238592 cylinders, total 15269888 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000c4046 Device Boot Start End Blocks Id System /dev/mmcblk0p13072 266239 1315846 FAT16 /dev/mmcblk0p2 266240 7407615 3570688 83 Linux Disk /dev/mmcblk0rpmb: 0 MB, 524288 bytes 4 heads, 16 sectors/track, 16 cylinders, total 1024 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x Disk /dev/mmcblk0rpmb doesn't contain a valid partition table Disk /dev/mmcblk0boot1: 4 MB, 4194304 bytes 4 heads, 16 sectors/track, 128 cylinders, total 8192 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x Disk /dev/mmcblk0boot1 doesn't contain a valid partition table Disk /dev/mmcblk0boot0: 4 MB, 4194304 bytes 4 heads, 16 sectors/track, 128 cylinders, total 8192 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x1907e61d Disk /dev/mmcblk0boot0 doesn't contain a valid partition table any secret hidden there? priority 6 scheduling enabled. priority 8 scheduling enabled. X11 connection rejected because of wrong authentication. X11 connection rejected because of wrong authentication. application-specific initialization failed: couldn't connect to display localhost:10.0 localhost:10.0 is the DISPLAY-setting for X11-forwarding via ssh. this means: whenever you start ssh -X ..., ssh will set the DISPLAY to this value, so that all X11-applications will be forwarded to your local machine. in any case, you should first get X11 forwarding to run properly (without Pd). use some simple
Re: [PD] Problem with X11 (was: Compile error on Odroid-U3)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 2014-09-02 14:13, Alexandros Drymonitis wrote: On Tue, Sep 2, 2014 at 2:51 PM, IOhannes m zmoelnig zmoel...@iem.at wrote: since i have never seen this error before, i pasted it into my favourite search engine (you might want to do the same). the results i got seem to indicate that it is related to pulseaudio. I am searching the errors, but get dozens of links and not sure which one gives answers I need. I try different things... cool. i usually get *thousands* of links... Disk /dev/mmcblk0rpmb doesn't contain a valid partition table Disk /dev/mmcblk0boot1 doesn't contain a valid partition table Disk /dev/mmcblk0boot0 doesn't contain a valid partition table any secret hidden there? no. you get errors because you are trying to read partition tables from partitions (which don't contain partition tables; only disks do) most info revealed by the first command (`fdisk -l`) has already been revealed by `cat /proc/partitions` in any case, you should first get X11 forwarding to run properly (without Pd). use some simple application (like xclock or xeyes) to test whether it works, Nope, none of them. Both give this error: X11 connection rejected because of wrong authentication. Error: Can't open display: localhost:10.0 what is the user you using to log into the odroid? what does the following return on the odroid: $ file ~/.Xauthority fgmasd IOhannes -BEGIN PGP SIGNATURE- Version: GnuPG v1 iQIcBAEBCAAGBQJUBeBYAAoJELZQGcR/ejb4bQQP/06sxOF98UO+R3xy3MYqbZeN YvLIOMrPEn6vCADrPRuiwKtM44Cr/eR/zgWbBFh+Vow2J3Agj6IioPsFb3bkBrHA /JmRgegsGGEYNpuWdH+70BCfLSAzYKcM9qX8UxXKJyHUApp+8b24S9zR9F5UIB9D KPwLai7rfMLaDXir/0lA5TTp+uf2v05v9kaSg91TR/NYjD0Hr+23wPY+yUk8dTRd LRkUTvuAiCrNb7Q4ZgcWzeRz8QMxvqF8WGWQfClNolRQ06pIoADuEW//Ao/Qr3wt R0sMBb6K9yA3tluuCr8tyAArNRUYp/x6VTjrEOS3sVzOo6nLnO51khc2HKUpAC+K MUdRwYOcldKv3u76M6U9i1KPqqNxSnS8Uzth4Wmrb+PZ7cVi02n7Ih/F50+LtshU k85tDPmylh0sqVL271eMjVSHQZaSyNeOM6qh1u5T3CAZVnp3OGwCrWAjFpZr/Sl4 6w7R7Nf+svUM5HZYCtgvKLjnz52H1ZTxHDauHVlv02jxtEIoBOl8ox4ZP+pYTt/6 K7gD1mZhz2G2RKH/tshBxUQ4R6bSsZDmXL1eQPEO/3kTF2u0cTpC+lBjn2cJX28S IoockaShc00+DAW4cwLR4E0bCL5JMrQfPC0tdJHJAoUCB9b+0f4E0wTnngDKAk3N c2fZSnd7WqTfv0BaRXSw =wJtT -END PGP SIGNATURE- ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] [polygate~] equal power function? sin/cos?
Hi, about [polygate~]. Does anyone know what kind of equalpower function that's being used for the crossfade? is it sine/cossine? thanks ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Fresh XP install, extended works but not vanilla?
Nobody? On Wednesday, 20 August 2014, 19:46, JF sainti...@yahoo.com wrote: Hi all, I've come across a problem that has me stumped. I've recently bought another laptop which is the same model/spec as my current one. I've installed Win XP SP2 (again, same as other laptop) fresh from the OEM disc, and tried to run PD vanilla and it wouldn't open. Nothing happened when double clicking the EXE. I downloaded the latest vanilla version (I think I had been running an older version) from Miller's page and the latest extended. Again vanilla wouldn't run. Extended installed fine though and that works. I thought tha installing extended might 'fix' vanilla but that still won't run. I opened the command line and ran the pd.com and it said there was an TCL error? But no windows pop up and nothing else happens. I don't have much info to go on... pd.com spawnl: Invalid argument C:\pd\bin\wish85.exe: couldn't load TCL Does anybody know how I should attack this? Or can anyone help? Thanks in advance as always, John. ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] Arduino for Pd'ers tutorial
On Die, 2014-09-02 at 09:19 +0200, Py Fave wrote: this is very nice ! i have one (beginner) question, for analog inputs ,if you push your potentiometer full right, couldn't it harm the card because it is a kind of short ? would it be better to have a resistor in serial? Let's say, you connect the left pin of the poti to ground, the right to 5V and the middle one to the analog input. When you turn the poti fully right, it creates a short between 5V and the analog input, which is no problem at all, as the analog has a very high impedance, which means only a very tiny current is flowing. Roman 2014-09-01 12:51 GMT+02:00 Alexandros Drymonitis adr...@gmail.com: Sorry for cross-posting, I tried to reply to my previous post but got a notification that the announce list is not for discussions (makes sense), so I'm sending a new email. I just made a few corrections to the servo motors project of a tutorial on Arduino and Pd I wrote last month (attached). Cheers ___ Pd-announce mailing list pd-annou...@lists.iem.at http://lists.puredata.info/listinfo/pd-announce ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Fresh XP install, extended works but not vanilla?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I guess it might be hard to find someone with a fresh XP install since it is EOL. On 09/03/2014 03:27 AM, JF via Pd-list wrote: Nobody? On Wednesday, 20 August 2014, 19:46, JF sainti...@yahoo.com wrote: Hi all, I've come across a problem that has me stumped. I've recently bought another laptop which is the same model/spec as my current one. I've installed Win XP SP2 (again, same as other laptop) fresh from the OEM disc, and tried to run PD vanilla and it wouldn't open. Nothing happened when double clicking the EXE. I downloaded the latest vanilla version (I think I had been running an older version) from Miller's page and the latest extended. Again vanilla wouldn't run. Extended installed fine though and that works. I thought tha installing extended might 'fix' vanilla but that still won't run. I opened the command line and ran the pd.com and it said there was an TCL error? But no windows pop up and nothing else happens. I don't have much info to go on... pd.com spawnl: Invalid argument C:\pd\bin\wish85.exe: couldn't load TCL Does anybody know how I should attack this? Or can anyone help? Thanks in advance as always, John. -BEGIN PGP SIGNATURE- Version: GnuPG v1 iEYEARECAAYFAlQGb34ACgkQ3EB7kzgMM6INzgCfWOVGRJZI36MRz4Rt/CNEPcyS sC0AnA7WDepsfr+fLcnwkTA0uvJnF+GX =4P5d -END PGP SIGNATURE- ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [polygate~] equal power function? sin/cos?
what about an opposite version of polygate~ that would compare do demux~, is there anything like it in Pd Extended? cheers 2014-09-02 13:58 GMT-03:00 Alexandre Torres Porres por...@gmail.com: Hi, about [polygate~]. Does anyone know what kind of equalpower function that's being used for the crossfade? is it sine/cossine? thanks ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list