Re: [PD] closed window not destroyed? (in l2ork, possibly in others too)

2013-06-19 Thread IOhannes m zmoelnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2013-06-18 22:58, András Murányi wrote:
 Hi List,
 
 I've got used to putting my PC to sleep (aka hibernation) often
 lately. Now there is this behaviour of Pd that when you leave a
 patch open and put the computer to sleep, once it wakes up Pd will
 try to do everything it missed while the computer was sleeping, so
 the CPU goes 100% for quite a while. I suppose this is by design. 
 What I've just noticed using l2ork is that I had closed my patch
 before hibernating (in order to avoid the CPU boost when waking
 up), put the computer to sleep for a few hours, and when i woke it
 up, surprisingly the 100% CPU boost still happened - with only the
 main window and console open. This makes me think some things are
 not destroyed properly when a patch is closed. Any thoughts
 appreciated...

i'm experiencing the same, and have not found the reason, nor did i
come up with a nice way how to easily debug this problem without doing
time consuming suspend/resume cycles (at least you don't need to
*hibernate* the system, a simple *suspend* to RAM triggers the problem
as well).

my system (as always) is:
- - debian jessie/sid (x86_64)
- - pd-vanilla 0.43, 0.44 (most likely; i have only recently started to
use 0.44 on a regular basis)

personally i don't think that this is related to some improper cleanup
(as it also happens with minimal patches that do not really do
anything on their own), but rather that Pd is checking the (empty?)
event-queue in tiny increments rather than one big go. or it might be
related to an overly simple watchdog logic.

but these are wild guesses.


ghsmadf
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iEYEARECAAYFAlHBXHQACgkQkX2Xpv6ydvQ3TQCg9XKxWZXOLxa1PMpZYQDZl61O
ibMAoISRR+mdEahwY4PlGjDENLjlawlh
=xDMX
-END PGP SIGNATURE-

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] closed window not destroyed? (in l2ork, possibly in others too)

2013-06-19 Thread Roman Haefeli
On Tue, 2013-06-18 at 22:58 +0200, András Murányi wrote:
 Hi List,
 
 
 I've got used to putting my PC to sleep (aka hibernation) often
 lately. Now there is this behaviour of Pd that when you leave a patch
 open and put the computer to sleep, once it wakes up Pd will try to do
 everything it missed while the computer was sleeping, so the CPU goes
 100% for quite a while. I suppose this is by design.
 
 What I've just noticed using l2ork is that I had closed my patch
 before hibernating (in order to avoid the CPU boost when waking up),
 put the computer to sleep for a few hours, and when i woke it up,
 surprisingly the 100% CPU boost still happened - with only the main
 window and console open.
 
 This makes me think some things are not destroyed properly when a
 patch is closed.
 
 Any thoughts appreciated...

Does it help to toggle DSP off and on, when Pd is in this post-suspend
mode? I had the impression it did, but I wasn't sure if it was just a
coincident, that CPU usage stopped at the same moment.

Roman




___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] closed window not destroyed? (in l2ork, possibly in others too)

2013-06-19 Thread Ivica Bukvic
I don't think it is incomplete freeing of patch resources based on what I
saw so far. Could it be the watchdog's ping, isn't each of these tied to a
specific timestamp?
On Jun 19, 2013 3:50 AM, Roman Haefeli reduz...@gmail.com wrote:

 On Tue, 2013-06-18 at 22:58 +0200, András Murányi wrote:
  Hi List,
 
 
  I've got used to putting my PC to sleep (aka hibernation) often
  lately. Now there is this behaviour of Pd that when you leave a patch
  open and put the computer to sleep, once it wakes up Pd will try to do
  everything it missed while the computer was sleeping, so the CPU goes
  100% for quite a while. I suppose this is by design.
 
  What I've just noticed using l2ork is that I had closed my patch
  before hibernating (in order to avoid the CPU boost when waking up),
  put the computer to sleep for a few hours, and when i woke it up,
  surprisingly the 100% CPU boost still happened - with only the main
  window and console open.
 
  This makes me think some things are not destroyed properly when a
  patch is closed.
 
  Any thoughts appreciated...

 Does it help to toggle DSP off and on, when Pd is in this post-suspend
 mode? I had the impression it did, but I wasn't sure if it was just a
 coincident, that CPU usage stopped at the same moment.

 Roman




 ___
 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] Sarts wews

2013-06-19 Thread Jorge Boehringer
zyxyx us stats ho xd
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] how to install and use GPIO external

2013-06-19 Thread Julian Brooks
Hey Josh,

In the gpio folder, do you have 'gpio.l_arm' ?
i386 is for a different processor type and the rpi is arm.

Keep going, you're nearly there:)

Julian


On 18 June 2013 22:37, Josh Downing jndown...@gmail.com wrote:

 Sorry for attaching the pics. Will avoid this in the future.

 Julian, you are right, I have not compiled it. I did not know how to do
 this. When I navigate to the directory that I have unzipped the files
 (home/pi/pd-externals/gpio) and then type make it prints the following:

 cc -DPD -O2 -funroll-loops -fomit-frame-pointer -fno-strict-aliasing
 -Wall -W -Wshadow -Wstrict-prototypes -Wno-unused -Wno-parentheses
 -Wno-switch  -I../pd/src -I../../pd/src -I../../../pd/src
 -I../../../../pd/src -I../../../../../pd/src -m32 -o gpio.o -c gpio.c
 cc1: error: unrecognized command line option ‘-m32’
 make: *** [gpio.l_i386] Error 1

 Do you know what this error message could mean? What should I expect as
 the output from compiling like this? Not sure what I should be looking for.
 I did notice that this output looks like what is listed in the
 makefile.include that is in the root directory of the zipped archive
 (pi-externs.tgz).

 Josh




 On Tue, Jun 18, 2013 at 5:48 AM, Julian Brooks jbee...@gmail.com wrote:

 i'm not very familiar with the specific help-patch, but i do know a
 bit of Pd

 The joy of understatement.

 Josh,

 sounds like you haven't compiled the external yet.

 My memory (and I'm guessing here, don't have a Pi to confirm atm) is
 this: from the command line
 cd (change directory) to the gpio folder (wherever you've put it on the
 pI)
 and type 'make'.  Check the command line doesn't spit any errors and in
 theory there should be a gpio external sat in the gpio folder at the end of
 it.

 Maybe you've done this already and it's compiled happily?

 In that case you need to tell Pd where the external is - a good place to
 put it would be in the 'externals' folder.  puredata.info is your friend
 here.

 Regards,

 Julian




 On 18 June 2013 08:18, IOhannes m zmoelnig zmoel...@iem.at wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On 2013-06-17 22:03, Josh Downing wrote:
  How do I install this external? I can open the gpio-help.pd file
  in pure data but when I try to open it I get the attached error
  message (pd_error_message.png).

 meta
 for the future, would you mind posting the *text* of the error message
 into your mail, rather than creating a snapshot?
 it allows users who read their emails in text-based mail readers to
 understand your question and eventually answer it.
 also it does not waste bandwidth for no extra information...
 /meta


 what's the content of gpio.l_i386?
 what does ls -l gpio.l_i386 show?
 what does ldd gpio.l_i386 show?

  (gpio_help_configuration.png) for how I configured Jaime's
  gpio-help.pd

 the main problem you have, is that the object does not create (dashed
 border), so it doesn't do anything.
 apart from that, how does your screenshot differ from the original
 help-patch?
 i'm not very familiar with the specific help-patch, but i do know a
 bit of Pd, and might be able to help if i could understand the problem.


 fgamsdr
 IOhannes

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.12 (GNU/Linux)
 Comment: Using GnuPG with Icedove - http://www.enigmail.net/

 iEYEARECAAYFAlHACdQACgkQkX2Xpv6ydvRsAQCgilg7on3ckPDh0CuhnLZdtJtE
 cCEAoLm6bM3In2+anVbX2tgg6b6VSz8u
 =81Kk
 -END PGP SIGNATURE-

 ___
 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] compiling pix_opencv on debian (lmde)

2013-06-19 Thread Benjamin ~ 01xy

Hello pd-list,

I'm trying to compile pix_opencv on linux mint debian
when :
./configure --with-pd=path_to_pd --with-gem=path_to_gem
I get :
checking for cvSobel in -lcv... no
configure: error: you need to install opencv library (libcv)

of course, I've previously installed libcv2.3 libcv-dev libcvaux-dev 
libhighgui-dev with the package manager

locate libcv gives :
...
/usr/lib/libcv.so.4
/usr/lib/vlc/plugins/codec/libcvdsub_plugin.so
/usr/share/doc/libcv-dev
/usr/share/doc/libcv2.3
/usr/share/doc/libcvaux-dev
/usr/share/doc/libcvaux2.3
/usr/share/doc/libcv-dev/README.Debian
...

did anyone already managed to compile pix_opencv on debian testing ?
any magic ln -s command ? maybe pix_opencv relies on opencv v1 ?

thanks
benjamin

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] how to install and use GPIO external

2013-06-19 Thread IOhannes m zmoelnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2013-06-18 23:37, Josh Downing wrote:
 
 
 cc -DPD -O2 -funroll-loops -fomit-frame-pointer
 -fno-strict-aliasing -Wall -W -Wshadow -Wstrict-prototypes
 -Wno-unused -Wno-parentheses -Wno-switch  -I../pd/src
 -I../../pd/src -I../../../pd/src -I../../../../pd/src
 -I../../../../../pd/src -m32 -o gpio.o -c gpio.c cc1: error:
 unrecognized command line option ?-m32? make: *** [gpio.l_i386]
 Error 1
 
 Do you know what this error message could mean?

it means that the makefile has a compiler flag -m32 which is not
known to the compiler.

 What should I expect as the output from compiling like this?

nothing. the build failed.

you could try editing your makefile and removing the -m32
occurences, and see what you get then.

make a backup of the makefile, before you go ahead.

fgamsrd
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iEYEARECAAYFAlHBlqMACgkQkX2Xpv6ydvSjtACg7y5vI4qGYDwjphUooM/Yt+RZ
/KcAoKpb6waukrnp35DZQGFYmP88XAVD
=0t/E
-END PGP SIGNATURE-

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] compiling pix_opencv on debian (lmde)

2013-06-19 Thread Jaime Oliver
I just ran into the same problem in ubuntu following:
http://hangar.org/wikis/lab/doku.php?id=start:puredata_opencv#packages_for_ubuntu_and_debian
J


On Wed, Jun 19, 2013 at 1:08 PM, Benjamin ~ 01xy ben...@free.fr wrote:

 Hello pd-list,

 I'm trying to compile pix_opencv on linux mint debian
 when :
 ./configure --with-pd=path_to_pd --with-gem=path_to_gem
 I get :
 checking for cvSobel in -lcv... no
 configure: error: you need to install opencv library (libcv)

 of course, I've previously installed libcv2.3 libcv-dev libcvaux-dev
 libhighgui-dev with the package manager
 locate libcv gives :
 ...
 /usr/lib/libcv.so.4
 /usr/lib/vlc/plugins/codec/**libcvdsub_plugin.so
 /usr/share/doc/libcv-dev
 /usr/share/doc/libcv2.3
 /usr/share/doc/libcvaux-dev
 /usr/share/doc/libcvaux2.3
 /usr/share/doc/libcv-dev/**README.Debian
 ...

 did anyone already managed to compile pix_opencv on debian testing ?
 any magic ln -s command ? maybe pix_opencv relies on opencv v1 ?

 thanks
 benjamin

 __**_
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - http://lists.puredata.info/**
 listinfo/pd-list http://lists.puredata.info/listinfo/pd-list




-- 
**
Jaime E Oliver LR
www.jaimeoliver.pe
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] compiling pix_opencv on debian (lmde)

2013-06-19 Thread Antoine Villeret
hello,

you shouldn't have to run configure script on debian/ubuntu
just run make after installing the right package
see README.txt

pkg-config determines the Pd and Gem's path
if it doesn't work this is due to an old version or a bad installation and
I don't know an easier way to fix it than editing Makefile

cheers

a

--
do it yourself
http://antoine.villeret.free.fr


2013/6/19 Jaime Oliver jaime.oliv...@gmail.com

 I just ran into the same problem in ubuntu following:

 http://hangar.org/wikis/lab/doku.php?id=start:puredata_opencv#packages_for_ubuntu_and_debian
 J


 On Wed, Jun 19, 2013 at 1:08 PM, Benjamin ~ 01xy ben...@free.fr wrote:

 Hello pd-list,

 I'm trying to compile pix_opencv on linux mint debian
 when :
 ./configure --with-pd=path_to_pd --with-gem=path_to_gem
 I get :
 checking for cvSobel in -lcv... no
 configure: error: you need to install opencv library (libcv)

 of course, I've previously installed libcv2.3 libcv-dev libcvaux-dev
 libhighgui-dev with the package manager
 locate libcv gives :
 ...
 /usr/lib/libcv.so.4
 /usr/lib/vlc/plugins/codec/**libcvdsub_plugin.so
 /usr/share/doc/libcv-dev
 /usr/share/doc/libcv2.3
 /usr/share/doc/libcvaux-dev
 /usr/share/doc/libcvaux2.3
 /usr/share/doc/libcv-dev/**README.Debian
 ...

 did anyone already managed to compile pix_opencv on debian testing ?
 any magic ln -s command ? maybe pix_opencv relies on opencv v1 ?

 thanks
 benjamin

 __**_
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - http://lists.puredata.info/**
 listinfo/pd-list http://lists.puredata.info/listinfo/pd-list




 --
 **
 Jaime E Oliver LR
 www.jaimeoliver.pe


 ___
 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] compiling pix_opencv on debian (lmde)

2013-06-19 Thread yvan volochine

FYI it does not build on archlinux (with opencv2).

I fixed some of it with the following patch:
https://gist.github.com/gusano/5814205

and now all externals build fine except for `pix_opencv_blobtrack` which 
gives the following error:



blobtrack.h: In function ‘CvFGDetector* cvCreateFGDetector1()’:
blobtrack.h:20:113: warning: control reaches end of non-void function 
[-Wreturn-type]
 static CvFGDetector* cvCreateFGDetector1  () { return 
cvCreateFGDetectorBase(CV_BG_MODEL_MOG,NULL); }


  ^
blobtrack.h: In function ‘CvFGDetector* cvCreateFGDetector0Simple()’:
blobtrack.h:19:113: warning: control reaches end of non-void function 
[-Wreturn-type]
 static CvFGDetector* cvCreateFGDetector0Simple() { return 
cvCreateFGDetectorBase(CV_BG_MODEL_FGD_SIMPLE, NULL); }


  ^
blobtrack.h: In function ‘CvFGDetector* cvCreateFGDetector0()’:
blobtrack.h:18:113: warning: control reaches end of non-void function 
[-Wreturn-type]
 static CvFGDetector* cvCreateFGDetector0  () { return 
cvCreateFGDetectorBase(CV_BG_MODEL_FGD,NULL); }


  ^
make: *** [pix_opencv_blobtrack.o] Error 1


ciao,
y

--
http://yvanvolochine.com
http://soundcloud.com/yvanvolochine
http://soundcloud.com/elgusanorojo
http://vimeo.com/yv

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] how to install and use GPIO external

2013-06-19 Thread Josh Downing
Thanks for the help guys! So I deleted the -m32 from the makefile and
then everything seemed to build okay. I then added the correct path for the
extension in pure data and loaded the gpio-help.pd patch without getting
an error message. In the gpio-help.pd patch I would click enable 1 and
then click open 1 and after clicking open 1 I would get an error
message: /sys/class/gpio/gpio17/value: No such file or directory.

I then realized that I probably needed to install wiringPi. I downloaded
this and installed it. However I would still get the previous error message
within PD. I then decided to manually try to create the file using commands
in LXTerminal. I did this using this command, echo 17 |sudo tee
/sys/class/gpio/export. I then noticed that the gpio17 folder and
accompanying files were created. I was also able to correctly read the
state of the pin using gpio readall command from LXTerminal.

I then loaded the gpio-help.pd file again in PD. Now once I click open
1 instead of the no such file or directory error I get
/sys/class/gpio/gpio17/value: Permision denied error. Is there someway I
can use this GPIO library within the PD visual interface without getting
permission denied errors? Also, shouldn't clicking enable 1 within the
gpio-help.pd patch create the /sys/class/gpio/gpio17 folder and
accompanying files? How can I get this to work within PD without having to
run the commands from LXTerminal to create the folder/files? Do I need to
somehow indicate to pure data the path of wirngPi?

Almost there! Really appreciate your guys patience with me and help on this!

Josh


On Wed, Jun 19, 2013 at 6:31 AM, IOhannes m zmoelnig zmoel...@iem.atwrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On 2013-06-18 23:37, Josh Downing wrote:
 
 
  cc -DPD -O2 -funroll-loops -fomit-frame-pointer
  -fno-strict-aliasing -Wall -W -Wshadow -Wstrict-prototypes
  -Wno-unused -Wno-parentheses -Wno-switch  -I../pd/src
  -I../../pd/src -I../../../pd/src -I../../../../pd/src
  -I../../../../../pd/src -m32 -o gpio.o -c gpio.c cc1: error:
  unrecognized command line option ?-m32? make: *** [gpio.l_i386]
  Error 1
 
  Do you know what this error message could mean?

 it means that the makefile has a compiler flag -m32 which is not
 known to the compiler.

  What should I expect as the output from compiling like this?

 nothing. the build failed.

 you could try editing your makefile and removing the -m32
 occurences, and see what you get then.

 make a backup of the makefile, before you go ahead.

 fgamsrd
 IOhannes
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.12 (GNU/Linux)
 Comment: Using GnuPG with Icedove - http://www.enigmail.net/

 iEYEARECAAYFAlHBlqMACgkQkX2Xpv6ydvSjtACg7y5vI4qGYDwjphUooM/Yt+RZ
 /KcAoKpb6waukrnp35DZQGFYmP88XAVD
 =0t/E
 -END PGP SIGNATURE-

 ___
 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] how to install and use GPIO external

2013-06-19 Thread Jaime Oliver
you need to be root.

start pd with sudo. unless there is a more permanent solution by now?

best,

J


On Wed, Jun 19, 2013 at 6:02 PM, Josh Downing jndown...@gmail.com wrote:

 Thanks for the help guys! So I deleted the -m32 from the makefile and
 then everything seemed to build okay. I then added the correct path for the
 extension in pure data and loaded the gpio-help.pd patch without getting
 an error message. In the gpio-help.pd patch I would click enable 1 and
 then click open 1 and after clicking open 1 I would get an error
 message: /sys/class/gpio/gpio17/value: No such file or directory.

 I then realized that I probably needed to install wiringPi. I downloaded
 this and installed it. However I would still get the previous error message
 within PD. I then decided to manually try to create the file using commands
 in LXTerminal. I did this using this command, echo 17 |sudo tee
 /sys/class/gpio/export. I then noticed that the gpio17 folder and
 accompanying files were created. I was also able to correctly read the
 state of the pin using gpio readall command from LXTerminal.

 I then loaded the gpio-help.pd file again in PD. Now once I click open
 1 instead of the no such file or directory error I get
 /sys/class/gpio/gpio17/value: Permision denied error. Is there someway I
 can use this GPIO library within the PD visual interface without getting
 permission denied errors? Also, shouldn't clicking enable 1 within the
 gpio-help.pd patch create the /sys/class/gpio/gpio17 folder and
 accompanying files? How can I get this to work within PD without having to
 run the commands from LXTerminal to create the folder/files? Do I need to
 somehow indicate to pure data the path of wirngPi?

 Almost there! Really appreciate your guys patience with me and help on
 this!

 Josh


 On Wed, Jun 19, 2013 at 6:31 AM, IOhannes m zmoelnig zmoel...@iem.atwrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On 2013-06-18 23:37, Josh Downing wrote:
 
 
  cc -DPD -O2 -funroll-loops -fomit-frame-pointer
  -fno-strict-aliasing -Wall -W -Wshadow -Wstrict-prototypes
  -Wno-unused -Wno-parentheses -Wno-switch  -I../pd/src
  -I../../pd/src -I../../../pd/src -I../../../../pd/src
  -I../../../../../pd/src -m32 -o gpio.o -c gpio.c cc1: error:
  unrecognized command line option ?-m32? make: *** [gpio.l_i386]
  Error 1
 
  Do you know what this error message could mean?

 it means that the makefile has a compiler flag -m32 which is not
 known to the compiler.

  What should I expect as the output from compiling like this?

 nothing. the build failed.

 you could try editing your makefile and removing the -m32
 occurences, and see what you get then.

 make a backup of the makefile, before you go ahead.

 fgamsrd
 IOhannes
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.12 (GNU/Linux)
 Comment: Using GnuPG with Icedove - http://www.enigmail.net/

 iEYEARECAAYFAlHBlqMACgkQkX2Xpv6ydvSjtACg7y5vI4qGYDwjphUooM/Yt+RZ
 /KcAoKpb6waukrnp35DZQGFYmP88XAVD
 =0t/E
 -END PGP SIGNATURE-

 ___
 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




-- 
**
Jaime E Oliver LR
www.jaimeoliver.pe
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] closed window not destroyed? (in l2ork, possibly in others too)

2013-06-19 Thread Miller Puckette
This may be related: after upgrading to Fedora core 17 
(linux 3.6.3-1.fc17.x86_64) I found that, after running a patch for hours or
days, just shutting DSP off sometimes freezes my machine for somewhere between
1 and about 20 seconds (I think).  I had never suspended or hibernated the
machine.  I don't know how to debug this as the machine is frozen while it's
happening :)  Anyhow I don't get it on other machines so I'm suspicious it's
a particularity with some range of linux kernels.

Miller

On Tue, Jun 18, 2013 at 10:58:41PM +0200, András Murányi wrote:
 Hi List,
 
 I've got used to putting my PC to sleep (aka hibernation) often lately. Now
 there is this behaviour of Pd that when you leave a patch open and put the
 computer to sleep, once it wakes up Pd will try to do everything it missed
 while the computer was sleeping, so the CPU goes 100% for quite a while. I
 suppose this is by design.
 What I've just noticed using l2ork is that I had closed my patch before
 hibernating (in order to avoid the CPU boost when waking up), put the
 computer to sleep for a few hours, and when i woke it up, surprisingly the
 100% CPU boost still happened - with only the main window and console open.
 This makes me think some things are not destroyed properly when a patch is
 closed.
 Any thoughts appreciated...
 
 András

 ___
 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] how to install and use GPIO external

2013-06-19 Thread Josh Downing
Thanks Jaime, that fixed my error problems. No errors now but I can't seem
to figure out how to set the patch up to configure GPIO 17 as an input and
then to read the state. I modified gpio-help.pd to do this by changing
output 1 to output 0 (according to the patch output 0 should configure
the pin as an input). I then click enable 1, open 1, and then output
0. No error messages but where should I expect to see the high/low state
of GPIO 17? Should this be reflected in the bang object in the script
(white for low and black for high)? I have the poll input check box
checked. When I toggle the voltage on GPIO 17 from 3.3V to GND I do not see
anything change in the script. I am able to see the high/low state of the
pin 17 change by using the readall command from LXTerminal so I know that
I'm switching the voltage correctly on the right pin, just not seeing how I
get this status in pure data using the gpio-help.pd script. Any thought on
how I do this?

Sorry I have very little experience with pure data and am just learning.

Thanks,
Josh


On Wed, Jun 19, 2013 at 11:17 AM, Jaime Oliver jaime.oliv...@gmail.comwrote:

 you need to be root.

 start pd with sudo. unless there is a more permanent solution by now?

 best,

 J


 On Wed, Jun 19, 2013 at 6:02 PM, Josh Downing jndown...@gmail.com wrote:

 Thanks for the help guys! So I deleted the -m32 from the makefile and
 then everything seemed to build okay. I then added the correct path for the
 extension in pure data and loaded the gpio-help.pd patch without getting
 an error message. In the gpio-help.pd patch I would click enable 1 and
 then click open 1 and after clicking open 1 I would get an error
 message: /sys/class/gpio/gpio17/value: No such file or directory.

 I then realized that I probably needed to install wiringPi. I downloaded
 this and installed it. However I would still get the previous error message
 within PD. I then decided to manually try to create the file using commands
 in LXTerminal. I did this using this command, echo 17 |sudo tee
 /sys/class/gpio/export. I then noticed that the gpio17 folder and
 accompanying files were created. I was also able to correctly read the
 state of the pin using gpio readall command from LXTerminal.

 I then loaded the gpio-help.pd file again in PD. Now once I click open
 1 instead of the no such file or directory error I get
 /sys/class/gpio/gpio17/value: Permision denied error. Is there someway I
 can use this GPIO library within the PD visual interface without getting
 permission denied errors? Also, shouldn't clicking enable 1 within the
 gpio-help.pd patch create the /sys/class/gpio/gpio17 folder and
 accompanying files? How can I get this to work within PD without having to
 run the commands from LXTerminal to create the folder/files? Do I need to
 somehow indicate to pure data the path of wirngPi?

 Almost there! Really appreciate your guys patience with me and help on
 this!

 Josh


 On Wed, Jun 19, 2013 at 6:31 AM, IOhannes m zmoelnig zmoel...@iem.atwrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On 2013-06-18 23:37, Josh Downing wrote:
 
 
  cc -DPD -O2 -funroll-loops -fomit-frame-pointer
  -fno-strict-aliasing -Wall -W -Wshadow -Wstrict-prototypes
  -Wno-unused -Wno-parentheses -Wno-switch  -I../pd/src
  -I../../pd/src -I../../../pd/src -I../../../../pd/src
  -I../../../../../pd/src -m32 -o gpio.o -c gpio.c cc1: error:
  unrecognized command line option ?-m32? make: *** [gpio.l_i386]
  Error 1
 
  Do you know what this error message could mean?

 it means that the makefile has a compiler flag -m32 which is not
 known to the compiler.

  What should I expect as the output from compiling like this?

 nothing. the build failed.

 you could try editing your makefile and removing the -m32
 occurences, and see what you get then.

 make a backup of the makefile, before you go ahead.

 fgamsrd
 IOhannes
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.12 (GNU/Linux)
 Comment: Using GnuPG with Icedove - http://www.enigmail.net/

 iEYEARECAAYFAlHBlqMACgkQkX2Xpv6ydvSjtACg7y5vI4qGYDwjphUooM/Yt+RZ
 /KcAoKpb6waukrnp35DZQGFYmP88XAVD
 =0t/E
 -END PGP SIGNATURE-

 ___
 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




 --
 **
 Jaime E Oliver LR
 www.jaimeoliver.pe


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pd color presets

2013-06-19 Thread Jonathan Wilkes





 From: Alan Brooker alan.brooker2...@gmail.com
To: Jonathan Wilkes jancs...@yahoo.com; pd-list@iem.at pd-list@iem.at 
Sent: Tuesday, June 18, 2013 6:31 PM
Subject: RE: [PD] pd color presets
 


Wow sounds good -any chance for a jmax colour scene? Cobalt and yellow i think 
-obscure and strange i know but in an obscure and strange person :-)
That's tricky because things like iemgui background and foreground color are 
saved with the patch and do not currently accept an
empty value.  If they did then the user could specify a default color 
inherited from Pd's defaults, and then I could make a preset
for your cobalt iemguis while all iemguis where the user specified a color 
wouldn't be changed.

-Jonathan___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] Barry, let's connect on LinkedIn

2013-06-19 Thread Joseph Gray via LinkedIn
LinkedIn





Joseph Gray requested to add you as a connection on LinkedIn:
  

--

Barry,

I'd like to add you to my professional network on LinkedIn.

- Joseph

Accept invitation from Joseph Gray
http://www.linkedin.com/e/-24tqmf-hi51pejl-6a/Z-E7tbU-3QZNZY3MUQJPpadq/blk/I495814839_70/3wOtCVFbmdxnSVFbm8JrnpKqlZJrmZzbmNJpjRQnOpBtn9QfmhBt71BoSd1p65Lr6lOfP0TnPAPe3gNe3kVd4ALq7dQlQhydzsLcPgMcPoRd3oPcz4LrCBxbOYWrSlI/eml-comm_invm-b-in_ac-inv28/?hs=falsetok=057EF2TjTRRlM1

View profile of Joseph Gray
http://www.linkedin.com/e/-24tqmf-hi51pejl-6a/rso/5971105/npQo/name/71317085_I495814839_70/?hs=falsetok=0pygEgT6zRRlM1
--
You are receiving Invitation emails.


This email was intended for Barry Dillon.
Learn why this is included: 
http://www.linkedin.com/e/-24tqmf-hi51pejl-6a/plh/http%3A%2F%2Fhelp%2Elinkedin%2Ecom%2Fapp%2Fanswers%2Fdetail%2Fa_id%2F4788/-GXI/?hs=falsetok=3WsTLpfW7RRlM1

(c) 2012, LinkedIn Corporation. 2029 Stierlin Ct, Mountain View, CA 94043, USA.


  
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pd color presets

2013-06-19 Thread Dan Wilcox
Why not use white as the default background color and black as the default 
foreground and label colors? That's what I plan to do with themes on PdParty 
... This way, they only change if someone explicitly set the color.

On Jun 19, 2013, at 5:42 PM, pd-list-requ...@iem.at wrote:
 
 Wow sounds good -any chance for a jmax colour scene? Cobalt and yellow i 
 think -obscure and strange i know but in an obscure and strange person :-)
 
 That's tricky because things like iemgui background and foreground color are 
 saved with the patch and do not currently accept an
 empty value.  If they did then the user could specify a default color 
 inherited from Pd's defaults, and then I could make a preset
 for your cobalt iemguis while all iemguis where the user specified a color 
 wouldn't be changed.
 
 -Jonathan


Dan Wilcox
@danomatika
danomatika.com
robotcowboy.com





___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] how to install and use GPIO external

2013-06-19 Thread J Oliver
On Jun 19, 2013, at 7:07 PM, Josh Downing wrote:
 click enable 1, open 1, and then output 0.
ok.
 No error messages but where should I expect to see the high/low state of GPIO 
 17?
it should come out of the object into a number box or toggle as far as I can 
remember...
put a number box in the outlet of the gpio object.

J

 Should this be reflected in the bang object in the script (white for low and 
 black for high)?

  I have the poll input check box checked. When I toggle the voltage on GPIO 
 17 from 3.3V to GND I do not see anything change in the script. I am able to 
 see the high/low state of the pin 17 change by using the readall command 
 from LXTerminal so I know that I'm switching the voltage correctly on the 
 right pin, just not seeing how I get this status in pure data using the 
 gpio-help.pd script. Any thought on how I do this?
 
 Sorry I have very little experience with pure data and am just learning.
 
 Thanks,
 Josh
 
 
 On Wed, Jun 19, 2013 at 11:17 AM, Jaime Oliver jaime.oliv...@gmail.com 
 wrote:
 you need to be root. 
 
 start pd with sudo. unless there is a more permanent solution by now?
 
 best,
 
 J
 
 
 On Wed, Jun 19, 2013 at 6:02 PM, Josh Downing jndown...@gmail.com wrote:
 Thanks for the help guys! So I deleted the -m32 from the makefile and then 
 everything seemed to build okay. I then added the correct path for the 
 extension in pure data and loaded the gpio-help.pd patch without getting an 
 error message. In the gpio-help.pd patch I would click enable 1 and then 
 click open 1 and after clicking open 1 I would get an error message: 
 /sys/class/gpio/gpio17/value: No such file or directory.
 
 I then realized that I probably needed to install wiringPi. I downloaded this 
 and installed it. However I would still get the previous error message within 
 PD. I then decided to manually try to create the file using commands in 
 LXTerminal. I did this using this command, echo 17 |sudo tee 
 /sys/class/gpio/export. I then noticed that the gpio17 folder and 
 accompanying files were created. I was also able to correctly read the state 
 of the pin using gpio readall command from LXTerminal.
 
 I then loaded the gpio-help.pd file again in PD. Now once I click open 1 
 instead of the no such file or directory error I get 
 /sys/class/gpio/gpio17/value: Permision denied error. Is there someway I 
 can use this GPIO library within the PD visual interface without getting 
 permission denied errors? Also, shouldn't clicking enable 1 within the 
 gpio-help.pd patch create the /sys/class/gpio/gpio17 folder and 
 accompanying files? How can I get this to work within PD without having to 
 run the commands from LXTerminal to create the folder/files? Do I need to 
 somehow indicate to pure data the path of wirngPi?
 
 Almost there! Really appreciate your guys patience with me and help on this!
 
 Josh
 
 
 On Wed, Jun 19, 2013 at 6:31 AM, IOhannes m zmoelnig zmoel...@iem.at wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On 2013-06-18 23:37, Josh Downing wrote:
 
 
  cc -DPD -O2 -funroll-loops -fomit-frame-pointer
  -fno-strict-aliasing -Wall -W -Wshadow -Wstrict-prototypes
  -Wno-unused -Wno-parentheses -Wno-switch  -I../pd/src
  -I../../pd/src -I../../../pd/src -I../../../../pd/src
  -I../../../../../pd/src -m32 -o gpio.o -c gpio.c cc1: error:
  unrecognized command line option ?-m32? make: *** [gpio.l_i386]
  Error 1
 
  Do you know what this error message could mean?
 
 it means that the makefile has a compiler flag -m32 which is not
 known to the compiler.
 
  What should I expect as the output from compiling like this?
 
 nothing. the build failed.
 
 you could try editing your makefile and removing the -m32
 occurences, and see what you get then.
 
 make a backup of the makefile, before you go ahead.
 
 fgamsrd
 IOhannes
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.12 (GNU/Linux)
 Comment: Using GnuPG with Icedove - http://www.enigmail.net/
 
 iEYEARECAAYFAlHBlqMACgkQkX2Xpv6ydvSjtACg7y5vI4qGYDwjphUooM/Yt+RZ
 /KcAoKpb6waukrnp35DZQGFYmP88XAVD
 =0t/E
 -END PGP SIGNATURE-
 
 ___
 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
 
 
 
 
 -- 
 **
 Jaime E Oliver LR
 www.jaimeoliver.pe
 
 

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list