Re: [PD] gpio on the raspberry pi from within pd ?
Morning Jaime, Nice digging - well done. As I don't read C I admit to being somewhat at sea with the possibilities of the object so really good to hear someone else is rooting around in this. I did manage to get access to the GPIO pins making use of the messages that Charles mentioned: sudo bash echo 1 /sys/class/gpio/export echo out /sys/class/gpio/gpio1/direction chown pi /sys/class/gpio/gpio1/value But really good to just do it from within Pd - how'd you get round the sudo-thing? Not sure what it is you're doing project-wise with the GPIO pins but I've spent a couple of weeks digging through the somewhat endless bits and pieces of documentation on the web so perhaps I could be of assistance with some pointers on that front? Most of the info/code is Python-based and there's plenty of it (I'm also a complete noob re Python as well!) Miller and Charles were certainly on the right track with WiringPi as I would say it's easily the most referenced library. . My own interest is with getting a fairly recent i2c thermal imaging sensor going (see other thread) and Martin Peach is giving us some invaluable help with that but it would be my ideal scenario to be able to control, manage and filter the sensors data from within Pd (once we get the thing going!). My understanding from reading Miller's initial message re [gpio] is that it's based on WiringPi so I can't help wondering if there's also a method to include the i2c library that's a subset of WiringPi as well? Would be super-useful. Obviously early days yet but I'm sure we can get there eventually. All the best, Julian On 12 April 2013 06:21, J Oliver jaime.oliv...@gmail.com wrote: Hi Julian, All, I think I've figured out the [gpio] external. It works fine, but there there is no documentation, however, the .c file is not very complicated. The test-gpio.pd file is not very good as documentation, so I am attaching a draft help file. The argument of [gpio] is the pin number. The first thing to do is [enable 1( and not [open 1(, which is equivalent to the: sudo echo 17 /sys/class/gpio/export command. Then [open 1(, then [output 1/0( to choose direction and then write (float) to or read (bang) from the pin... There are still a few more things I need to discover, but more tomorrow when I have some jumper cables and feel more awake. best, J ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] [PD-announce] Ninja Jamm is released
Greetings. After 2 years of gestation, the Ninja Jamm iPhone app is finally released, running my Pure Data audio engine in libPd. This iPhone app requires iOS 5 or 6, iPhone 4/iPad 2 or better. The app is now available in the itunes store. Enjoy! Ed Kelly Gemnotes-0.2: Live music notation for Pure Data, now with dynamics! http://sharktracks.co.uk/ ___ Pd-announce mailing list pd-annou...@iem.at http://lists.puredata.info/listinfo/pd-announce ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Serquencer.
hey had to add bsaylor/ to mtosr and susloop~ to get it working in ubuntu pd-extended looks like missing parts to my audio production will probably make changes to fit my style great study guide thanks On Wed, Apr 3, 2013 at 12:03 AM, i go bananas hard@gmail.com wrote: something in there is causing pd to crash immediately when i load the pd file. On Wed, Apr 3, 2013 at 5:40 AM, servando barreiro servandi...@yahoo.eswrote: HI all! Here a compilation + nice .en manual of something that I have been working on lately.. http://servando.hotglue.me/serquencer Thanks to All of you for the inspiration, patches, tips, bugfixes, etc.. Ser ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Changing array curves with mouse interaction
make the pixel height 2wice or more than the vertical array size if its a horizontal problem do the same with width and horizontal size On Sat, Apr 6, 2013 at 8:10 AM, Björn Eriksson miu...@gmail.com wrote: Hello list, I´ve been searching around a little about hints on how to make a mouse interaction easier in an array, but didn´t find much. Sometimes it is a bit too precise to get a grip on the curve. So my question is, can there be some ways to make this gripping a bit easier? All the best, Björn Eriksson ___ 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] Gem High def out put (stills ect)
Le 11/04/2013 18:54, Jack a écrit : Hello Cyrille, Cool ! I didn't know this method with [alpha] and [polygon_smooth]. I get good results here with this method, better than render 4 times a primitive and translate it by 1/2 pixel with alpha. Maybe it depends on what you need to render ? quality depend on what you need to render, but usually polygon smooth is better. but performance depend on the GPU : nvidia have good antialisaing performance. i don't know about AMD. for intel, rendering 4 time gives better performances with acceptable quality. cheers c Thanks to this info, my computer will be cooler :) ++ Jack ___ 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] pd 0.44 installation problem
HI, I've just tried to install pd vanilla 0.44 and everything went OK I got no error messages. But when I try to run PD I got: without Jack @linux-9xum:~ pd ALSA lib pcm.c:2223:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2223:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2223:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib pcm_dmix.c:961:(snd_pcm_dmix_open) The dmix plugin supports only playback stream Cannot connect to server socket err = No such file or directory Cannot connect to server socket jack server is not running or cannot be started disabling real-time priority due to missing pd-watchdog (/usr/local/bin/pd-watchdog) Error in startup script: can't find package pd_connect while executing package require pd_connect (file /usr/local/tcl//pd-gui.tcl line 26) or with Jack running inux-9xum:~ pd ALSA lib pcm_dsnoop.c:617:(snd_pcm_dsnoop_open) unable to open slave ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave ALSA lib pcm.c:2223:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2223:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2223:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib pcm_dmix.c:961:(snd_pcm_dmix_open) The dmix plugin supports only playback stream ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave Cannot lock down 86577696 byte memory area (Cannot allocate memory) disabling real-time priority due to missing pd-watchdog (/usr/local/bin/pd-watchdog) Error in startup script: can't find package pd_connect while executing package require pd_connect (file /usr/local/tcl//pd-gui.tcl line 26) I'm on Opensuse 12.3 Linux linux-9xum.site 3.7.10-1.1-desktop #1 SMP PREEMPT Thu Feb 28 15:06:29 UTC 2013 (82d3f21) x86_64 x86_64 x86_64 GNU/Linux Any help will be greatly appreciated Ricardo Cedeño Montaña Humboldt-Universität zu Berlin Institute of Cultural History and Theory ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pd 0.44 installation problem
Hi Ricardo - I never heard of that problem before... do you have a file .../pd-/tcl/pd_connect.tcl ? That's what appears to be missing judging from the messages you're getting. cheers Miller On Fri, Apr 12, 2013 at 06:50:13PM +, Ricardo Cedeño wrote: HI, I've just tried to install pd vanilla 0.44 and everything went OK I got no error messages. But when I try to run PD I got: without Jack @linux-9xum:~ pd ALSA lib pcm.c:2223:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2223:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2223:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib pcm_dmix.c:961:(snd_pcm_dmix_open) The dmix plugin supports only playback stream Cannot connect to server socket err = No such file or directory Cannot connect to server socket jack server is not running or cannot be started disabling real-time priority due to missing pd-watchdog (/usr/local/bin/pd-watchdog) Error in startup script: can't find package pd_connect while executing package require pd_connect (file /usr/local/tcl//pd-gui.tcl line 26) or with Jack running inux-9xum:~ pd ALSA lib pcm_dsnoop.c:617:(snd_pcm_dsnoop_open) unable to open slave ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave ALSA lib pcm.c:2223:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2223:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2223:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib pcm_dmix.c:961:(snd_pcm_dmix_open) The dmix plugin supports only playback stream ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave Cannot lock down 86577696 byte memory area (Cannot allocate memory) disabling real-time priority due to missing pd-watchdog (/usr/local/bin/pd-watchdog) Error in startup script: can't find package pd_connect while executing package require pd_connect (file /usr/local/tcl//pd-gui.tcl line 26) I'm on Opensuse 12.3 Linux linux-9xum.site 3.7.10-1.1-desktop #1 SMP PREEMPT Thu Feb 28 15:06:29 UTC 2013 (82d3f21) x86_64 x86_64 x86_64 GNU/Linux Any help will be greatly appreciated Ricardo Cedeño Montaña Humboldt-Universität zu Berlin Institute of Cultural History and Theory ___ 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] loading filter coefficients from 32bit wav file crashes FIR~
...no responses so far... I noticed that FIR~ triggers a failed since it uses garray_getfloatarray while running 64-bit! warning, so probably it is not really 64bit ready? Still, it works with coefficients from 16bit wav files. Any ideas? Matthias On 04/11/2013 03:51 PM, Matthias Blau wrote: Hi list, iemlib developers, it seems that FIR~ doesn't like filter coefficients loaded from 32bit wav files. As an example, I converted lp1.wav (from the FIR~ help) to 32bit (see attached file lp1_32bit.wav). This data is correctly loaded into the table (fir_coeff in the help patch) but it crashes FIR~. This is curious, because data loaded from files should be converted to 32bit float in any case, or am i mistaken here? Anyway, is there a solution to this problem (besides saving all my coefficients to 16bit)? Thanks, Matthias ___ 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 0.44 installation problem
HI Miller, I installed from source; i couldn't find PD packages in OpenSuSE (http://software.opensuse.org) nor in packman repositories. Cheers Ricardo Cedeño Montaña Humboldt-Universität zu Berlin Institute of Cultural History and Theory Date: Fri, 12 Apr 2013 13:46:58 -0700 From: m...@ucsd.edu To: drnn_1...@hotmail.com Subject: Re: [PD] pd 0.44 installation problem Thanks... did you install from source or did you find a SUSE package somewhere? I think it would be good to try to fix this :) M On Fri, Apr 12, 2013 at 08:33:39PM +, Ricardo Cedeño wrote: Miller, I uninstalled PD and reinstalled it, then I changed the file as you requested. I got: @linux-9xum:~ pd ALSA lib pcm.c:2223:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2223:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2223:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side Cannot connect to server socket err = No such file or directory Cannot connect to server socket jack server is not running or cannot be started disabling real-time priority due to missing pd-watchdog (/usr/local/bin/pd-watchdog) Error in startup script: couldn't read file /usr/local/tcl/pd_connect.tcl: no such file or directory while executing source [file join [file dirname [info script]] pd_connect.tcl] (file /usr/local/tcl//pd-gui.tcl line 26) Then I copied the entire folder /pd-0.44-0/tcl/ to /usr/local/ And Ps started as usual. To open the browser I had to copy pd-0.44-0/doc/, too Now I'm installing GEM I hope it goes smoothly. Thank you very much Cheers, Ricardo Cedeño Montaña Humboldt-Universität zu Berlin Institute of Cultural History and Theory Date: Fri, 12 Apr 2013 12:55:22 -0700 From: m...@ucsd.edu To: drnn_1...@hotmail.com Subject: Re: [PD] pd 0.44 installation problem Hmmm.. I just realized that's the first pd-supplied package - so it's likely some problem about Pd's knowinbg what path to look for the package. That normally should be handled in the file, pkgIndex.tcl I don't know why it's thought necessary to use the package require nonsense in the first place (I didn't write any of this) I just tried replacing all the package require nonsense in pd_gui.tcl as follows: source [file join [file dirname [info script]] pd_connect.tcl] source [file join [file dirname [info script]] pd_menus.tcl] source [file join [file dirname [info script]] pd_bindings.tcl] source [file join [file dirname [info script]] pdwindow.tcl] source [file join [file dirname [info script]] dialog_array.tcl] source [file join [file dirname [info script]] dialog_audio.tcl] source [file join [file dirname [info script]] dialog_canvas.tcl] source [file join [file dirname [info script]] dialog_data.tcl] source [file join [file dirname [info script]] dialog_font.tcl] source [file join [file dirname [info script]] dialog_gatom.tcl] source [file join [file dirname [info script]] dialog_iemgui.tcl] source [file join [file dirname [info script]] dialog_message.tcl] source [file join [file dirname [info script]] dialog_midi.tcl] source [file join [file dirname [info script]] dialog_path.tcl] source [file join [file dirname [info script]] dialog_startup.tcl] source [file join [file dirname [info script]] helpbrowser.tcl] source [file join [file dirname [info script]] pd_menucommands.tcl] source [file join [file dirname [info script]] opt_parser.tcl] source [file join [file dirname [info script]] pdtk_canvas.tcl] source [file join [file dirname [info script]] pdtk_text.tcl] source [file join [file dirname [info script]] pdtk_textwindow.tcl] # TODO eliminate this kludge: source [file join [file dirname [info script]] wheredoesthisgo.tcl] source [file join [file dirname [info script]] pd_guiprefs.tcl] and things started up fine... would you give that a try on your end and see if that helps? thanks M On Fri, Apr 12, 2013 at 07:36:42PM +, Ricardo Cedeño wrote: HI Miller, yes, I do. Ricardo Cedeño Montaña Humboldt-Universität zu Berlin Institute of Cultural History and Theory Date: Fri, 12 Apr 2013 12:04:04 -0700 From: m...@ucsd.edu To: drnn_1...@hotmail.com CC: pd-list@iem.at Subject: Re: [PD] pd 0.44 installation problem Hi Ricardo - I never heard of that problem before... do you have a file .../pd-/tcl/pd_connect.tcl ? That's what appears to be missing judging from the messages you're getting. cheers Miller On Fri, Apr 12, 2013 at 06:50:13PM +, Ricardo Cedeño wrote: HI, I've just tried to install pd vanilla 0.44 and everything went OK I got no error messages. But when I try to run PD I got: without Jack
Re: [PD] pd 0.44 installation problem
... and sorry, one last question - did you build it using make -f makefile.gnu or with ./autogen.sh , etc? thanks M On Fri, Apr 12, 2013 at 08:53:16PM +, Ricardo Cedeño wrote: HI Miller, I installed from source; i couldn't find PD packages in OpenSuSE (http://software.opensuse.org) nor in packman repositories. Cheers Ricardo Cedeño Montaña Humboldt-Universität zu Berlin Institute of Cultural History and Theory Date: Fri, 12 Apr 2013 13:46:58 -0700 From: m...@ucsd.edu To: drnn_1...@hotmail.com Subject: Re: [PD] pd 0.44 installation problem Thanks... did you install from source or did you find a SUSE package somewhere? I think it would be good to try to fix this :) M On Fri, Apr 12, 2013 at 08:33:39PM +, Ricardo Cedeño wrote: Miller, I uninstalled PD and reinstalled it, then I changed the file as you requested. I got: @linux-9xum:~ pd ALSA lib pcm.c:2223:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2223:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2223:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side Cannot connect to server socket err = No such file or directory Cannot connect to server socket jack server is not running or cannot be started disabling real-time priority due to missing pd-watchdog (/usr/local/bin/pd-watchdog) Error in startup script: couldn't read file /usr/local/tcl/pd_connect.tcl: no such file or directory while executing source [file join [file dirname [info script]] pd_connect.tcl] (file /usr/local/tcl//pd-gui.tcl line 26) Then I copied the entire folder /pd-0.44-0/tcl/ to /usr/local/ And Ps started as usual. To open the browser I had to copy pd-0.44-0/doc/, too Now I'm installing GEM I hope it goes smoothly. Thank you very much Cheers, Ricardo Cedeño Montaña Humboldt-Universität zu Berlin Institute of Cultural History and Theory Date: Fri, 12 Apr 2013 12:55:22 -0700 From: m...@ucsd.edu To: drnn_1...@hotmail.com Subject: Re: [PD] pd 0.44 installation problem Hmmm.. I just realized that's the first pd-supplied package - so it's likely some problem about Pd's knowinbg what path to look for the package. That normally should be handled in the file, pkgIndex.tcl I don't know why it's thought necessary to use the package require nonsense in the first place (I didn't write any of this) I just tried replacing all the package require nonsense in pd_gui.tcl as follows: source [file join [file dirname [info script]] pd_connect.tcl] source [file join [file dirname [info script]] pd_menus.tcl] source [file join [file dirname [info script]] pd_bindings.tcl] source [file join [file dirname [info script]] pdwindow.tcl] source [file join [file dirname [info script]] dialog_array.tcl] source [file join [file dirname [info script]] dialog_audio.tcl] source [file join [file dirname [info script]] dialog_canvas.tcl] source [file join [file dirname [info script]] dialog_data.tcl] source [file join [file dirname [info script]] dialog_font.tcl] source [file join [file dirname [info script]] dialog_gatom.tcl] source [file join [file dirname [info script]] dialog_iemgui.tcl] source [file join [file dirname [info script]] dialog_message.tcl] source [file join [file dirname [info script]] dialog_midi.tcl] source [file join [file dirname [info script]] dialog_path.tcl] source [file join [file dirname [info script]] dialog_startup.tcl] source [file join [file dirname [info script]] helpbrowser.tcl] source [file join [file dirname [info script]] pd_menucommands.tcl] source [file join [file dirname [info script]] opt_parser.tcl] source [file join [file dirname [info script]] pdtk_canvas.tcl] source [file join [file dirname [info script]] pdtk_text.tcl] source [file join [file dirname [info script]] pdtk_textwindow.tcl] # TODO eliminate this kludge: source [file join [file dirname [info script]] wheredoesthisgo.tcl] source [file join [file dirname [info script]] pd_guiprefs.tcl] and things started up fine... would you give that a try on your end and see if that helps? thanks M On Fri, Apr 12, 2013 at 07:36:42PM +, Ricardo Cedeño wrote: HI Miller, yes, I do. Ricardo Cedeño Montaña Humboldt-Universität zu Berlin Institute of Cultural History and Theory Date: Fri, 12 Apr 2013 12:04:04 -0700 From: m...@ucsd.edu To: drnn_1...@hotmail.com CC: pd-list@iem.at Subject: Re: [PD] pd 0.44 installation problem Hi Ricardo - I never heard of that problem before... do you have a file .../pd-/tcl/pd_connect.tcl ? That's what appears to be missing
Re: [PD] pd 0.44 installation problem
I did it using ./autogen.sh, ./configure, and make install cheers, Ricardo Cedeño Montaña Humboldt-Universität zu Berlin Institute of Cultural History and Theory Date: Fri, 12 Apr 2013 14:02:03 -0700 From: m...@ucsd.edu To: drnn_1...@hotmail.com CC: pd-list@iem.at Subject: Re: [PD] pd 0.44 installation problem ... and sorry, one last question - did you build it using make -f makefile.gnu or with ./autogen.sh , etc? thanks M On Fri, Apr 12, 2013 at 08:53:16PM +, Ricardo Cedeño wrote: HI Miller, I installed from source; i couldn't find PD packages in OpenSuSE (http://software.opensuse.org) nor in packman repositories. Cheers Ricardo Cedeño Montaña Humboldt-Universität zu Berlin Institute of Cultural History and Theory Date: Fri, 12 Apr 2013 13:46:58 -0700 From: m...@ucsd.edu To: drnn_1...@hotmail.com Subject: Re: [PD] pd 0.44 installation problem Thanks... did you install from source or did you find a SUSE package somewhere? I think it would be good to try to fix this :) M On Fri, Apr 12, 2013 at 08:33:39PM +, Ricardo Cedeño wrote: Miller, I uninstalled PD and reinstalled it, then I changed the file as you requested. I got: @linux-9xum:~ pd ALSA lib pcm.c:2223:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2223:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2223:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side Cannot connect to server socket err = No such file or directory Cannot connect to server socket jack server is not running or cannot be started disabling real-time priority due to missing pd-watchdog (/usr/local/bin/pd-watchdog) Error in startup script: couldn't read file /usr/local/tcl/pd_connect.tcl: no such file or directory while executing source [file join [file dirname [info script]] pd_connect.tcl] (file /usr/local/tcl//pd-gui.tcl line 26) Then I copied the entire folder /pd-0.44-0/tcl/ to /usr/local/ And Ps started as usual. To open the browser I had to copy pd-0.44-0/doc/, too Now I'm installing GEM I hope it goes smoothly. Thank you very much Cheers, Ricardo Cedeño Montaña Humboldt-Universität zu Berlin Institute of Cultural History and Theory Date: Fri, 12 Apr 2013 12:55:22 -0700 From: m...@ucsd.edu To: drnn_1...@hotmail.com Subject: Re: [PD] pd 0.44 installation problem Hmmm.. I just realized that's the first pd-supplied package - so it's likely some problem about Pd's knowinbg what path to look for the package. That normally should be handled in the file, pkgIndex.tcl I don't know why it's thought necessary to use the package require nonsense in the first place (I didn't write any of this) I just tried replacing all the package require nonsense in pd_gui.tcl as follows: source [file join [file dirname [info script]] pd_connect.tcl] source [file join [file dirname [info script]] pd_menus.tcl] source [file join [file dirname [info script]] pd_bindings.tcl] source [file join [file dirname [info script]] pdwindow.tcl] source [file join [file dirname [info script]] dialog_array.tcl] source [file join [file dirname [info script]] dialog_audio.tcl] source [file join [file dirname [info script]] dialog_canvas.tcl] source [file join [file dirname [info script]] dialog_data.tcl] source [file join [file dirname [info script]] dialog_font.tcl] source [file join [file dirname [info script]] dialog_gatom.tcl] source [file join [file dirname [info script]] dialog_iemgui.tcl] source [file join [file dirname [info script]] dialog_message.tcl] source [file join [file dirname [info script]] dialog_midi.tcl] source [file join [file dirname [info script]] dialog_path.tcl] source [file join [file dirname [info script]] dialog_startup.tcl] source [file join [file dirname [info script]] helpbrowser.tcl] source [file join [file dirname [info script]] pd_menucommands.tcl] source [file join [file dirname [info script]] opt_parser.tcl] source [file join [file dirname [info script]] pdtk_canvas.tcl] source [file join [file dirname [info script]] pdtk_text.tcl] source [file join [file dirname [info script]] pdtk_textwindow.tcl] # TODO eliminate this kludge: source [file join [file dirname [info script]] wheredoesthisgo.tcl] source [file join [file dirname [info script]] pd_guiprefs.tcl] and things started up fine... would you give that a try on your end and see if that helps? thanks M On Fri, Apr 12, 2013 at 07:36:42PM +, Ricardo Cedeño wrote: HI Miller, yes, I do. Ricardo Cedeño
[PD] WORKAROUND: loading filter coefficients from 32bit wav file crashes FIR~
Well, while waiting for FIR~ to become usable with 64 bits I had success in simply replacing it by partconv~. -Matthias Am 12.04.2013 22:43, schrieb Matthias Blau: ...no responses so far... I noticed that FIR~ triggers a failed since it uses garray_getfloatarray while running 64-bit! warning, so probably it is not really 64bit ready? Still, it works with coefficients from 16bit wav files. Any ideas? Matthias On 04/11/2013 03:51 PM, Matthias Blau wrote: Hi list, iemlib developers, it seems that FIR~ doesn't like filter coefficients loaded from 32bit wav files. As an example, I converted lp1.wav (from the FIR~ help) to 32bit (see attached file lp1_32bit.wav). This data is correctly loaded into the table (fir_coeff in the help patch) but it crashes FIR~. This is curious, because data loaded from files should be converted to 32bit float in any case, or am i mistaken here? Anyway, is there a solution to this problem (besides saving all my coefficients to 16bit)? Thanks, Matthias ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] pdp_sdl on Raspberry Pi Fullscreen from Console (No X Win) Initial Findings / Working (Kind of)
Hi Mark, Did you make any progress running pdp on the pi? best, J ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Sensors GPIO Raspberry Pi Pd
Hey all, Some success finally: Hurrah!! The scl breakout pin on the pi proto plate wasn't working properly. When unscrewed halfway it works, when fully screwed in it doesn't. So - now got this: i2cdetect -y 0 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- 0a -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- and i2cdump -y 0 0xa No size specified (using byte-data access) Gives a whole host of stuff I don't yet understand but I don't care currently as something is actually happening. Will figure out a way of saving the console info (any hints anyone?) as it gets badly mangled when cutting and pasting but basically something like this: i2cdump -y 0 0xa No size specified (using byte-data access) 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 00: ff XX XX XX XX XX XX ff XX XX XX XX ff ff ff XX.XX....X 10: XX ff XX XX XX XX XX ff XX ff XX ff XX XX ff XXX.X.X.X.XX.X 20: ff XX XX ff XX XX ff XX XX XX XX ff XX XX XX ff.XX.XX..XXX. 30: XX ff XX ff XX XX XX XX ff ff ff XX XX XX XX XXX.X....X 40: XX XX XX ff XX ff XX XX XX 64 XX XX d5 XX XX ffXXX.X.XXXdXX?XX. 50: XX ff XX XX XX XX XX XX XX ff XX XX ff XX XX XXX.XXX.XX.XXX 60: ff XX XX XX ff XX XX XX XX XX XX XX XX ff XX XX.XXX..XX 70: XX XX XX XX XX XX XX ff XX XX XX XX XX XX XX XXXXX. 80: XX ff XX XX ff ff XX XX XX ff XX XX XX XX XX XXX.XX..XXX.XX 90: XX XX ff XX XX ff XX ff XX ff ff XX XX ff ff XXXX.XX.X.X..XX..X a0: XX ff XX XX ff XX XX XX XX XX XX XX XX XX ff XXX.XX.X.X b0: XX XX ff XX XX XX ff XX XX ff XX XX XX XX XX XXXX.XXX.XX.XX c0: XX XX XX XX ff XX XX ff ff XX XX ff ff XX XX XX.XX..XX..XXX d0: XX XX XX XX XX ff XX ff XX XX XX XX XX ff XX ffX.X.X.X. e0: XX XX XX ff XX ff XX XX XX XX XX XX XX XX ff XXXXX.X..X f0: ff XX ff ff XX XX XX XX XX XX XX XX XX XX ff XX.X..XX.X Progress at least. Cheers, Julian On 12 April 2013 11:27, Julian Brooks jbee...@gmail.com wrote: Message resent for thread archives with smaller picture size. Julian -- Forwarded message -- From: Julian Brooks jbee...@gmail.com Date: 11 April 2013 19:24 Subject: Re: [PD] Sensors GPIO Raspberry Pi Pd To: Martin Peach martin.pe...@sympatico.ca Cc: PD List pd-list@iem.at Hey Martin / list, Finally got all the stuff and ... It’s not working! We spent the day soldering cables and connecting stuff up as per the Omron ‘App Note 01’ spec sheet. Started off super-conservative using the I2C level converter (case 3 page 4) http://www.adafruit.com/products/757#Blog/Flickr We tried resistors on both sides (being super paranoid!) and then we took the low (Pi) side ones off. We then moved on to case 2 page 3 of this same document… At each stage we checked with “I2Cdetect –Y 1” and nothing was visible. The grid shows no attached devices every time we run it. We re-booted at every stage following the various online tutorials/methods of setting up I2C GPIO on the Pi (checked double checked). As you can see we’re using a pi protoplate: https://www.adafruit.com/products/801 In the photo I’ve attached the cables are coded as follows: Orange GND Yellow5v BlueSCL Green SDA The white is also 5v for the pull up resistors. The resistor values are 4.7k btw. We have tested the cable that terminates at the sensor and all that is OK. I put a multimeter on the GND and SDA solder points on the sensor itself and got 3.7v… I put a multimeter on the GND and SCL solder points on the sensor itself and got 0.0v… Don’t know if this means anything or could be useful to know! Stuck and frustrated now but hey, 3 weeks ago I knew absolutely bugger all about any of this and now I do (sort of). I'm thinking we could do with the most basic i2c sensor we can find as we have nothing to compare. Tonight I'm going to d/l a fresh raspbian and start from scratch to check that end. Feel like if we can't get past the 'i2c-tools' tests we're screwed - never mind getting it in and out of Pd. Any thoughts/pointers/options from anyone will be really appreciated? Cheers, Julian ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pdp_sdl on Raspberry Pi Fullscreen from Console (No X Win) Initial Findings / Working (Kind of)
Hey Jaime, It does work. Download my binaries I linked from my last post. Can you try it out for me? I have not done any other work on it since. I think I had some instructions in my last post right? I can't remember and I'm away until next week to check from a real computer that's not an iPhone. Let me know if you try it and can get it to work too... M On Apr 12, 2013, at 3:35 PM, J Oliver jaime.oliv...@gmail.com wrote: Hi Mark, Did you make any progress running pdp on the pi? best, J ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pd 0.44 installation problem
Thanks... I don't understand that build system - perhaps someone who does will comment :) Miller On Fri, Apr 12, 2013 at 09:26:53PM +, Ricardo Cedeño wrote: I did it using ./autogen.sh, ./configure, and make install cheers, Ricardo Cedeño Montaña Humboldt-Universität zu Berlin Institute of Cultural History and Theory Date: Fri, 12 Apr 2013 14:02:03 -0700 From: m...@ucsd.edu To: drnn_1...@hotmail.com CC: pd-list@iem.at Subject: Re: [PD] pd 0.44 installation problem ... and sorry, one last question - did you build it using make -f makefile.gnu or with ./autogen.sh , etc? thanks M On Fri, Apr 12, 2013 at 08:53:16PM +, Ricardo Cedeño wrote: HI Miller, I installed from source; i couldn't find PD packages in OpenSuSE (http://software.opensuse.org) nor in packman repositories. Cheers Ricardo Cedeño Montaña Humboldt-Universität zu Berlin Institute of Cultural History and Theory Date: Fri, 12 Apr 2013 13:46:58 -0700 From: m...@ucsd.edu To: drnn_1...@hotmail.com Subject: Re: [PD] pd 0.44 installation problem Thanks... did you install from source or did you find a SUSE package somewhere? I think it would be good to try to fix this :) M On Fri, Apr 12, 2013 at 08:33:39PM +, Ricardo Cedeño wrote: Miller, I uninstalled PD and reinstalled it, then I changed the file as you requested. I got: @linux-9xum:~ pd ALSA lib pcm.c:2223:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2223:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2223:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side Cannot connect to server socket err = No such file or directory Cannot connect to server socket jack server is not running or cannot be started disabling real-time priority due to missing pd-watchdog (/usr/local/bin/pd-watchdog) Error in startup script: couldn't read file /usr/local/tcl/pd_connect.tcl: no such file or directory while executing source [file join [file dirname [info script]] pd_connect.tcl] (file /usr/local/tcl//pd-gui.tcl line 26) Then I copied the entire folder /pd-0.44-0/tcl/ to /usr/local/ And Ps started as usual. To open the browser I had to copy pd-0.44-0/doc/, too Now I'm installing GEM I hope it goes smoothly. Thank you very much Cheers, Ricardo Cedeño Montaña Humboldt-Universität zu Berlin Institute of Cultural History and Theory Date: Fri, 12 Apr 2013 12:55:22 -0700 From: m...@ucsd.edu To: drnn_1...@hotmail.com Subject: Re: [PD] pd 0.44 installation problem Hmmm.. I just realized that's the first pd-supplied package - so it's likely some problem about Pd's knowinbg what path to look for the package. That normally should be handled in the file, pkgIndex.tcl I don't know why it's thought necessary to use the package require nonsense in the first place (I didn't write any of this) I just tried replacing all the package require nonsense in pd_gui.tcl as follows: source [file join [file dirname [info script]] pd_connect.tcl] source [file join [file dirname [info script]] pd_menus.tcl] source [file join [file dirname [info script]] pd_bindings.tcl] source [file join [file dirname [info script]] pdwindow.tcl] source [file join [file dirname [info script]] dialog_array.tcl] source [file join [file dirname [info script]] dialog_audio.tcl] source [file join [file dirname [info script]] dialog_canvas.tcl] source [file join [file dirname [info script]] dialog_data.tcl] source [file join [file dirname [info script]] dialog_font.tcl] source [file join [file dirname [info script]] dialog_gatom.tcl] source [file join [file dirname [info script]] dialog_iemgui.tcl] source [file join [file dirname [info script]] dialog_message.tcl] source [file join [file dirname [info script]] dialog_midi.tcl] source [file join [file dirname [info script]] dialog_path.tcl] source [file join [file dirname [info script]] dialog_startup.tcl] source [file join [file dirname [info script]] helpbrowser.tcl] source [file join [file dirname [info script]] pd_menucommands.tcl] source [file join [file dirname [info script]] opt_parser.tcl] source [file join [file dirname [info script]] pdtk_canvas.tcl] source [file join [file dirname [info script]] pdtk_text.tcl] source [file join [file dirname [info script]] pdtk_textwindow.tcl] # TODO eliminate this kludge: source [file join [file dirname [info script]] wheredoesthisgo.tcl] source [file join [file dirname [info script]]