Re: [PD] clear console command + create folder from Pd?

2011-11-13 Thread rolf meesters
working in  Windows-XP
patch.pd contains

[echo %cd%(
|
[popen]

starting patch.pd directly gives: symbol C:
using pd -open patch.pd gives :symbol C:Program Filespd

however

[mkdir test( -- [popen]

creates the subdirectory in both cases where patch.pd is

the latter is nice, the former confusing

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


Re: [PD] [PD-announce] pd 0.43-1 test 5 released

2011-11-13 Thread Roman Haefeli
On Fri, 2011-11-11 at 11:05 -0500, Hans-Christoph Steiner wrote:
 On Nov 11, 2011, at 7:58 AM, Roman Haefeli wrote: 
  Sorry for this vague bug report. I thought it's better to mention it
  even when I cannot provide enough useful information yet.
 
 
 Can you reliably reproduce the bug?  Having a complicated patch with steps to 
 reproduce the bug every time is still helpful.  If the bug is intermittent, 
 have you confirmed that it really doesn't happen in test4?

In the meanwhile I posted a proper bug report:
https://sourceforge.net/tracker/index.php?func=detailaid=3437312group_id=55736atid=478070

Yeah, it happens every time and it is indeed only happening on test5,
but not on test4. Luckily, the patch to trigger the crash is not so
complicated anymore.

Roman


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


[PD] Troubles running Pd-0.43.1test5 on Windows XP

2011-11-13 Thread Roman Haefeli
Hi all

Has anyone tried to run the last release of Pd (Pd-0.43.1test5) on
Windowx XP? 

I fail to even start it. Double-clicking either pd.exe or pd.com does
just nothing. When calling pd.com from the cmd shell, I get this output:

C:\pds\pd-043.1test5\binpd.com
spawnl: Invalid argument
C:\pds\pd-043.1test5\bin\wish85.exe: couldn't load TCL

Is it only me, or is this release really broken on Windows XP?

Roman



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


Re: [PD] Troubles running Pd-0.43.1test5 on Windows XP

2011-11-13 Thread Martin Peach

I just tried it now and it seems to work fine.

Martin


On 2011-11-13 10:40, Roman Haefeli wrote:

Hi all

Has anyone tried to run the last release of Pd (Pd-0.43.1test5) on
Windowx XP?

I fail to even start it. Double-clicking either pd.exe or pd.com does
just nothing. When calling pd.com from the cmd shell, I get this output:

C:\pds\pd-043.1test5\binpd.com
spawnl: Invalid argument
C:\pds\pd-043.1test5\bin\wish85.exe: couldn't load TCL

Is it only me, or is this release really broken on Windows XP?

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


Re: [PD] [PD-announce] pd 0.43-1 test 5 released

2011-11-13 Thread Miller Puckette
Thanks for reporting this... I'll get to work on it.  I've already
got another probably similar bug report too, so having both might 
help me find a more general problem.

cheers
Miller

On Sun, Nov 13, 2011 at 03:58:41PM +0100, Roman Haefeli wrote:
 On Fri, 2011-11-11 at 11:05 -0500, Hans-Christoph Steiner wrote:
  On Nov 11, 2011, at 7:58 AM, Roman Haefeli wrote: 
   Sorry for this vague bug report. I thought it's better to mention it
   even when I cannot provide enough useful information yet.
  
  
  Can you reliably reproduce the bug?  Having a complicated patch with steps 
  to reproduce the bug every time is still helpful.  If the bug is 
  intermittent, have you confirmed that it really doesn't happen in test4?
 
 In the meanwhile I posted a proper bug report:
 https://sourceforge.net/tracker/index.php?func=detailaid=3437312group_id=55736atid=478070
 
 Yeah, it happens every time and it is indeed only happening on test5,
 but not on test4. Luckily, the patch to trigger the crash is not so
 complicated anymore.
 
 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


Re: [PD] [PD-announce] pd 0.43-1 test 5 released

2011-11-13 Thread Mathieu Bouchard

On Sun, Nov 13, 2011 at 03:58:41PM +0100, Roman Haefeli wrote:

In the meanwhile I posted a proper bug report:
https://sourceforge.net/tracker/index.php?func=detailaid=3437312group_id=55736atid=478070


Is Valgrind reporting its first Invalid Write in the same spot, or not ? 
Can you also post Valgrind backtraces for all the Invalid Writes ? Perhaps 
even any related warnings (but note that Valgrind always provide a bunch 
of unrelated warnings).


 __
| 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] [PD-announce] Gem-0.93.3 released

2011-11-13 Thread IOhannes zmölnig
On 11/11/2011 04:08 PM, tim vets wrote:
 Hi IOhannes,
 I get:
 /usr/lib/pd-extended/extra/Gem/Gem.pd_linux:
 /usr/lib/pd-extended/extra/Gem/Gem.pd_linux: undefined symbol: sys_close
 any hints?

i assume(!) that you are running linux and compiled Gem yourself.
it seems that you compiled Gem against a 0.43 version of Pd, but then
use it with an older version of Pd.
you should use the same version (or a newer one) of Pd that provided the
Pd-headers when compiling Gem.

fgasr
IOhannes



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


Re: [PD] gridflow fullscreen

2011-11-13 Thread Mathieu Bouchard

Le 2011-11-01 à 16:12:00, stéfan piat a écrit :


is there a fullscreen method with [#out x11( ?  (or #out quartz)


No... I'd like to have a hardware scaler pretty soon though. Right now, 
the only way to access a hardware scaler is by going through GEM using 
[#to_pix]. In the case of SDL, I think that it uses a combination of 
changing the video mode and using hardware scaling and black borders, with 
a preference on avoiding hardware scaling. But I don't know much about 
SDL.



the shortcuts from [#out sdl( seems to not working there...


Then it means that SDL's full screen command does not work on OSX.

This page says it only works in X11 : 
http://sdl.beuc.net/sdl.wiki/SDL_WM_ToggleFullScreen
And I don't think you can make SDL go through X11 on OSX, and I wouldn't 
bet that OSX's X11 supports the fullscreen commands.



but I got the following error message by sending the message [out_size 1920 
1080(
error: [#io.x11 out] inlet 0 method out_size: shmget() failed: Invalid argument
XErrorEvent: type=0x display=0x2014e00 xid=0x000b
... serial=0x03ae error=0x0084 request=0x0084 minor=0x0002
(note: turning shm off)


Strange, I thought that it would only say that for much bigger windows, 
such as 4096x3072 and such. Maybe OSX has much lower limits of memory size 
for shmget() than Linux has. I wouldn't know how to increase that.


BTW, you have to swap the arguments to out_size. The number of rows 
usually comes before the number of columns in GridFlow.



with others arguments (e.g. 1024 576) nothing happens...


I don't know why that would happen.

Also, I never use out_size because as it is, GridFlow always resizes the 
window to the same size. I expect that out_size will become more important 
if I enable hardware scaling in a future version.


 __
| 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] gridflow + quicktime + windows

2011-11-13 Thread Mathieu Bouchard

Le 2011-10-22 à 13:44:00, stéfan piat a écrit :


ok, I'll try another video format,
it would be nice to have this libquicktime support to the windows build...


Oops, in the previous build I assumed that you were on OSX. That's because 
you mentioned [#out quartz], something that only works on OSX.


GridFlow comes without video decoding support on Windows. There are tricks 
you can do to load data from many image files or merge many image files 
into one. But there is no support for .mpg, .mov and .avi that are 
loadable on Linux and OSX.


I don't remember whether I tried adding them to the Windows build though. 
Perhaps it's not so hard. But I haven't booted Windows in many months.


 __
| 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] [PD-announce] pd 0.43-1 test 5 released

2011-11-13 Thread Roman Haefeli
Hi Matju

On Sun, 2011-11-13 at 12:56 -0500, Mathieu Bouchard wrote:
 On Sun, Nov 13, 2011 at 03:58:41PM +0100, Roman Haefeli wrote:
  In the meanwhile I posted a proper bug report:
  https://sourceforge.net/tracker/index.php?func=detailaid=3437312group_id=55736atid=478070
 
 Is Valgrind reporting its first Invalid Write in the same spot, or not ? 

Why are you asking? Are you going to help fix this?

 Can you also post Valgrind backtraces for all the Invalid Writes ?

How does it help to also have the Valgrind backtrace?

Unfortunately, I'm not familiar with Valgrind. Probably you could give
me a hand with it or even create the backtrace yourself (?). I think I
posted all the necessary information to make Pd crash.

 Perhaps 
 even any related warnings (but note that Valgrind always provide a bunch 
 of unrelated warnings).

Is it something like that it considers Pd's symbol table to be a memory
leak because it gets never freed as long as Pd is running? I'm not sure,
but I vaguely remember you saying something the like.

Roman


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


Re: [PD] [PD-announce] pd 0.43-1 test 5 released

2011-11-13 Thread Mathieu Bouchard

Le 2011-11-13 à 20:45:00, Roman Haefeli a écrit :

Can you also post Valgrind backtraces for all the Invalid Writes ?

How does it help to also have the Valgrind backtrace?


In case the bug is more subtle than GDB can find.

GDB finds only the final consequences, whereas Valgrind usually finds an 
early cause. For some bugs, it does not matter.



I think I posted all the necessary information to make Pd crash.


It's often not sufficient to cause a crash.

Perhaps even any related warnings (but note that Valgrind always 
provide a bunch of unrelated warnings).

Is it something like that it considers Pd's symbol table to be a memory
leak because it gets never freed as long as Pd is running? I'm not sure,
but I vaguely remember you saying something the like.


That's only if you enable the leak-checker, and that thing is off by 
default, and should be kept off while looking for the cause of a crash.



Why are you asking? Are you going to help fix this?


Nevermind, then.

 __
| 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


[PD] pix_freenect 0.03 update

2011-11-13 Thread Matthias Kronlachner

hi!

finally i found some time to update my pix_freenect external for 
interfacing with the kinect sensor.


you can find source code and binaries (osx, ubuntu 11.10) here:
http://www.matthiaskronlachner.com/wp-content/uploads/2011/11/pix_freenect_0.03.zip

major changes:

* output rgb and depth stream simultaneously, plus 4 channel audio 
samples as list on linux (audio from libfreenect is still experimental)

* uses libfreenect v0.1 - not backward compatible!!
* binary for osx - thanks to hans-christian steiner for makefiles i 
found from fux_kinect...

* accelerator and tilt angle output
* different depth output modes (raw for distance measurement)

you have to toggle a led, tilt or accelerator output after starting 
rendering to start the streams - don't really know why but i will try to 
fix that.


i tested it with two kinects under ubuntu and osx and it worked fine.


for using audio you have to build libfreenect with audio (default it is 
off!) and put the audio.bin into pix_freenect folder.



have fun and please report bugs.


matthias

ps.: sorry for not continuing the plugin for pix_video framework but in 
case of the kinect it is quite difficult with the 2 streams you get plus 
the audio stream.


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


Re: [PD] pix_freenect 0.03 update

2011-11-13 Thread Hans-Christoph Steiner

Hey,

Good news!  Perhaps Budi and you can join forces, unless there is a reason to 
have different libfreenect objects.  About the Mac OS X binary, it looks like 
you're not using Fink for libfreenect, so the embed-MacOSX-dependencies.sh 
script didn't work.  That script looks for the /sw path of Fink.  If you run 
these commands and compare them to the fux_kinect, you'll see the differences 
in the libfreenect and libusb references:

otool -L pix_freenect.pd_darwin
otool -L libfreenect.0.0.1.dylib
otool -L libusb-1.0.0.dylib

.hc

On Nov 13, 2011, at 10:48 PM, Matthias Kronlachner wrote:

 hi!
 
 finally i found some time to update my pix_freenect external for interfacing 
 with the kinect sensor.
 
 you can find source code and binaries (osx, ubuntu 11.10) here:
 http://www.matthiaskronlachner.com/wp-content/uploads/2011/11/pix_freenect_0.03.zip
 
 major changes:
 
 * output rgb and depth stream simultaneously, plus 4 channel audio samples as 
 list on linux (audio from libfreenect is still experimental)
 * uses libfreenect v0.1 - not backward compatible!!
 * binary for osx - thanks to hans-christian steiner for makefiles i found 
 from fux_kinect...
 * accelerator and tilt angle output
 * different depth output modes (raw for distance measurement)
 
 you have to toggle a led, tilt or accelerator output after starting rendering 
 to start the streams - don't really know why but i will try to fix that.
 
 i tested it with two kinects under ubuntu and osx and it worked fine.
 
 
 for using audio you have to build libfreenect with audio (default it is off!) 
 and put the audio.bin into pix_freenect folder.
 
 
 have fun and please report bugs.
 
 
 matthias
 
 ps.: sorry for not continuing the plugin for pix_video framework but in case 
 of the kinect it is quite difficult with the 2 streams you get plus the audio 
 stream.
 
 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list




A cellphone to me is just an opportunity to be irritated wherever you are. - 
Linus Torvalds


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


Re: [PD] pix_freenect 0.03 update

2011-11-13 Thread Matthias Kronlachner

ah you are right thanks.
i will have a look at this later on. hope it works on other computers 
than mine :-)


i didn't use fink right, i compiled libfreenect for myself with audio 
support... but it seems to be not very stable under osx (the audio stuff).


yes, would be good to work together to get a real stable libfreenect object.

matthias

ps.: sorry for confusion with your name, it's late...or early... i'll 
correct that :-)


Am 14.11.11 04:57, schrieb Hans-Christoph Steiner:

Hey,

Good news!  Perhaps Budi and you can join forces, unless there is a reason to 
have different libfreenect objects.  About the Mac OS X binary, it looks like 
you're not using Fink for libfreenect, so the embed-MacOSX-dependencies.sh 
script didn't work.  That script looks for the /sw path of Fink.  If you run 
these commands and compare them to the fux_kinect, you'll see the differences 
in the libfreenect and libusb references:

otool -L pix_freenect.pd_darwin
otool -L libfreenect.0.0.1.dylib
otool -L libusb-1.0.0.dylib

.hc

On Nov 13, 2011, at 10:48 PM, Matthias Kronlachner wrote:


hi!

finally i found some time to update my pix_freenect external for interfacing 
with the kinect sensor.

you can find source code and binaries (osx, ubuntu 11.10) here:
http://www.matthiaskronlachner.com/wp-content/uploads/2011/11/pix_freenect_0.03.zip

major changes:

* output rgb and depth stream simultaneously, plus 4 channel audio samples as 
list on linux (audio from libfreenect is still experimental)
* uses libfreenect v0.1 -  not backward compatible!!
* binary for osx -  thanks to hans-christian steiner for makefiles i found 
from fux_kinect...
* accelerator and tilt angle output
* different depth output modes (raw for distance measurement)

you have to toggle a led, tilt or accelerator output after starting rendering 
to start the streams - don't really know why but i will try to fix that.

i tested it with two kinects under ubuntu and osx and it worked fine.


for using audio you have to build libfreenect with audio (default it is off!) 
and put the audio.bin into pix_freenect folder.


have fun and please report bugs.


matthias

ps.: sorry for not continuing the plugin for pix_video framework but in case of 
the kinect it is quite difficult with the 2 streams you get plus the audio 
stream.

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




A cellphone to me is just an opportunity to be irritated wherever you are. - 
Linus Torvalds




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


Re: [PD] pix_freenect 0.03 update

2011-11-13 Thread José Luis Santorcuato Tapia
Hi all, excellent!, Is only available for ubuntu 11.10? would be great to 10.04
LTS, after all, it has the most support.
Regards

José

2011/11/14 Matthias Kronlachner m.kronlach...@student.tugraz.at

 hi!

 finally i found some time to update my pix_freenect external for
 interfacing with the kinect sensor.

 you can find source code and binaries (osx, ubuntu 11.10) here:
 http://www.**matthiaskronlachner.com/wp-**content/uploads/2011/11/pix_**
 freenect_0.03.ziphttp://www.matthiaskronlachner.com/wp-content/uploads/2011/11/pix_freenect_0.03.zip

 major changes:

 * output rgb and depth stream simultaneously, plus 4 channel audio samples
 as list on linux (audio from libfreenect is still experimental)
 * uses libfreenect v0.1 - not backward compatible!!
 * binary for osx - thanks to hans-christian steiner for makefiles i found
 from fux_kinect...
 * accelerator and tilt angle output
 * different depth output modes (raw for distance measurement)

 you have to toggle a led, tilt or accelerator output after starting
 rendering to start the streams - don't really know why but i will try to
 fix that.

 i tested it with two kinects under ubuntu and osx and it worked fine.


 for using audio you have to build libfreenect with audio (default it is
 off!) and put the audio.bin into pix_freenect folder.


 have fun and please report bugs.


 matthias

 ps.: sorry for not continuing the plugin for pix_video framework but in
 case of the kinect it is quite difficult with the 2 streams you get plus
 the audio stream.

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




-- 
http://arselectronicachile.blogspot.com
http://comunicacionnativa.blogspot.com/
http://www.myspace.com/santorcuato
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pix_freenect 0.03 update

2011-11-13 Thread Matthias Kronlachner

hi, you can compile it yourself under ubuntu 10.04.
it shouldn't be a problem, just the binary included is compiled under 11.10.

make sure you have the latest libfreenect compiled with audio support.

matthias


Am 14.11.11 05:40, schrieb José Luis Santorcuato Tapia:
Hi all,excellent!,Is only available forubuntu11.10?would be great 
to10.04 LTS,after all, ithas the mostsupport.

Regards

José

2011/11/14 Matthias Kronlachner m.kronlach...@student.tugraz.at 
mailto:m.kronlach...@student.tugraz.at


hi!

finally i found some time to update my pix_freenect external for
interfacing with the kinect sensor.

you can find source code and binaries (osx, ubuntu 11.10) here:

http://www.matthiaskronlachner.com/wp-content/uploads/2011/11/pix_freenect_0.03.zip

major changes:

* output rgb and depth stream simultaneously, plus 4 channel audio
samples as list on linux (audio from libfreenect is still
experimental)
* uses libfreenect v0.1 - not backward compatible!!
* binary for osx - thanks to hans-christian steiner for makefiles
i found from fux_kinect...
* accelerator and tilt angle output
* different depth output modes (raw for distance measurement)

you have to toggle a led, tilt or accelerator output after
starting rendering to start the streams - don't really know why
but i will try to fix that.

i tested it with two kinects under ubuntu and osx and it worked fine.


for using audio you have to build libfreenect with audio (default
it is off!) and put the audio.bin into pix_freenect folder.


have fun and please report bugs.


matthias

ps.: sorry for not continuing the plugin for pix_video framework
but in case of the kinect it is quite difficult with the 2 streams
you get plus the audio stream.

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




--
http://arselectronicachile.blogspot.com
http://comunicacionnativa.blogspot.com/
http://www.myspace.com/santorcuato





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