Re: [PD] Fwd: Re: wiimote crashes with moderate cpu load and/or heavy USB transfer

2011-01-28 Thread Roman Haefeli
On Thu, 2011-01-27 at 11:00 -0500, Ivica Ico Bukvic wrote:
 It should be included with the actual external.

I'm afraid the archive from:
http://l2ork.music.vt.edu/data/pd/disis_wiimote-0.6.5.tar.gz
doesn't contain a help patch.

Roman 


 Roman Haefeli reduz...@gmail.com wrote:
 
 On Wed, 2011-01-26 at 20:21 -0500, Ivica Ico Bukvic wrote:
  Forgot to copy pd-list...
  
   Original Message 
  Subject: Re: [PD] wiimote crashes with moderate cpu load and/or heavy USB  
  transfer
  From: Ivica Ico Bukvic i...@vt.edu
  To: John Harrison johnharrison...@gmail.com
  CC: 
  
  Try disis_wiimote from the L2ork software page which uses threaded 
  implementation and is dsp-safe even when sending cues back to wiimote 
  (which otherwise cause consistent xruns). We use it regularly even at 
  heavy cpu loads and it is rock solid (Linux only).
  
  Cheers!
 
 Is there also help-file / help-patch available for [disis_wiimote]? Or
 is it supposed to work the same as the [wiimote] it is based on (can't
 test right now).
 
 Roman
 



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


[PD] ubuntu/ubuntustudio 10.10 pd pd-extended?

2011-01-28 Thread J. Simon van der Walt
I've installed ubuntu 10.10 on my netbook, and on top of that the
audio packages from ubuntustudio. This is working well. For Pd,
however, I *think* what I have is a vanilla installation, rather than
extended, which I would like. In Synapctic Package Manager I can see I
have puredata 0.42.6-1build1 plus a version of gem, but I can't seem
to see anything in Synaptic which looks like Pd extended. Do I have to
add a software source or something?

Alternatively, on http://puredata.info/downloads I see a link to:

http://downloads.sourceforge.net/pure-data/Pd-0.42.5-extended-ubuntu-maverick-i386.deb

Should I download that instead? Should I remove the existing installation?

(Please excuse the perhaps slightly naive 'now-click-here' tone of
this question: it's deliberate. So far I've managed to get this
machine installed and running the way I want it without using the
terminal once, just coming at it like I would on the mac or pc. I'm
trying to keep going on ubuntu sticking to this policy, partly just to
prove whether or not it can be done...)

Thanks,
JS

-- 
J. Simon van der Walt - Composer
www.jsimonvanderwalt.com
+44 (0) 7905 270 198

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


Re: [PD] ubuntu/ubuntustudio 10.10 pd pd-extended?

2011-01-28 Thread Roman Haefeli
Hi

On Fri, 2011-01-28 at 08:37 +, J. Simon van der Walt wrote:
 I've installed ubuntu 10.10 on my netbook, and on top of that the
 audio packages from ubuntustudio. This is working well. For Pd,
 however, I *think* what I have is a vanilla installation, rather than
 extended, which I would like. In Synapctic Package Manager I can see I
 have puredata 0.42.6-1build1 plus a version of gem, but I can't seem
 to see anything in Synaptic which looks like Pd extended. Do I have to
 add a software source or something?

AFAIK, there is no repository delivering Pd-extended.
 
 Alternatively, on http://puredata.info/downloads I see a link to:
 
 http://downloads.sourceforge.net/pure-data/Pd-0.42.5-extended-ubuntu-maverick-i386.deb
 
 Should I download that instead?

Yes.

 Should I remove the existing installation?

You can, if you want, but it's not mandatory. You most certainly have Pd
vanilla installed now and both, Pd-extended and Pd, can happily live
side-by-side nowadays.

 (Please excuse the perhaps slightly naive 'now-click-here' tone of
 this question: it's deliberate. So far I've managed to get this
 machine installed and running the way I want it without using the
 terminal once, just coming at it like I would on the mac or pc. I'm
 trying to keep going on ubuntu sticking to this policy, partly just to
 prove whether or not it can be done...)

Good luck! (I'm confident it's possible, though)

Roman



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


Re: [PD] standard encoding of pd files in each system?

2011-01-28 Thread Roman Haefeli
On Wed, 2011-01-26 at 22:54 +0100, João Pais wrote:

  For converting, I like moocow/any2bytes and moocow/bytes2any.
 
 I think I had a look at it as well. do you have any comparative reason for  
 that one instead of the other? or it was just the first one to get to you?

One important thing to know is that [mrpeach/str] only works with
Pd-extended, but not with Pd-vanilla as it requires some modifications
to m_pd.h.

Btw @Martin: Do you think it's time again to to try to get the blob
support into Pd-vanilla? I think that [str] would be utterly useful also
in vanilla and it didn't seem to have caused any problem in Pd-extended,
did it?

Roman




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


Re: [PD] standard encoding of pd files in each system?

2011-01-28 Thread Bryan Jurish
moin all,

fwiw, I'll add my vote in favor of getting Martin's [str] / blob patch
into pd vanilla.  iirc, Miller has indicated in the past that he feels
this sort of thing should be done using arrays.  There are a couple of
proof-of-concept objects (not compiled by default) in pdstring
(moocow/pdstring for pd-extended users) that use arrays, but I wasn't
satisfied with this approach for two reasons:

1) If you treat the array internally as a string of bytes (e.g. char*),
then:
  (A) you must constantly cast and re-cast the data
  (B) you must scale all size attributes (e.g. for re-allocation) by
1.0/sizeof(t_float), so to get an accurate byte length that is not a
multiple of sizeof(t_float), you need to actually store that length
additionally somewhere else
  (C) saving array data with a patch and re-loading can cause data loss
(float truncation may mess up raw byte values)
  (D) it's not really portable (byte order problems with load/save)

2) If otoh you let the array remain a t_float* and just assign the
floats byte ((unsigned) char) or even wide character (wchar) values, then:
  (A) you potentially waste a lot of memory
(strlen(str)*(sizeof(float)-1) bytes)
  (B) I/O: if you read a string as a (char*) -- e.g. from a file,
socket, external library, etc. -- or if you need a pd-array-string as a
(char*) -- e.g. for an external API call -- then you have to explicitly
convert it, which means allocating some memory (maybe defining a static
local buffer to avoid malloc() calls), and iterating over the string
(rsp. over the array), which is O(N) time and space, and is annoying for
long strings and/or frequent calls
  (C) if you really want to store your string data in an array, you can
use [str] or [pdstring] together with e.g. [tabdump] and [tabset] from
zexy, which just makes the conversion overhead explicit.

I think there are workarounds for both techniques, but not without
patching the pd core code, and if we're going to patch the core code, we
might as well take a patch that does the job right (i.e. Martin's)...

just my €0.02 ...

marmosets,
Bryan

On 2011-01-28 09:59:39, Roman Haefeli reduz...@gmail.com appears to
have written:
 On Wed, 2011-01-26 at 22:54 +0100, João Pais wrote:
 
 For converting, I like moocow/any2bytes and moocow/bytes2any.
 I think I had a look at it as well. do you have any comparative reason for  
 that one instead of the other? or it was just the first one to get to you?
 
 One important thing to know is that [mrpeach/str] only works with
 Pd-extended, but not with Pd-vanilla as it requires some modifications
 to m_pd.h.
 
 Btw @Martin: Do you think it's time again to to try to get the blob
 support into Pd-vanilla? I think that [str] would be utterly useful also
 in vanilla and it didn't seem to have caused any problem in Pd-extended,
 did it?
 
 Roman
 
 
 
 
 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list

-- 
***

Bryan Jurish
Deutsches Textarchiv
Berlin-Brandenburgische Akademie der Wissenschaften

Jägerstr. 22/23
10117 Berlin

Tel.:  +49 (0)30 20370 539
E-Mail:jur...@bbaw.de

***

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


Re: [PD] [pool] build fails on linux

2011-01-28 Thread Yvan Volochine
On Fri, Jan 28, 2011 at 1:53 AM, Pedro Lopes pedro.lo...@ist.utl.pt wrote:

 I recall that some old makefiles found in some externals had a sintax like:
 make pd_linux
 instead of
 make
 Thus they had multiple make targets inside, and if you type make it would 
 enter the wrong one (like Win)


thanks to all for your hints. I finally made it =)

for the sake of the archives, here are my steps and errors:

I try by removing pd from pool_la_LDFLAGS in pool/source/Makefile
(which might be something very stupid !) but somehow [pool] built
fine.
then using [pool] in pd gave me a undefined symbol:
_ZN17flext_root_singlenwEj error, which lead me to this thread:
http://www.parasitaere-kapazitaeten.net/pipermail/flext/2010-September/000121.html
with the correct way of building a flext external:

(assuming pool and flext are in $HOME/dev)

$ cd $HOME/dev/pool
$ bash ../flext/build.sh pd gcc
# bash ../flext/build.sh pd gcc install

thanks !
_y

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


Re: [PD] [pool] build fails on linux

2011-01-28 Thread Yvan Volochine
On Fri, Jan 28, 2011 at 1:30 PM, Yvan Volochine yvan...@gmail.com wrote:
 the correct way of building a flext external:

 (assuming pool and flext are in $HOME/dev)

 $ cd $HOME/dev/pool
 $ bash ../flext/build.sh pd gcc
 # bash ../flext/build.sh pd gcc install

lesson learned: read the README until the end !
sorry for the noise...

_y

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


[PD] [ot] hosting service for a pure data project?

2011-01-28 Thread Athos Bacchiocchi
i'm planning to share a patch made with some friends and i need a free 
hosting service for this purpose. I usually use wordpress.com for my 
personal stuff, but it doesn't allow for many file types, including 
archives and .pd files. I would use the website to keep trace of our 
plans, further steps, documentation and so on, so something with a blog-
like approach would be better for us. And maybe something to handle the 
contributed development of the patch (we are now using just a dropbox 
shared folder). I was thinking about sourceforge, but isn't it too much 
for just a pure data patch?

Any suggestion?

thanks,
athos   
 

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


Re: [PD] [ot] hosting service for a pure data project?

2011-01-28 Thread ALAN BROOKER
I use google code for my patches/ random stuff :
http://code.google.com/p/databodega/downloads/list

main page is here:
http://code.google.com/projecthosting/

http://code.google.com/projecthosting/quite straight forward to upload and
manage from my experience

On Fri, Jan 28, 2011 at 3:24 PM, Athos Bacchiocchi athos.bacchioc...@tin.it
 wrote:

 i'm planning to share a patch made with some friends and i need a free
 hosting service for this purpose. I usually use wordpress.com for my
 personal stuff, but it doesn't allow for many file types, including
 archives and .pd files. I would use the website to keep trace of our
 plans, further steps, documentation and so on, so something with a blog-
 like approach would be better for us. And maybe something to handle the
 contributed development of the patch (we are now using just a dropbox
 shared folder). I was thinking about sourceforge, but isn't it too much
 for just a pure data patch?

 Any suggestion?

 thanks,
 athos

 ___
 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] [ot] hosting service for a pure data project?

2011-01-28 Thread Ivica Ico Bukvic
Why don't you try the linuxaudio.org? We serve 2TB a month hosting a number of 
distro mirrors and projects.

Ico

 -Original Message-
 From: pd-list-boun...@iem.at [mailto:pd-list-boun...@iem.at] On Behalf
 Of Athos Bacchiocchi
 Sent: Friday, January 28, 2011 10:25 AM
 To: pd-list@iem.at
 Subject: [PD] [ot] hosting service for a pure data project?
 
 i'm planning to share a patch made with some friends and i need a free
 hosting service for this purpose. I usually use wordpress.com for my
 personal stuff, but it doesn't allow for many file types, including
 archives and .pd files. I would use the website to keep trace of our
 plans, further steps, documentation and so on, so something with a blog-
 like approach would be better for us. And maybe something to handle
 the
 contributed development of the patch (we are now using just a dropbox
 shared folder). I was thinking about sourceforge, but isn't it too much
 for just a pure data patch?
 
 Any suggestion?
 
 thanks,
 athos
 
 ___
 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] [ot] hosting service for a pure data project?

2011-01-28 Thread Tedb0t
Github!  I have several Pd projects on github.

±±t3db0t

On Jan 28, 2011, at 10:24 AM, Athos Bacchiocchi wrote:

 i'm planning to share a patch made with some friends and i need a free 
 hosting service for this purpose. I usually use wordpress.com for my 
 personal stuff, but it doesn't allow for many file types, including 
 archives and .pd files. I would use the website to keep trace of our 
 plans, further steps, documentation and so on, so something with a blog-
 like approach would be better for us. And maybe something to handle the 
 contributed development of the patch (we are now using just a dropbox 
 shared folder). I was thinking about sourceforge, but isn't it too much 
 for just a pure data patch?
 
 Any suggestion?
 
 thanks,
 athos 
   
  
 
 ___
 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] Multi-dimensional arrays

2011-01-28 Thread Tedb0t
I know this is one of those perennial questions that must come up regularly, 
but I simply cannot figure it out.  What's a good way to store data in a 
3-dimensional array?

Thanks!

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


Re: [PD] Multi-dimensional arrays

2011-01-28 Thread Mathieu Bouchard

On Fri, 28 Jan 2011, Tedb0t wrote:

I know this is one of those perennial questions that must come up 
regularly, but I simply cannot figure it out.  What's a good way to 
store data in a 3-dimensional array?


[#store] supports 3-dimensional arrays, as well as 2-dimensional, 
1-dimensional, 0-dimensional, 4-dimensional, 5-dimensional... apparently 
it can support up to 14-dimensional, but I never tried.


It's not arrays in exactly the same sense as in the base of pd, though.

http://gridflow.ca/

 ___
| 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] pd quine?

2011-01-28 Thread Tedb0t
The thought just occurred to me... Has anyone ever made a Pd quine?  Sounds 
like an interesting challenge...

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


Re: [PD] pd quine?

2011-01-28 Thread Pedro Lopes
have you been reading GEB? :)

On Fri, Jan 28, 2011 at 7:12 PM, Tedb0t li...@liminastudio.com wrote:

 The thought just occurred to me... Has anyone ever made a Pd 
 quinehttp://en.wikipedia.org/wiki/Quine_(computing)?
  Sounds like an interesting challenge...

 ±±t3db0t

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




-- 
Pedro Lopes (MSc)
contact: pedro.lo...@ist.utl.pt
website: http://web.ist.utl.pt/Pedro.Lopes /
http://pedrolopesresearch.wordpress.com/
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pd quine?

2011-01-28 Thread Pedro Lopes
:)

A pd quine eh

So the objects would print out their name, position, linked components
into the print object, thus we would get the patch into the output. The
thing with pd is that the visual patch is different from the text patch.

C and scheme quines, are pretty much self-reproductive organisms :) As the
source is the output. So in terms of PD you would have to be outputting as a
result of what you expect or know that is in the text path, right?

best,
pedro

On Fri, Jan 28, 2011 at 7:25 PM, Tedb0t li...@liminastudio.com wrote:

 Haha, well, not in a while, but I was thinking about quines a couple times
 lately for some reason ^_^

 ±±tedb0t


 On Jan 28, 2011, at 2:24 PM, Pedro Lopes wrote:

 have you been reading GEB? :)

 On Fri, Jan 28, 2011 at 7:12 PM, Tedb0t li...@liminastudio.com wrote:

 The thought just occurred to me... Has anyone ever made a Pd 
 quinehttp://en.wikipedia.org/wiki/Quine_(computing)?
  Sounds like an interesting challenge...

 ±±t3db0t

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




 --
 Pedro Lopes (MSc)
 contact: pedro.lo...@ist.utl.pt
 website: http://web.ist.utl.pt/Pedro.Lopes /
 http://pedrolopesresearch.wordpress.com/





-- 
Pedro Lopes (MSc)
contact: pedro.lo...@ist.utl.pt
website: http://web.ist.utl.pt/Pedro.Lopes /
http://pedrolopesresearch.wordpress.com/
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] Multi-dimensional arrays

2011-01-28 Thread Tedb0t
(Forgot to reply to the list, sorry Mathieu :) )

Awesome!  I started this patch (basically a drum sequencer interface with 
recallable banks), but not sure why [#store] isn't working here:



tedrum-gridflow.pd
Description: Binary data


Perhaps the [#store]s need to be initialized with the right dimensions?  Not 
sure how to do that...

——t3db0t

On Jan 28, 2011, at 1:20 PM, Mathieu Bouchard wrote:

 On Fri, 28 Jan 2011, Tedb0t wrote:
 
 I know this is one of those perennial questions that must come up regularly, 
 but I simply cannot figure it out.  What's a good way to store data in a 
 3-dimensional array?
 
 [#store] supports 3-dimensional arrays, as well as 2-dimensional, 
 1-dimensional, 0-dimensional, 4-dimensional, 5-dimensional... apparently it 
 can support up to 14-dimensional, but I never tried.
 
 It's not arrays in exactly the same sense as in the base of pd, though.
 
 http://gridflow.ca/
 
 ___
 | 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


Re: [PD] Multi-dimensional arrays (fwd)

2011-01-28 Thread Mathieu Bouchard


-- Forwarded message --
Date: Fri, 28 Jan 2011 15:28:39 -0500 (EST)
From: Mathieu Bouchard ma...@artengine.ca
To: Tedb0t li...@liminastudio.com
Subject: Re: [PD] Multi-dimensional arrays

On Fri, 28 Jan 2011, Tedb0t wrote:

Awesome!  I started this patch (basically a drum sequencer interface with 
recallable banks), but not sure why [#store] isn't working here:


It's because [#many] contains a [#store] that needs to have a 2-dimensional 
grid in it, and [#many] doesn't check that you give it such a grid, and by 
default, [#store] contains a 0-dimensional grid whose contents is a single 0.


Perhaps the [#store]s need to be initialized with the right dimensions? Not 
sure how to do that...


A grid literal such as «6 8 #» will expand to a 6×8 grid of zeroes, if you pass 
it as a single argument where a grid is expected (using parentheses) or as a 
list-message to a grid-inlet.


for example, [#store (6 8 #)]
and to clear the contents, have a «6 8 #» messagebox.

(I use «» to quote a list or messagebox contents in email. It's not part of 
GridFlow.)


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


Re: [PD] pd quine?

2011-01-28 Thread Mathieu Bouchard

On Fri, 28 Jan 2011, Tedb0t wrote:

The thought just occurred to me... Has anyone ever made a Pd quine? 
 Sounds like an interesting challenge...


Using Pd's save feature or not ?

Pd has a natural advantage in that it contains such a feature, but if that 
feature is ruled out, then a self-replicating programme is probably a lot 
lengthier and complicated than in the average language... though this 
could an interesting challenge.


will Bryan and Claude compete with each other on this one ? :)

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


Re: [PD] pd quine?

2011-01-28 Thread Bryan Jurish
exit(1) for now, although feel free to ask me again next week... ;-)

On 2011-01-28 21:33:34, Mathieu Bouchard ma...@artengine.ca appears to
have written:
 On Fri, 28 Jan 2011, Tedb0t wrote:
 
 The thought just occurred to me... Has anyone ever made a Pd quine?
  Sounds like an interesting challenge...
 
 Using Pd's save feature or not ?
 
 Pd has a natural advantage in that it contains such a feature, but if
 that feature is ruled out, then a self-replicating programme is probably
 a lot lengthier and complicated than in the average language... though
 this could an interesting challenge.
 
 will Bryan and Claude compete with each other on this one ? :)
 
  ___
 | 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

-- 
Bryan Jurish   There is *always* one more bug.
jur...@uni-potsdam.de   -Lubarsky's Law of Cybernetic Entomology

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


Re: [PD] [pool] build fails on linux

2011-01-28 Thread Thomas Grill
Hi Yvan,
i'd recommend to try the flext build system instead of the
autoconf/make. See flext/build.txt for explanations.
I can't really comment on linux, my memory has already gone, but i
wonder whether there actually is a libpd.a that can be linked in (as
tried by the cited command)
gr~~~

2011/1/25 Yvan Volochine yvan...@gmail.com:
 hi,
 trying to build pool from latest svn (and latest pd git) I get this error:

 make[1]: Entering directory `/home/delf/dev/pool/source'
 /bin/bash ../libtool --tag=CXX   --mode=link g++ -O2
 -I/usr/local/include/flext -I/home/delf/dev/pure-data/src   -no-undefined
 -module -shrext .pd_linux -avoid-version -L/usr/local/lib -lpd
 -lflext-pd_s    -o pool.la -rpath /usr/local/lib pool_la-main.lo
 pool_la-pool.lo pool_la-data.lo
 libtool: link: g++ -shared -nostdlib
 /usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crti.o
 /usr/lib/gcc/i486-linux-gnu/4.4.3/crtbeginS.o  .libs/pool_la-main.o
 .libs/pool_la-pool.o .libs/pool_la-data.o   -L/usr/local/lib -lpd
 -lflext-pd_s -L/usr/lib/gcc/i486-linux-gnu/4.4.3
 -L/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib -L/lib/../lib
 -L/usr/lib/../lib -L/usr/lib/gcc/i486-linux-gnu/4.4.3/../../..
 -L/usr/lib/i486-linux-gnu -lstdc++ -lm -lc -lgcc_s
 /usr/lib/gcc/i486-linux-gnu/4.4.3/crtendS.o
 /usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crtn.o    -Wl,-soname
 -Wl,pool.pd_linux -o .libs/pool.pd_linux
 /usr/bin/ld: cannot find -lpd
 collect2: ld returned 1 exit status
 make[1]: *** [pool.la] Error 1
 make[1]: Leaving directory `/home/delf/dev/pool/source'
 make: *** [all-recursive] Error 1
 zsh: exit 2 make

 am I missing a path or something ?
 ./configure --with-sysdir=/PATH/TO/PD/SRC did find pd headers and all, now I
 have no idea about what is going wrong...

 any hint is much appreciated,

 cheers,
 _y

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





-- 
Thomas Grill
http://g.org

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


[PD] IP address in windows?

2011-01-28 Thread Pierre Massat
Hi all,

Is it possible to get my computer's IP from inside Pd? I know it's possible
in Linux using the shell object, but it doesn't exist in windows. I'm trying
to make a game requiring two players to play on two different computers, and
it'd be very annoying if each user had to find her IP before playing.

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


Re: [PD] Multi-dimensional arrays (fwd)

2011-01-28 Thread Tedb0t
Excellent, I've been making tons of progress!  Now I'm wondering if there's a 
way to retrieve a single column from a [#many] object...?  I have been trying a 
for++ loop to iterate through the rows of a specified column but it's not 
working very well and I can only do that via a [#store] object...

Thanks so much!!

±t3db0t


On Jan 28, 2011, at 3:34 PM, Mathieu Bouchard wrote:
 On Fri, 28 Jan 2011, Tedb0t wrote:
 
 Awesome!  I started this patch (basically a drum sequencer interface with 
 recallable banks), but not sure why [#store] isn't working here:
 
 It's because [#many] contains a [#store] that needs to have a 2-dimensional 
 grid in it, and [#many] doesn't check that you give it such a grid, and by 
 default, [#store] contains a 0-dimensional grid whose contents is a single 0.
 
 Perhaps the [#store]s need to be initialized with the right dimensions? Not 
 sure how to do that...
 
 A grid literal such as «6 8 #» will expand to a 6×8 grid of zeroes, if you 
 pass it as a single argument where a grid is expected (using parentheses) or 
 as a list-message to a grid-inlet.
 
 for example, [#store (6 8 #)]
 and to clear the contents, have a «6 8 #» messagebox.
 
 (I use «» to quote a list or messagebox contents in email. It's not part of 
 GridFlow.)
 
 ___
 | 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


Re: [PD] [pool] build fails on linux

2011-01-28 Thread Mathieu Bouchard

On Sat, 29 Jan 2011, Thomas Grill wrote:

i'd recommend to try the flext build system instead of the 
autoconf/make. See flext/build.txt for explanations. I can't really 
comment on linux, my memory has already gone, but i wonder whether there 
actually is a libpd.a that can be linked in (as tried by the cited 
command)


On an ordinary pd-vanilla or pd-extended on non-Windows, you just remove 
the -lpd option and you try again.


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


Re: [PD] Multi-dimensional arrays (fwd)

2011-01-28 Thread Mathieu Bouchard

On Fri, 28 Jan 2011, Tedb0t wrote:

Excellent, I've been making tons of progress!  Now I'm wondering if 
there's a way to retrieve a single column from a [#many] object...?


[#slice] can give you any subrectangle inside of that grid, including a 
column, but it will give it to you as a 2-dimensional grid ; that is, 
dim(1,n). If you need a dim(n) you can use [#redim] afterwards.


have been trying a for++ loop to iterate through the rows of a specified 
column but it's not working very well and I can only do that via a 
[#store] object...


Do you want to do something like this ?
  http://gridflow.ca/gallery/sequenceur.pd.png
  http://gridflow.ca/gallery/sequenceur.pd.mp3

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


Re: [PD] IP address in windows?

2011-01-28 Thread Pedro Lopes
lame-solution
Even if there's no shell/system object for windoes (I'm not using win so I
cannot really answer) you can easily create a batch script (a windows shell
script) that saves the output of ipconfig in a file. Then parse the file
with pd and extract the ip from there.

It can even by dynamic in the sense that your shell script can be a sort of
cron (linux scheduled jobs, I think are called sheduled services in win) and
can run a number of times. Thus your game could see the file for the lastest
IP.
/lame-solution


On Fri, Jan 28, 2011 at 11:57 PM, Pierre Massat pimas...@gmail.com wrote:

 Hi all,

 Is it possible to get my computer's IP from inside Pd? I know it's possible
 in Linux using the shell object, but it doesn't exist in windows. I'm trying
 to make a game requiring two players to play on two different computers, and
 it'd be very annoying if each user had to find her IP before playing.

 Pierre

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




-- 
Pedro Lopes (MSc)
contact: pedro.lo...@ist.utl.pt
website: http://web.ist.utl.pt/Pedro.Lopes /
http://pedrolopesresearch.wordpress.com/
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Fwd: Re: wiimote crashes with moderate cpu load and/or heavy USB transfer

2011-01-28 Thread Richie Cyngler
I'm not using a Pd object for this. I'm using third party software to read
the bluetooth signal from the wiimote. Then I use the mrpeach lib. in Pd.

I was running a usb soundcard and getting dropouts all the time. In fact the
bluetooth was failing and I had to hard reset to restore the bluetooth,
normal restarts wouldn't even fix it.

I couldn't figure it out for a long time. Then I found out that the
bluetooth in my macbook is powered by the USB bus, so the USB was
interfering with the Bluetooth.

I changed to a firewire soundcard and the dropouts went away. So it seems I
can't use USB devices and bluetooth at the same time.

Hope this is of some use to you.

cheers

Richie

On Fri, Jan 28, 2011 at 7:12 PM, Roman Haefeli reduz...@gmail.com wrote:

 On Thu, 2011-01-27 at 11:00 -0500, Ivica Ico Bukvic wrote:
  It should be included with the actual external.

 I'm afraid the archive from:
 http://l2ork.music.vt.edu/data/pd/disis_wiimote-0.6.5.tar.gz
 doesn't contain a help patch.

 Roman


  Roman Haefeli reduz...@gmail.com wrote:
 
  On Wed, 2011-01-26 at 20:21 -0500, Ivica Ico Bukvic wrote:
   Forgot to copy pd-list...
  
    Original Message 
   Subject: Re: [PD] wiimote crashes with moderate cpu load and/or heavy
 USB  transfer
   From: Ivica Ico Bukvic i...@vt.edu
   To: John Harrison johnharrison...@gmail.com
   CC:
  
   Try disis_wiimote from the L2ork software page which uses threaded
 implementation and is dsp-safe even when sending cues back to wiimote (which
 otherwise cause consistent xruns). We use it regularly even at heavy cpu
 loads and it is rock solid (Linux only).
  
   Cheers!
  
  Is there also help-file / help-patch available for [disis_wiimote]? Or
  is it supposed to work the same as the [wiimote] it is based on (can't
  test right now).
  
  Roman
  



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




-- 
shiny

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


Re: [PD] pd quine?

2011-01-28 Thread Jonathan Wilkes
Here's an attempt (without being totally sure I understand what a 
quine is...)

-Jonathan

--- On Fri, 1/28/11, Bryan Jurish jur...@uni-potsdam.de wrote:

 From: Bryan Jurish jur...@uni-potsdam.de
 Subject: Re: [PD] pd quine?
 To: Mathieu Bouchard ma...@artengine.ca
 Cc: pd-list List pd-list@iem.at
 Date: Friday, January 28, 2011, 10:50 PM
 exit(1) for now, although feel free
 to ask me again next week... ;-)
 
 On 2011-01-28 21:33:34, Mathieu Bouchard ma...@artengine.ca
 appears to
 have written:
  On Fri, 28 Jan 2011, Tedb0t wrote:
  
  The thought just occurred to me... Has anyone ever
 made a Pd quine?
   Sounds like an interesting challenge...
  
  Using Pd's save feature or not ?
  
  Pd has a natural advantage in that it contains such a
 feature, but if
  that feature is ruled out, then a self-replicating
 programme is probably
  a lot lengthier and complicated than in the average
 language... though
  this could an interesting challenge.
  
  will Bryan and Claude compete with each other on this
 one ? :)
  
  
 ___
  | 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
 
 -- 
 Bryan Jurish           
            There is
 *always* one more bug.
 jur...@uni-potsdam.de 
      -Lubarsky's Law of Cybernetic
 Entomology
 
 ___
 Pd-list@iem.at
 mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list



  

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


Re: [PD] pd quine?

2011-01-28 Thread Mathieu Bouchard

On Fri, 28 Jan 2011, Jonathan Wilkes wrote:

Here's an attempt (without being totally sure I understand what a 
quine is...)


That's it, precisely !

(almost all quines of other programming languages use standard-output 
instead, but that's a quite unimportant detail)


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


Re: [PD] pd quine?

2011-01-28 Thread Tedb0t
This is awesome!!  You should add it to the wikipedia page on Quines ^_^

On Jan 28, 2011, at 10:34 PM, Jonathan Wilkes wrote:

 Here's an attempt (without being totally sure I understand what a 
 quine is...)
 
 -Jonathan
 
 --- On Fri, 1/28/11, Bryan Jurish jur...@uni-potsdam.de wrote:
 
 From: Bryan Jurish jur...@uni-potsdam.de
 Subject: Re: [PD] pd quine?
 To: Mathieu Bouchard ma...@artengine.ca
 Cc: pd-list List pd-list@iem.at
 Date: Friday, January 28, 2011, 10:50 PM
 exit(1) for now, although feel free
 to ask me again next week... ;-)
 
 On 2011-01-28 21:33:34, Mathieu Bouchard ma...@artengine.ca
 appears to
 have written:
 On Fri, 28 Jan 2011, Tedb0t wrote:
 
 The thought just occurred to me... Has anyone ever
 made a Pd quine?
   Sounds like an interesting challenge...
 
 Using Pd's save feature or not ?
 
 Pd has a natural advantage in that it contains such a
 feature, but if
 that feature is ruled out, then a self-replicating
 programme is probably
 a lot lengthier and complicated than in the average
 language... though
 this could an interesting challenge.
 
 will Bryan and Claude compete with each other on this
 one ? :)
 
  
 ___
 | 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
 
 -- 
 Bryan Jurish   
There is
 *always* one more bug.
 jur...@uni-potsdam.de 
  -Lubarsky's Law of Cybernetic
 Entomology
 
 ___
 Pd-list@iem.at
 mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list
 
 
 
 self.pd___
 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 quine?

2011-01-28 Thread Jonathan Wilkes
There's also doc/manuals/0.intro/50.pure_data_files, but the clone is 
missing the subpatch.

-Jonathan

--- On Sat, 1/29/11, Mathieu Bouchard ma...@artengine.ca wrote:

 From: Mathieu Bouchard ma...@artengine.ca
 Subject: Re: [PD] pd quine?
 To: Jonathan Wilkes jancs...@yahoo.com
 Cc: Bryan Jurish jur...@uni-potsdam.de, pd-list List pd-list@iem.at
 Date: Saturday, January 29, 2011, 4:47 AM
 On Fri, 28 Jan 2011, Jonathan Wilkes
 wrote:
 
  Here's an attempt (without being totally sure I
 understand what a quine is...)
 
 That's it, precisely !
 
 (almost all quines of other programming languages use
 standard-output instead, but that's a quite unimportant
 detail)
 
 
 ___
 | 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


Re: [PD] IP address in windows?

2011-01-28 Thread patko
Hello Pierre,

 you can get ip adress with windows cmd


In pd-extended there is [flatspace/popen] object for that,

you need to create a file called 'getip.bat' containing those lines:

@echo off
for /F usebackq tokens=14 %%i in (`ipconfig ^| find /i IPv4`) do echo %%i

and then you can grab the ip adress from the computer you are in by sending 
[getip.bat message to  [popen] like this:

[getip.bat
|
[flatspace/popen
|
symbol box

both patch and batch files must be in the same directory, or put the batch file 
into pd/bin to run it from anywhere



- Pedro Lopes pedro.lo...@ist.utl.pt a écrit :

 lame-solution Even if there's no shell/system object for windoes
 (I'm not using win so I cannot really answer) you can easily create a
 batch script (a windows shell script) that saves the output of
 ipconfig in a file. Then parse the file with pd and extract the ip
 from there.
 
 
 It can even by dynamic in the sense that your shell script can be a
 sort of cron (linux scheduled jobs, I think are called sheduled
 services in win) and can run a number of times. Thus your game could
 see the file for the lastest IP.
 
 /lame-solution
 
 
 
 On Fri, Jan 28, 2011 at 11:57 PM, Pierre Massat  pimas...@gmail.com 
 wrote:
 
 
 Hi all,
 
 Is it possible to get my computer's IP from inside Pd? I know it's
 possible in Linux using the shell object, but it doesn't exist in
 windows. I'm trying to make a game requiring two players to play on
 two different computers, and it'd be very annoying if each user had to
 find her IP before playing.
 
 Pierre
 
 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list
 
 
 
 
 --
 Pedro Lopes (MSc)
 contact: pedro.lo...@ist.utl.pt
 website: http://web.ist.utl.pt/Pedro.Lopes /
 http://pedrolopesresearch.wordpress.com/
 
 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list

-- 
Patrice Colet 

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


Re: [PD] Fwd: Re: wiimote crashes with moderate cpu load and/or heavy USB transfer

2011-01-28 Thread John Harrison

it appears that this set of addons
http://l2ork.music.vt.edu/data/pd/l2ork_addons-20101230.tar.gz

includes the help patch (which looks familiar. :-))

-John

On 01/28/2011 02:12 AM, Roman Haefeli wrote:

On Thu, 2011-01-27 at 11:00 -0500, Ivica Ico Bukvic wrote:

It should be included with the actual external.

I'm afraid the archive from:
http://l2ork.music.vt.edu/data/pd/disis_wiimote-0.6.5.tar.gz
doesn't contain a help patch.

Roman



Roman Haefelireduz...@gmail.com  wrote:


On Wed, 2011-01-26 at 20:21 -0500, Ivica Ico Bukvic wrote:

Forgot to copy pd-list...

 Original Message 
Subject: Re: [PD] wiimote crashes with moderate cpu load and/or heavy USB   
transfer
From: Ivica Ico Bukvici...@vt.edu
To: John Harrisonjohnharrison...@gmail.com
CC:

Try disis_wiimote from the L2ork software page which uses threaded 
implementation and is dsp-safe even when sending cues back to wiimote (which 
otherwise cause consistent xruns). We use it regularly even at heavy cpu loads 
and it is rock solid (Linux only).

Cheers!

Is there also help-file / help-patch available for [disis_wiimote]? Or
is it supposed to work the same as the [wiimote] it is based on (can't
test right now).

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] Fwd: Re: wiimote crashes with moderate cpu load and/or heavy USB transfer

2011-01-28 Thread Ivica Ico Bukvic

 
 On Thu, 2011-01-27 at 11:00 -0500, Ivica Ico Bukvic wrote:
  It should be included with the actual external.
 
 I'm afraid the archive from:
 http://l2ork.music.vt.edu/data/pd/disis_wiimote-0.6.5.tar.gz
 doesn't contain a help patch.
 
 Roman

Silly me. Forgot to include it in there. Just reuploaded it (same link)
and now it should be ok. Please make sure to also have latest version of
libcwiid installed (snapshot mirror available on the l2ork site).

HTH

Ico



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


[PD] [video] kinect + wii + puredata

2011-01-28 Thread philippe boisnard
Hello

In the video : a 3D modelisation of body with kinect motion-tracking + wii for 
the movement of the world + pmpd_mass

http://databaz.org/images2/kinwii2.mov


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