[PD] Installing externals on ubuntu 12.4 omap
Hey all, long time user first time mailer.. I am trying to install an external.. netsend~, but any external really, on to omap ubuntu 12.4 Each time I open a patch with the object, I get error: /usr/lib/puredata/extra/netsend~.pd_linux: /usr/lib/puredata/extra/netsend~.pd_linux: cannot open shared object file: No such file or directory The file it complains about (as well as the other .h, .c and .pd_linux files) is indeed in the path listed. The only documentation I could find mentioned that they had to be in that directory. puredata installed via sudo apt-get install puredata. Thanks! ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Textual pd primer
Sam, we've been building and developing Pd on the gumstix embedded platform recently. I'm also running on a Mac so I can give you some of the knowledge I've learnt (it's been an uphill struggle for us too!) which may also apply to working on the Pi. - As Andy said you can use ssh to run pd remotely. You need to have installed Xcode on your mac, then use X11 and then log in as Andy describes. You can then run it just by typing pd, but don't forget your flags! we're currently using pd -alsa -nomidi -audiobuf 25 -r 22050 -blocksize 128 Tweaking all these will help! - The gui can be pretty slow this way so I generally build the patches on my mac locally, then copy them over to see how the processor on the Gumstix handles them. - couple of bugs we found when trying to run pd with -nogui 1. tables and delread objects behave badly unless you delay turning on the dsp. So in the patch that opens with no gui put a 1 or sec delay after a loadbang to turn on the dsp. 2. (this is the really weird one) The expr object doesn't work if we launch Pd on startup ( init.d ) with nogui, BUT if we run it with -nogui in a command line over SSH it does. - we're running a custom build of Ubuntu, we had to do this to get the built in audio and outputs on the Gumstix to work. not sure how this is on the Pi. I'll get Tim to publish it soon anyway. On 17 August 2012 08:46, Pierre Massat pimas...@gmail.com wrote: Just a thought : wouldn't it be useful to create a pd-raspberr...@iem.at address ? I get the feeling that there will be more and more messages about this new platform which may not necessarily be interesting to pure Pd users. Cheers, Pierre. 2012/8/16 Andy Farnell padawa...@obiwannabe.co.uk I guess this is a case of working out best practices for development. Nobody actually develops Pd in text mode, but gettin things running in an embedded way involves a good deal less graphics and can be intimidating or confusing at first. If you don't want the RPi set up with mouse, kbd and monitor like a full system, it's rather like working on other embedded development systems, you need to see the board as a target host, and your local machine as the development (client). One way is to work on a laptop or desktop, and the ftp/scp them accross to the target board. But probably most useful is to use X windows to ssh ssh -Y -l user address.of.my.rpi and then just start Pd, which will seem to run on your main machine. I sense some kind of Raspberry Pi and Pd workshop in the coming weeks. maybe best developmnt practices and tips will be an outcme of that meeting. best, Andy On Thu, Aug 16, 2012 at 10:42:47AM -0400, Sam Raker wrote: Hi guys, Longtime listener, first time caller. I was wondering if there's a good intro to text-only pd. I just got a raspberry pi, and I've heard a lot of chatter about how the -nogui flag solves a lot of weird dsp problems c, plus it'd be nice not to have to waste a USB port plugging in a mouse as well as a keyboard/midi keyboard/sound card/m-audio box/etc. Plus my main comp is a mac, and I'm worried making my patches on my Mac and then getting them onto my pi will be a pain in the b. I've seen people say stuff like, oh, just make a patch and look at it with a text editor and figure it out, but that's a bit over my head. Thoughts? -sam ___ 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 -- follow me : @_dspk ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Textual pd primer
we're logging in as root over ssh. there's a lot of weird -nogui issue that different people have encountered, i think there's something broken down deep :) d On 17 August 2012 11:39, James Dunn ja...@4thharmonic.com wrote: Quoth Duncan Speakman, on 17/08/2012 10:03: 2. (this is the really weird one) The expr object doesn't work if we launch Pd on startup ( init.d ) with nogui, BUT if we run it with -nogui in a command line over SSH it does. could that be to do with permissions? If pd is started at boot via init.d I guess it is running as root? And when you run it over ssh, maybe you are running it as a normal user? James -- follow me : @_dspk ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Options for Pd on Raspberry Pi (was: Textual pd primer)
You need to have installed Xcode on your mac,] why would you need that? do you know i cannot actually remember! for some reason when we were first setting this stuff up x11 wouldn't open the gui properly, but we installed xcode and then it did. 2. (this is the really weird one) The expr object doesn't work if we launch Pd on startup ( init.d ) with nogui, BUT if we run it with -nogui in a command line over SSH it does. on the RPi or Gumstix? As James pointed out, it may be a permission problem, or maybe an environment problem. still unexplained. we're logging in as root via ssh as well. Audio is different on the RPi. HDMI is fine, analogue is a pain. As Pierre pointed out recently it's just a simple filtered PWM output, just good enough to recognise the signal. is there an HDMI audio input too? that would make the Pi quite appealing for what we're doing I'd be very interested to get a simple USB Audio-dongle working, since there's also no audio input available, this could solve some issues (and potentially raise others). we used the Griffin iMic really successfully (and you get pretty clean audio) although the extra board just made the unit too cumbersome for our needs. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pd fails to boot with init.d startup script
success but very odd.. I had to actually install jack and make a link to pd-watchdog in /usr/bin to make it start on startup. On 20 July 2012 21:58, Duncan Speakman duncan.kleindes...@gmail.com wrote: thanks for the replies We always log into the overo as root. I presume the startup script executes as root as well.. There is a .pdsettings file there. If I remove it, pd won't make audio, so there is something in there that makes pd work properly. Also the alsa option for audio comes up deselected. However I don't see the error about jack. I feel that for some reason alsa needs to be invoked from a login to allow audio to be used- even though the /proc/asound/devices already shows the overo soundcard, when the startup script is called. On 20 July 2012 10:19, Charles Goyard c...@fsck.fr wrote: Duncan Speakman wrote: I have made an init.d script to start and stop pd. This works fine in an ssh console. However when the script is invoked by the runlevel startup sequence ie rc5.d/S99puredata, pd complains thus: To complement Cyrille's thought, are you starting pd as root or do you use su/sudo ? If you start as root, check the pdsettings is were expected. -- Charles ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- follow me : @_dspk -- follow me : @_dspk ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pd fails to boot with init.d startup script
thanks for the replies We always log into the overo as root. I presume the startup script executes as root as well.. There is a .pdsettings file there. If I remove it, pd won't make audio, so there is something in there that makes pd work properly. Also the alsa option for audio comes up deselected. However I don't see the error about jack. I feel that for some reason alsa needs to be invoked from a login to allow audio to be used- even though the /proc/asound/devices already shows the overo soundcard, when the startup script is called. On 20 July 2012 10:19, Charles Goyard c...@fsck.fr wrote: Duncan Speakman wrote: I have made an init.d script to start and stop pd. This works fine in an ssh console. However when the script is invoked by the runlevel startup sequence ie rc5.d/S99puredata, pd complains thus: To complement Cyrille's thought, are you starting pd as root or do you use su/sudo ? If you start as root, check the pdsettings is were expected. -- Charles ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- follow me : @_dspk ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] pd fails to boot with init.d startup script
I have made an init.d script to start and stop pd. This works fine in an ssh console. However when the script is invoked by the runlevel startup sequence ie rc5.d/S99puredata, pd complains thus: pd: error while loading shared libraries: libjack.so.0: cannot open shared object file: No such file or directory This is peculiar as I'm using alsa and jack isn't installed. I have verified that the alsa devices have initialised before pd is loade. Why is pd looking for jack and failing to open? Is there something weird about using alsa from an rc script rather than the user console? Running Ubuntu 12.04 - armhf thanks for any thoughts! d -- follow me : @_dspk ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pd fails to boot with init.d startup script
thanks, will let you know how it goes On 19 July 2012 13:54, IOhannes m zmoelnig zmoel...@iem.at wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2012-07-19 12:43, Duncan Speakman wrote: I have made an init.d script to start and stop pd. This works fine in an ssh console. However when the script is invoked by the runlevel startup sequence ie rc5.d/S99puredata, pd complains thus: pd: error while loading shared libraries: libjack.so.0: cannot open shared object file: No such file or directory This is peculiar as I'm using alsa and jack isn't installed. I have verified that the alsa devices have initialised before pd is loade. Why is pd looking for jack and failing to open? Is there something weird about using alsa from an rc script rather than the user console? either this is a path problem (most common in init.d scripts), or you are starting Pd before everything is mounted. fgasmdr IOhannes -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlAH9YIACgkQkX2Xpv6ydvR2ywCg3KUiB1lRk1CYkAtV42qvLTyO P+wAniY7gclOhJ6p+UcoaLvj2Lrxc7cl =psOP -END PGP SIGNATURE- ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- follow me : @_dspk ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] dealing with large numbers (for rjdj)
hi, i'm trying to use the gps object in Pd as part of an RjDj scene and their forum is down at the moment so i thought i'd look for help here... so pd has a limit on the size of numbers it can use and i'm looking for a simple way to break them down, (as i'm using RjDj i have to use the vanilla pd so no extra object fun). The GPS object apparently sends out numbers to 6 decimal places, (e.g. 51.430023) which keeps causing problems in other parts of the patch. I have tried removing the integer before the point and multiplying by 1 to give me something manageable. In the above example I would expect to get 4300.23 but instead i get something like 4300.23, where are these extra numbers coming from? Can anyone suggest a better way to deal with this data? regards duncan -- http://duncanspeakman.net http://subtlemob.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] strange problem with pda on gumstix
hi, this is a weird one for anyone using pda on gumstix verdex pro. If i open a patch containing an adc~ directly connected to a dac~ on the gumstix with -nogui it sounds fine and audio passes through. If I add a delwrite~ and delread~ into the audio path (i.e. adc into delwrite~ and delread~ into dac~) and open it with -nogui the signal path becomes incredibly distorted. If i open the same patch with a gui then it sounds fine? anyone come across this before? duncan http://duncanspeakman.net -- http://duncanspeakman.net http://29fragiledays.blogspot.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] developer needed for puredata on Gumstix project
- apologies for cross posting - Hi, My name is Duncan Speakman and I'm an artist based in Bristol (UK). I'm currently working on a funded project to develop a small portable device capable of realtime audio processing from a live input, possibly responding to additional data such as GPS, bluetooth etc. At present I'm thinking that running pd on gumstix is going to be the best solution (but I'm open to suggestions), and I'm looking for a developer to help make this happen. Ideally you'd have experience of pd and of running linux on small/embedded platforms. I have lots of experience of working with locative technology and developing MAX/MSP, so you could say I can talk the talk but not really walk the walk for this project. This is a paid commission but I am looking for someone who can collaborate creatively and effectively, timescale is basically now until April, worktimes subject to your availability. Please get in touch if you can help (or can recommend someone), ideally based in the south west of England but I'm open to longer distance working relationships! If you want to see the kind of work I make please visit http://duncanspeakman.net thanks for reading. regards duncan -- http://duncanspeakman.net http://29fragiledays.blogspot.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list