Hi everyone,
two (beginner) questions regarding Pd-extended 0.43.3 on Rpi Raspbian Wheezy:
There is an I/O error message in the Pd window as there is only an audio out (but no in) on the Rpi. Just deactivating the inlet in Pd audio settings doesn’t help. ALSA is used by default. What can be done to avoid error message? However sound out works fine.
When opening a new Pd window (ctrl+n), it pops up so high in the bottom left corner of the screen, that you can not see the menu anymore. Therefore the window is not moveable or usable. Used Pd already on various PCs and OS but this I have never experienced. What can be done?
Thanks! christian
Hi,
I have never managed to get pd-extended to work properly on Raspbian. The vanilla version available from the repos works better. You can then install external libs if you need them.
Cheers,
Pierre.
2014-03-19 13:29 GMT+01:00 Christian Fischer mail@c-m-fischer.de:
Hi everyone,
two (beginner) questions regarding Pd-extended 0.43.3 on Rpi Raspbian Wheezy:
- There is an I/O error message in the Pd window as there is only an audio
out (but no in) on the Rpi. Just deactivating the inlet in Pd audio settings doesn't help. ALSA is used by default. What can be done to avoid error message? However sound out works fine.
- When opening a new Pd window (ctrl+n), it pops up so high in the bottom
left corner of the screen, that you can not see the menu anymore. Therefore the window is not moveable or usable. Used Pd already on various PCs and OS but this I have never experienced. What can be done?
Thanks! christian _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
also, Alt+clicking on any part of a window should let you drag it (most linux distros have this feature -- I imagine Raspbian does)
On 03/19/2014 09:10 AM, Pierre Massat wrote:
Hi,
I have never managed to get pd-extended to work properly on Raspbian. The vanilla version available from the repos works better. You can then install external libs if you need them.
Cheers,
Pierre.
2014-03-19 13:29 GMT+01:00 Christian Fischer <mail@c-m-fischer.de mailto:mail@c-m-fischer.de>:
Hi everyone, two (beginner) questions regarding Pd-extended 0.43.3 on Rpi Raspbian Wheezy: - There is an I/O error message in the Pd window as there is only an audio out (but no in) on the Rpi. Just deactivating the inlet in Pd audio settings doesn't help. ALSA is used by default. What can be done to avoid error message? However sound out works fine. - When opening a new Pd window (ctrl+n), it pops up so high in the bottom left corner of the screen, that you can not see the menu anymore. Therefore the window is not moveable or usable. Used Pd already on various PCs and OS but this I have never experienced. What can be done? Thanks! christian _______________________________________________ Pd-list@iem.at <mailto: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
When I was using Raspbian, I could not get duplex (simultaneous input and output) audio unless if I set my samplerate to 32kHz. This seemed to be due to an issue listed here: https://github.com/raspberrypi/firmware/issues/197
Using the Satellite CCRMA distro, I've been able to set it to 44.1kHz with input and output working fine using ALSA (haven't tried JACK, but I'd expect it to work).
Pd-extended is installed by default on the Satellite CCRMA image and it works with my soundcard (Behringer UCG102). You can download/learn about the distribution here: https://ccrma.stanford.edu/~eberdahl/satellite/
I do still have issues achieving a desirably low latency on pd-extended (vanilla works slightly better), but overall things have worked much better than on Raspbian.
On Wed, Mar 19, 2014 at 8:29 AM, Christian Fischer mail@c-m-fischer.dewrote:
Hi everyone,
two (beginner) questions regarding Pd-extended 0.43.3 on Rpi Raspbian Wheezy:
- There is an I/O error message in the Pd window as there is only an audio
out (but no in) on the Rpi. Just deactivating the inlet in Pd audio settings doesn't help. ALSA is used by default. What can be done to avoid error message? However sound out works fine.
- When opening a new Pd window (ctrl+n), it pops up so high in the bottom
left corner of the screen, that you can not see the menu anymore. Therefore the window is not moveable or usable. Used Pd already on various PCs and OS but this I have never experienced. What can be done?
Thanks! christian _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
There is also pd-l2ork for RPi. We are just readying a release with a comprehensive support for GPIO (including hardware and software PWM), as well as MCP3008 AD converter (for analog sensors). There is also a fairly detailed documentation on how to run RPi headless via a laptop, while sharing network connection. See: http://l2ork.music.vt.edu/main/?page_id=2288
HTH
FYI
There is also a RPi GPIO object for Pd by Miller Puckette here: http://msp.ucsd.edu/syllabi/206.13w/index.htm http://msp.ucsd.edu/syllabi/206.13w/index.htm
and the same code with a makefile and build for UDOO here: https://github.com/cmuartfab/Udoo/tree/dem-rev/puredata/gpio https://github.com/cmuartfab/Udoo/tree/dem-rev/puredata/gpio
I did see the note from garthz about the architecture collisions. I will attend to this. Anyway, make sure to use the gpio.l_arm version -- just delete the other two to avoid problems.
On 03/20/2014 06:28 AM, Ivica Ico Bukvic wrote:
There is also pd-l2ork for RPi. We are just readying a release with a comprehensive support for GPIO (including hardware and software PWM), as well as MCP3008 AD converter (for analog sensors). There is also a fairly detailed documentation on how to run RPi headless via a laptop, while sharing network connection. See: http://l2ork.music.vt.edu/main/?page_id=2288
HTH
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On 03/20/2014 12:37 PM, David Medine wrote:
FYI
There is also a RPi GPIO object for Pd by Miller Puckette here: http://msp.ucsd.edu/syllabi/206.13w/index.htm http://msp.ucsd.edu/syllabi/206.13w/index.htm
and the same code with a makefile and build for UDOO here: https://github.com/cmuartfab/Udoo/tree/dem-rev/puredata/gpio https://github.com/cmuartfab/Udoo/tree/dem-rev/puredata/gpio
I did see the note from garthz about the architecture collisions. I will attend to this. Anyway, make sure to use the gpio.l_arm version -- just delete the other two to avoid problems.
Indeed, disis_gpio is loosely based on gpio. It however also offers things that gpio (AFAIK) doesn't, like multithreaded pusle-width-modulation (hardware on pin 18 and software on all pins) with an Arduino-like 0-1023 range. disis_spi is a completely new beast that allows interfacing with MCP3008 AD converter and provides up to 8 analog input channels that can provide high-resolution streams with values 0-1023. So, pd-l2ork externals essentially look to provide an Arduino-like environment.
Hi Ivica,
I was working on a small external for MCP3008 using wiring pi, but I'd love to try yours if it is possible. Will it be possible to use it as an external like gpio with vanilla? are you using wiring pi for this?
Also, how are you getting the multiple pwm streams?
best,
J
On Mar 20, 2014, at 1:16 PM, Ivica Ico Bukvic ico@vt.edu wrote:
On 03/20/2014 12:37 PM, David Medine wrote:
FYI
There is also a RPi GPIO object for Pd by Miller Puckette here: http://msp.ucsd.edu/syllabi/206.13w/index.htm
and the same code with a makefile and build for UDOO here: https://github.com/cmuartfab/Udoo/tree/dem-rev/puredata/gpio
I did see the note from garthz about the architecture collisions. I will attend to this. Anyway, make sure to use the gpio.l_arm version -- just delete the other two to avoid problems.
Indeed, disis_gpio is loosely based on gpio. It however also offers things that gpio (AFAIK) doesn't, like multithreaded pusle-width-modulation (hardware on pin 18 and software on all pins) with an Arduino-like 0-1023 range. disis_spi is a completely new beast that allows interfacing with MCP3008 AD converter and provides up to 8 analog input channels that can provide high-resolution streams with values 0-1023. So, pd-l2ork externals essentially look to provide an Arduino-like environment.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Hi Ivica,
I was working on a small external for MCP3008 using wiring pi, but I'd love to try yours if it is possible. Will it be possible to use it as an external like gpio with vanilla? are you using wiring pi for this?
There is nothing in those externals to prevent them from being used in vanilla. They can be found in the <root git>/l2ork_addons/raspberry_pi/disis_gpio and disis_spi folders (latter is the MCP3008 one). Spi one does not rely on wiring pi. AFAIK wiringpi does not offer spi support but I could be wrong.
Also, how are you getting the multiple pwm streams?
I partially rely on wiringpi inside disis_gpio for software pwm on all pins (I say partially because wiringpi can only create a new thread for software pwm but does not offer ability to close the thread other than exiting the program, which is not an option for an environment like pd). So, each opened pin will have a separate high priority thread that gives you a 1000Hz PWM. disis_gpio also supports hardware pwm on pin 18 and that one has some kind of a logarithmic curve and as such behaves distinctly different but I simply did not want to go into anything higher than 1000Hz as that would choke the cpu.
HTH
best,
J
On Mar 20, 2014, at 1:16 PM, Ivica Ico Bukvic ico@vt.edu wrote:
On 03/20/2014 12:37 PM, David Medine wrote:
FYI
There is also a RPi GPIO object for Pd by Miller Puckette here: http://msp.ucsd.edu/syllabi/206.13w/index.htm http://msp.ucsd.edu/syllabi/206.13w/index.htm
and the same code with a makefile and build for UDOO here: https://github.com/cmuartfab/Udoo/tree/dem-rev/puredata/gpio https://github.com/cmuartfab/Udoo/tree/dem-rev/puredata/gpio
I did see the note from garthz about the architecture collisions. I will attend to this. Anyway, make sure to use the gpio.l_arm version -- just delete the other two to avoid problems.
Indeed, disis_gpio is loosely based on gpio. It however also offers things that gpio (AFAIK) doesn't, like multithreaded pusle-width-modulation (hardware on pin 18 and software on all pins) with an Arduino-like 0-1023 range. disis_spi is a completely new beast that allows interfacing with MCP3008 AD converter and provides up to 8 analog input channels that can provide high-resolution streams with values 0-1023. So, pd-l2ork externals essentially look to provide an Arduino-like environment.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Forgot to mention if you use k12 educational module abstractions (you can start k12 mode by adding -k12 startup flag to pd-l2ork in which case your would have UI like this: http://l2ork.music.vt.edu/main/wp-content/uploads/2014/03/pd-l2ork-k12-rpi-0...), then you can access either gpio or spi via a single object.
And while we are talking about start-up flags you can also explore -unique startup flag which allows you to open new patches in a new instance of the pd-l2ork (by default they are opened in the existing instance so double-clicking on a bunch of pd patch documents will not spawn a bunch of instances).
HTH On Mar 24, 2014 1:08 PM, "Ivica Ico Bukvic" ico@vt.edu wrote:
Hi Ivica,
I was working on a small external for MCP3008 using wiring pi, but I'd love to try yours if it is possible. Will it be possible to use it as an external like gpio with vanilla? are you using wiring pi for this?
There is nothing in those externals to prevent them from being used in vanilla. They can be found in the <root git>/l2ork_addons/raspberry_pi/disis_gpio and disis_spi folders (latter is the MCP3008 one). Spi one does not rely on wiring pi. AFAIK wiringpi does not offer spi support but I could be wrong.
Also, how are you getting the multiple pwm streams?
I partially rely on wiringpi inside disis_gpio for software pwm on all pins (I say partially because wiringpi can only create a new thread for software pwm but does not offer ability to close the thread other than exiting the program, which is not an option for an environment like pd). So, each opened pin will have a separate high priority thread that gives you a 1000Hz PWM. disis_gpio also supports hardware pwm on pin 18 and that one has some kind of a logarithmic curve and as such behaves distinctly different but I simply did not want to go into anything higher than 1000Hz as that would choke the cpu.
HTH
best,
J
On Mar 20, 2014, at 1:16 PM, Ivica Ico Bukvic ico@vt.edu wrote:
On 03/20/2014 12:37 PM, David Medine wrote:
FYI
There is also a RPi GPIO object for Pd by Miller Puckette here: http://msp.ucsd.edu/syllabi/206.13w/index.htm
and the same code with a makefile and build for UDOO here: https://github.com/cmuartfab/Udoo/tree/dem-rev/puredata/gpio
I did see the note from garthz about the architecture collisions. I will attend to this. Anyway, make sure to use the gpio.l_arm version -- just delete the other two to avoid problems.
Indeed, disis_gpio is loosely based on gpio. It however also offers things that gpio (AFAIK) doesn't, like multithreaded pusle-width-modulation (hardware on pin 18 and software on all pins) with an Arduino-like 0-1023 range. disis_spi is a completely new beast that allows interfacing with MCP3008 AD converter and provides up to 8 analog input channels that can provide high-resolution streams with values 0-1023. So, pd-l2ork externals essentially look to provide an Arduino-like environment.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Spi one does not rely on wiring pi. AFAIK wiringpi does not offer spi support but I could be wrong.
Hi Ivica,
yes it does and it has a C api. It is actually very good and easy to implement.
Thanks for all info on the external. I'll check it out as soon as I have a bit of time again…
best,
Jaime
Also, how are you getting the multiple pwm streams?
I partially rely on wiringpi inside disis_gpio for software pwm on all pins (I say partially because wiringpi can only create a new thread for software pwm but does not offer ability to close the thread other than exiting the program, which is not an option for an environment like pd). So, each opened pin will have a separate high priority thread that gives you a 1000Hz PWM. disis_gpio also supports hardware pwm on pin 18 and that one has some kind of a logarithmic curve and as such behaves distinctly different but I simply did not want to go into anything higher than 1000Hz as that would choke the cpu.
HTH
best,
J
On Mar 20, 2014, at 1:16 PM, Ivica Ico Bukvic ico@vt.edu wrote:
On 03/20/2014 12:37 PM, David Medine wrote: FYI
There is also a RPi GPIO object for Pd by Miller Puckette here: http://msp.ucsd.edu/syllabi/206.13w/index.htm
and the same code with a makefile and build for UDOO here: https://github.com/cmuartfab/Udoo/tree/dem-rev/puredata/gpio
I did see the note from garthz about the architecture collisions. I will attend to this. Anyway, make sure to use the gpio.l_arm version -- just delete the other two to avoid problems.
Indeed, disis_gpio is loosely based on gpio. It however also offers things that gpio (AFAIK) doesn't, like multithreaded pusle-width-modulation (hardware on pin 18 and software on all pins) with an Arduino-like 0-1023 range. disis_spi is a completely new beast that allows interfacing with MCP3008 AD converter and provides up to 8 analog input channels that can provide high-resolution streams with values 0-1023. So, pd-l2ork externals essentially look to provide an Arduino-like environment.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On 19/03/14 23:29, Christian Fischer wrote:
- When opening a new Pd window (ctrl+n), it pops up so high in the bottom
left corner of the screen, that you can not see the menu anymore. Therefore the window is not moveable or usable. Used Pd already on various PCs and OS but this I have never experienced. What can be done?
As mentioned already openbox (the default desktop for the Pi) does the usual thing and Alt-drag anywhere on the window should move it where you want.
If you are using linux (or Apple) I find connecting to the Pi with ethernet and:
ssh -X pi@192.168.1.20 replacing the IP with the actual one of course, it is usually announced on the console at the end of the boot process, then set your laptop ethernet to a compatible manual IP you are set to go.
is a very comfortable way to work, the pd windows are then on my laptop and the Pi does not need to run a desktop at all.
pcmanfm &
should get you a file browser window, so you can navigate and open things in the familiar GUI way, if that is what you prefer.
Simon
Thanks everybody for the help!
clicking alt worked. However Pd extended freezes sometimes. Seems to work better with vanilla. At least so far.
Got also CCRMA have to test it as well as headless.I will report if anything interesting happens...
Thx again! c.
Am 20.03.2014 um 07:47 schrieb Simon Wise simonzwise@gmail.com:
On 19/03/14 23:29, Christian Fischer wrote:
- When opening a new Pd window (ctrl+n), it pops up so high in the bottom
left corner of the screen, that you can not see the menu anymore. Therefore the window is not moveable or usable. Used Pd already on various PCs and OS but this I have never experienced. What can be done?
As mentioned already openbox (the default desktop for the Pi) does the usual thing and Alt-drag anywhere on the window should move it where you want.
If you are using linux (or Apple) I find connecting to the Pi with ethernet and:
ssh -X pi@192.168.1.20 replacing the IP with the actual one of course, it is usually announced on the console at the end of the boot process, then set your laptop ethernet to a compatible manual IP you are set to go.
is a very comfortable way to work, the pd windows are then on my laptop and the Pi does not need to run a desktop at all.
pcmanfm &
should get you a file browser window, so you can navigate and open things in the familiar GUI way, if that is what you prefer.
Simon
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list