[PD] installing debs as user (was Re: install Pd on ubuntu without internet; video-playback codec windows?)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2011-12-06 22:53, Mathieu Bouchard wrote: Le 2011-12-06 à 20:06:00, Andy Farnell a écrit : On Tue, 6 Dec 2011 14:29:31 -0500 (EST) Mathieu Bouchard ma...@artengine.ca wrote: I think IOhannes refers to unpacking a Debian source package so you can do a local build (in home directory). I think *I* was asking about binary packages. Well, I only assumed we were talking about binary packages. I don't know why we would be talking about source packages at all, at this point ! i was talking about binary packages as well. maybe i missed some point though. if you are asking how to _properly_ install a package without root priviliges, then i believe that this is impossible, given that the very nature of properly installing a package means writing to parts of the disk where unproviliged users are not allowed to write to. that's by design. anyhow, in my personal experience not many packages will actually execute any scripts in the pre-/postinstall process; e.g. of the 3600 packages installed on my system, only 1800 come with a postinst script. of those, at least 900 are virtually the same and only call ldconfig (after installing a library). if the package in question indeed contains a preinst/postinst script, you can extract that with $ ar x pd.deb $ tar xvzf control.tar.gz $ ls postinst fgmasdr IOhannes -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7fKnMACgkQkX2Xpv6ydvSaFQCfUEi/uhxFZy/mk0EHxD/lLFOw s8wAoMzcCQD01r9ZroGzuvs69i0dyRuw =5gp0 -END PGP SIGNATURE- smime.p7s Description: S/MIME Cryptographic Signature ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] installing debs as user (was Re: install Pd on ubuntu without internet; video-playback codec windows?)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2011-12-07 09:57, IOhannes m zmoelnig wrote: disk where unproviliged users are not allowed to write to. that's by design. .. unprivileged ... anyhow, in my personal experience not many packages will actually execute any scripts in the pre-/postinstall process; e.g. of the 3600 packages installed on my system, only 1800 come with a postinst script. of those, at least 900 are virtually the same and only call ldconfig (after installing a library). what i mean is, that most pre-/postinstall scripts deal with either easing the upgrade of a package (e.g. configuration files need to be migrated) or making the system aware of updates within the package (e.g. tell the linker cache that new libraries are there; install system wide menu entries). the former is no problem if you don't _upgrade_ your package. the latter could be helped by rebooting the machine. fgmasdr IOhannes -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7fLVAACgkQkX2Xpv6ydvTdCACfX0ka/hkujaBbX8FpPq6AuW3L oTQAn3Euxul3VLnr5hrZwv3ydciF7+WD =Vp86 -END PGP SIGNATURE- smime.p7s Description: S/MIME Cryptographic Signature ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Gem and audio, multiprocessors, Mac
Hi list, Is there a strategy to optimize GEM video processing and real time audio on a single Mac using pd~ : Audio in subprocess or in main process ? Any startup flags ? chmod +s stuff ? shm settings ? Run two instances of PD with messages between them ? Subprocess fifo size ? The idea would be to give a priority to sound versus video, if absolutely necessary. Situation : On a single Mac (pro or mini), Gem (pix_video tracking, ordinary resolution and fps) and real time audio (10 channels, mainly reading from disk), dispatched on four processor cores via pd~. The sound is generated in the subprocess (big latency 512), the video in the main patch. pd-extended 42.5 osX 10.7 10.6, gem 93, 92. Problem : Sound is distorted when Gem is rendering, and becomes immediatly perfect when stopping rendering (destroying the gem window). Processors seem ok (each core at 75%). Sticking with this problem for a couple of months, Looked around in archives but didn't find any clear element. Thanks JM ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Gem and audio, multiprocessors, Mac
Hi Jean, there was actually a discussion few days ago here, about the [pd~] and optimization topic. However, for audiovisual processes, apparently it's still more reliable to use two different instances of Pd. One proceses the sound and the other the video. The video Pd instance might gain some more cpu resources when launched with the flag -noaudio. Then you want to exchange data between patches on a local network on your machine using [netsend] and [netreceive]. AFAIK, the main feature of [pd~] is to keep synced processes happening in different threads. Thus, when one of the processes slows down, the others slow down too. Which, can be good for audio projects, but audio and video patches won't work really well due to this feature. cheers, Marco Is there a strategy to optimize GEM video processing and real time audio on a single Mac using pd~ : Audio in subprocess or in main process ? Any startup flags ? chmod +s stuff ? shm settings ? Run two instances of PD with messages between them ? Subprocess fifo size ? -- Marco Donnarumma Independent New Media and Sonic Arts Practitioner, Performer, Teacher ACE, Sound Design MSc by Research (ongoing) The University of Edinburgh, UK ~ Portfolio: http://marcodonnarumma.com Research: http://res.marcodonnarumma.com | http://www.thesaddj.com | http://www.flxer.net Director: http://www.liveperformersmeeting.net ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Gem and audio, multiprocessors, Mac
I increase audio latency, seems to be only real way to remove clickies From: pd-list-boun...@iem.at [mailto:pd-list-boun...@iem.at] On Behalf Of Jean-Marie Adrien Sent: Wednesday, December 07, 2011 5:52 AM To: pd-list@iem.at Subject: [PD] Gem and audio, multiprocessors, Mac Hi list, Is there a strategy to optimize GEM video processing and real time audio on a single Mac using pd~ : Audio in subprocess or in main process ? Any startup flags ? chmod +s stuff ? shm settings ? Run two instances of PD with messages between them ? Subprocess fifo size ? The idea would be to give a priority to sound versus video, if absolutely necessary. Situation : On a single Mac (pro or mini), Gem (pix_video tracking, ordinary resolution and fps) and real time audio (10 channels, mainly reading from disk), dispatched on four processor cores via pd~. The sound is generated in the subprocess (big latency 512), the video in the main patch. pd-extended 42.5 osX 10.7 10.6, gem 93, 92. Problem : Sound is distorted when Gem is rendering, and becomes immediatly perfect when stopping rendering (destroying the gem window). Processors seem ok (each core at 75%). Sticking with this problem for a couple of months, Looked around in archives but didn't find any clear element. Thanks JM ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Gem and audio, multiprocessors, Mac
i tried both, audio definetly must be in the main process, not the pd~ process. see those patches where various techniques are described: http://www.uni-weimar.de/medien/wiki/Audiovideo m. Am 07.12.2011 um 11:52 schrieb Jean-Marie Adrien: Hi list, Is there a strategy to optimize GEM video processing and real time audio on a single Mac using pd~ : Audio in subprocess or in main process ? Any startup flags ? chmod +s stuff ? shm settings ? Run two instances of PD with messages between them ? Subprocess fifo size ? The idea would be to give a priority to sound versus video, if absolutely necessary. Situation : On a single Mac (pro or mini), Gem (pix_video tracking, ordinary resolution and fps) and real time audio (10 channels, mainly reading from disk), dispatched on four processor cores via pd~. The sound is generated in the subprocess (big latency 512), the video in the main patch. pd-extended 42.5 osX 10.7 10.6, gem 93, 92. Problem : Sound is distorted when Gem is rendering, and becomes immediatly perfect when stopping rendering (destroying the gem window). Processors seem ok (each core at 75%). Sticking with this problem for a couple of months, Looked around in archives but didn't find any clear element. Thanks JM ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list signature.asc Description: Message signed with OpenPGP using GPGMail ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] installing debs as user (was Re: install Pd on ubuntu without internet; video-playback codec windows?)
Le 2011-12-07 à 09:57:00, IOhannes m zmoelnig a écrit : if you are asking how to _properly_ install a package without root priviliges, then i believe that this is impossible, given that the very nature of properly installing a package means writing to parts of the disk where unproviliged users are not allowed to write to. that's by design. Then what do you think that the --root option allows to do ? anyhow, in my personal experience not many packages will actually execute any scripts in the pre-/postinstall process; e.g. of the 3600 packages installed on my system, only 1800 come with a postinst script. of those, at least 900 are virtually the same and only call ldconfig (after installing a library). The other 900 are still 25 % of them... quite significant. __ | Mathieu BOUCHARD - téléphone : +1.514.383.3801 - Montréal, QC___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] installing debs as user (was Re: install Pd on ubuntu without internet; video-playback codec windows?)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2011-12-07 16:53, Mathieu Bouchard wrote: Le 2011-12-07 à 09:57:00, IOhannes m zmoelnig a écrit : if you are asking how to _properly_ install a package without root priviliges, then i believe that this is impossible, given that the very nature of properly installing a package means writing to parts of the disk where unproviliged users are not allowed to write to. that's by design. Then what do you think that the --root option allows to do ? for installing in chroots. The other 900 are still 25 % of them... quite significant. i didn't say anything about the content of the remaining 25% (mainly because i though i had better things todo than to check the postinst scripts on my system); esp. i did not want to imply that 25% of my packages have postinst scripts that do significanlty more than calling ldconfig. mgasdr IOhannes -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7fjqoACgkQkX2Xpv6ydvRkQACfVsB3iqjK9vPIqZ7Ka0AlJE6A /mMAoLGN5G2WvXGRmrfYSfKMR/in2yiL =c/Eo -END PGP SIGNATURE- smime.p7s Description: S/MIME Cryptographic Signature ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Gem and audio, multiprocessors, Mac
Hi, Jean-Marie Adrien wrote: dispatched on four processor cores via pd~. Just a note: it seems there's no guarantee on this. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] CVs
On Fri, 27 May 2011, Bryan Jurish wrote: As far as language (or symbols) are concerned: yes, of course. But if I'm reading it right, there's nothing which says that the features (which may or may not count as information content) rely for their ontological status only on their use (or non-use) in a Shannon-esque message Shannon's information theory assumes that there is a single stream of information that is all of à priori equal value except that unlikely outcomes are considered more remarkable. However, to explain human perception, you have to take into account pre-established notions of importance of information, and what's the flow of attention-span, among a lot more things. (I wrote this message 6 months ago and forgot to click Send. Still trying to exorcise myself out of this habit. In the meantime, it makes filler for a slow week on pd-list. ;-) ___ | Mathieu Bouchard tél: +1.514.383.3801 Villeray, Montréal, QC___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] [spectrogram~] won't show anything
Hello, I noticed that the object [spectrogram~] won't show anything in the array in my pd-extended. I'm using ubuntu 11.10 with pd-extended installed from the apt repository http://apt.puredata.info/auto-build/2011-12-07/ which seems the only place where I can find a compiled package. In the system's official package puredata the object works fine. I opened [spectrogram~] and using the [print~] object I noticed that [sqrt~] outputs only zeros, and the multiplications above shows some non-zero results. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list