Re: [PD] Dynamically created signal object bug

2009-02-23 Thread Enrique Erne
hi luke

yep i know this problem, i think it's called "updating the dsp-tree". 
one workaround, i used to do, is to create a +~ and delete it again. 
faster is to turn off the dsp while doing dynamic patching stuff and 
then turn it back on again, but then you should keep track of [r 
pd]->[route dsp]

btw i have written an abstractions to dynamically chain abstractions 
together (sound weird doesn't it?). i got it finally working and i'm 
just about to write some example and little documentation before posting 
a preview release on the list.

cheers eni


Luke Iannini wrote:
> Hi all,
> Here's another bug I've just managed to boil down and reproduce.  I'm
> kind of surprised at this one - I thought it was a pretty common thing
> to dynamically spawn signal objects.
> 
> The bug is: a dynamically spawned abstraction containing signal
> objects won't start processing/generating audio until you either
> delete an object in the parent patch or connect two signal objects
> together.
> 
> As usual this is tested on Pd-e 0.40.3 and Pd 0.42-4...
> 
> Can anyone confirm?
> Thanks!
> Luke
> 
> 
> 
> 
> ___
> 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] Dynamically created signal object bug

2009-02-23 Thread Frank Barknecht
Hallo,
Luke Iannini hat gesagt: // Luke Iannini wrote:

> Here's another bug I've just managed to boil down and reproduce.  I'm
> kind of surprised at this one - I thought it was a pretty common thing
> to dynamically spawn signal objects.
> 
> The bug is: a dynamically spawned abstraction containing signal
> objects won't start processing/generating audio until you either
> delete an object in the parent patch or connect two signal objects
> together.

It's kinda known for some time:
http://lists.puredata.info/pipermail/pd-list/2004-12/024337.html
but I'm not sure, if there's a bug report. 

Ciao
-- 
Frank

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


Re: [PD] I am a new user confused as to why I cant get GEM object to work.

2009-02-23 Thread Mathieu Bouchard

On Tue, 24 Feb 2009, Max wrote:


There is no need for X11 if you want to use GEM.
only PDP/PidiP and Gridflow depend on X11, but you said you want to run GEM.


With GridFlow, X11 is optional, SDL is optional, Quartz is optional. You 
can use whichever you want. If you want a window, you need at least one of 
the above (but you're not forced to have a window, unlike GEM).


 _ _ __ ___ _  _ _ ...
| Mathieu Bouchard - tél:+1.514.383.3801, Montréal, Québec___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] symbol anxiety

2009-02-23 Thread Mathieu Bouchard

On Mon, 23 Feb 2009, Roman Haefeli wrote:
for instance, when using OSC, probably every message is a new symbol. so 
i guess, it cannot be avoided, even if text processing is done outside 
of pd, unless a string type is introduced (is that correct?).


Every OSC target is a symbol, just like every receive-symbol is a symbol; 
but furthermore, even hierarchical names like /foo/bar are recorded as a 
single name that doesn't use "foo" and "bar", instead of using a list. 
Similarly, abstraction instances are _the_ way to flood the table, as all 
the local receive-symbols and other local symbols get multiplied by the 
number of instances.


I proposed several solutions to this. Having deallocatable symbols only is 
useful if you deallocate abstractions and reallocate them... usually has 
to do with dynamic patching. The other solution would be to make the 
symbol-table only a table of symbols, and have a separate receiver-table, 
which would get accessed by ($0,symbol) pairs so that the $0 doesn't get 
pasted inside of the symbol so that no more symbols need be generated. 
That would be quite a major overhaul, but it's pretty much the only real 
solution.


I don't think that there's anything else in OSC that could be wasting 
symbols. However, if you have a system where you use 100 OSC-paths to 
represent an array of 100 numbers, you may be looking for trouble.


 _ _ __ ___ _  _ _ ...
| Mathieu Bouchard - tél:+1.514.383.3801, Montréal, Québec___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] symbol anxiety

2009-02-23 Thread Mathieu Bouchard

On Mon, 23 Feb 2009, Phil Stone wrote:

Oh!  Very good.  I didn't realize that an identical symbol would get 
re-used.  For completeness' sake, I will make a new [ps-stopwatch] that 
does not leak (and is plain vanilla, to boot).


Yes, it's re-used, which sort of goes with the fact that it doesn't 
get de-allocated, but that is also because it's less trouble (for pd 
itself) to have eternal symbols than mortal symbols.


But the re-use also goes with the fact that it's easier and faster to 
compare two symbol addresses (t_symbol *) than two string contents, and 
if pd _ensures_ re-use, then two identical addresses _mean_ two identical 
strings.


But all this pd symbol concept comes essentially as-is from 1961 LISP. It 
was then adopted by LOGO and Smalltalk in addition to all of the LISP 
variants, and then by Ruby, and then the Ruby guys figured out that in the 
end, a symbol type could be pretty useless if you had a good enough string 
type, so they almost merged them. Most other languages just have had a 
string type and improved on that instead of having symbol-vs-string or 
just symbols. All this to say I'm in favour of replacing symbols with 
strings (while still calling them "symbols" just because).


 _ _ __ ___ _  _ _ ...
| Mathieu Bouchard - tél:+1.514.383.3801, Montréal, Québec___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] I am a new user confused as to why I cant get GEM object to work.

2009-02-23 Thread Max

There is no need for X11 if you want to use GEM.
only PDP/PidiP and Gridflow depend on X11, but you said you want to  
run GEM.


the errors you posted suggest that you probably use a build for intel  
in a PPC machine or the other way round.

make sure you have downloaded the right version for your architecture:
http://puredata.info/downloads

m.


Am 23.02.2009 um 19:09 schrieb Geoff:


Hi
I am using PD-extended 0.40.3 on a Macbook  osx 10.4

but I cannot seem to get the GEM bits to work.

I am going through the PMPD example patches but none of the GEM
objects work.

I have looked into the contents of PD extended and I can see lots of
help files related to GEM in there.

But if I try to create a GEM object I just get the dotted red box.

So I went to the Pure community website and downloaded GEM for mac
OSX but there are not instructions for installing on MAC OSX their
were instructions for pc and linux but no osx.

I am stuck I have googled this, but can't find an answer.


How do I get the GEM objects to work in PD on mac OSX 10.4?

Any help appreciated as I am getting no-where :)

cheers
geoff


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




PGP.sig
Description: Signierter Teil der Nachricht
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pd on Ubuntu 64bit?

2009-02-23 Thread danomatika
On Tue, 2009-02-24 at 00:03 -0600, John Harrison wrote:

> 
> danomatika wrote:
> >
> > I made a 64bit build of pd-extended using the pd core (0.41 I believe) 
> > from the pd-extended svn and it has this table bug.  It seems to only 
> > access half of the table, at least in the C08 and C09 audio example 
> > patches.  They work fine in my build using pd-vanilla 0.42.4.
> Wow I am surprised to hear that. I remember seeing this table bug in 
> 0.40 but thought it disappeared on my 64 bit ubuntu Hardy build of 0.41.

>From reading some of the commit lines, it seems not all changes in 0.41 have 
>been merged into pd-extended yet.


---
Dan Wilcox
danomatika.com
robotcowboy.com
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pd on Ubuntu 64bit?

2009-02-23 Thread John Harrison


danomatika wrote:
>
> I made a 64bit build of pd-extended using the pd core (0.41 I believe) 
> from the pd-extended svn and it has this table bug.  It seems to only 
> access half of the table, at least in the C08 and C09 audio example 
> patches.  They work fine in my build using pd-vanilla 0.42.4.
Wow I am surprised to hear that. I remember seeing this table bug in 
0.40 but thought it disappeared on my 64 bit ubuntu Hardy build of 0.41.


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


Re: [PD] symbol anxiety

2009-02-23 Thread Mathieu Bouchard

On Mon, 23 Feb 2009, Frank Barknecht wrote:

Phil Stone hat gesagt: // Phil Stone wrote:

bash's top command indicates that (on OS X 10.4), a megabyte is used up
for approximately every 32,000 symbols.

So you can generate 128 million different symbols with a 4 GB RAM
machine. :)


Not quite. Past 2 GB RAM you will get into segmentation problems... I 
don't know where exactly, as I'm still running with 0.25 GB. I think I was 
told it was somewhere between 3 GB and 3.5 GB... at least part of the 
address-space is reserved as kernel-space, part of it is reserved for the 
main executable and the dynamic libraries... fortunately, you don't have 
memory really specific to the stack, as stack+heap are one pool where heap 
grows from the start and stack grows from the end.


So you probably can't go much farther than 96 million different symbols 
unless you run it in 64-bit mode. :)


 _ _ __ ___ _  _ _ ...
| Mathieu Bouchard - tél:+1.514.383.3801, Montréal, Québec___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pd on Ubuntu 64bit?

2009-02-23 Thread danomatika
On Sun, 2009-02-22 at 17:24 +0100, IOhannes m zmoelnig wrote:

> IOhannes m zmoelnig wrote:
> > august wrote:
> >>> danomatika wrote:
>  Has anyone been using pd on a 64 bit GNU/Linux OS?
> >>>
> >>> i've been running Pd (vanilla, + zexy,Gem and all myother stuff and 
> >>> some stuff by others) on 64bit debian for some years now, and i 
> >>> havent had any major troubles (related to Pd)
> >>>
> >>
> >> does this mean that the previous problem with tables in PD on 64bit has
> >> been resolved?
> >>
> > 
> > yes, since 0.40, iirc
> 
> or 0.41 as roman has suggested.
> at least, i has been fixed for ages (of Pd-vanilla)


I made a 64bit build of pd-extended using the pd core (0.41 I believe)
from the pd-extended svn and it has this table bug.  It seems to only
access half of the table, at least in the C08 and C09 audio example
patches.  They work fine in my build using pd-vanilla 0.42.4.

This is too bad as I was hoping for some of the gui improvements in the
pd-extended core.

---
Dan Wilcox
danomatika.com
robotcowboy.com
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] streaming audio and video in Linux

2009-02-23 Thread John Harrison
Somebody was just asking me about options for streaming audio and video 
in Pd-extended. I wouldn't mind help with the answer. Here's what I have 
gathered so far.


Audio:

   * streamin~ and streamout~ --- but the help patches don't seem to
 work in Linux. Seems to work ok in windows.
   * netsend~ and netreceive~ --- not provided in pd-extended and
 seemed a bit flaky when I tried them before.
   * mp3streamin~ and mp3streamout~ --- help patch missing in
 pd-extended but seem to work ok outside of Windows.
   * mp3cast~ and friends: seems to work ok if you have a shoutcast
 server...

Video:

   * I couldn't find anything in Gem to stream video. Did I miss it? I
 was wondering if using pix_pix2sig~, streaming as audio, then
 pix_sig2pix~ might work.
   * in pdp/pidip there's pdp_i and pdp_o. I didn't find help patches
 for these in pd_extended
   * also in pdp/pidip there's some other's pdp_mp4live~ etc. I suspect
 the ffserver-based ones don't work in pd-extended. Not sure on the
 others.

For either audio or video maybe there's a way to send to vlc through the 
stdin or stdout, then let vlc do the streaming?


-John

--
John Harrison
http://alumni.media.mit.edu/~harrison


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


[PD] Pd-extended on Ubuntu Intrepid 64bit success

2009-02-23 Thread danomatika
Howdy all,

I got PD-extended to build a 64bit deb for Ubuntu 8.10 Intrepid
following the guide on puredata.org:
http://puredata.info/docs/developer/64BitLinux

I added a few notes to the guide and I will see what happens when I
setup my full environment.

For pdp:
I had to add a 3rd argument to the open function on line 141
in /externals/pdp/modules/generic/pdp_rawout.c,
apparently creating new files now requires a permission for said file. I
used 0666.

---
Dan Wilcox
danomatika.com
robotcowboy.com
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] private varibles

2009-02-23 Thread marius schebella
Derek Holzer wrote:
> use creation arguments in the subpatch.
> 
> [pd mysubpatch some_creation_argument]
> 
> [s $1-foo]
> 
> [r $1-foo]
> 
> d.

the above might be confusing, because you cannot send creation argumets 
to subpatches, only to externals. you also cannot separate the namespace 
of the parent patch and the subpatch. but you can create abstractions 
and they will have their own kind of namespace.
if you use $0 inside an abstraction (or parent patch) it will be 
substituted by a unique number.

[s $0-foo]

[r $0-foo]

it is easy to create an abstraction. just save a patch with a name 
"abstracton123.pd" and then you can create a new object (or even 
several) inside your patch [abstraction123] with your abstraction.

the [s $0-foo] - [r $0-foo] will then only send inside the abstractions, 
and not from one instance of the abstraction to another, because every 
abstraction was given another $0 substitute, which makes the 
sender/receiver unique.

marius.


> 
> or something like that.
> mbutubuntu wrote:
>> Sorry for the wrong object
>>
>> mbutubuntu wrote:
>>> Hello Pd Folks!!!
>>>
>>> I need a little help
>>>
>>> in general the object [s foo] sends values or messages to a global 
>>> variable named "foo"... is there in Pd a way to make the variable 
>>> "foo" private ??? (working only in a subpatch)...
> 
> 


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


[PD] A non-leaky stopwatch

2009-02-23 Thread Phil Stone

Hello,

Attached is a stopwatch, derived from [maketime], that doesn't pollute 
the symbol table (i.e., indefinitely leak memory), thanks to Frank B.'s 
idea for keeping the symbols re-usable.


It has one-second grain, so it does not keep track of partial seconds 
between stops and restarts-with-no-reset.  However, it is quite accurate 
after resets and when first started.  I learned that metro sends an 
immediate bang when started -- something I had never paid attention to 
before.  So [ps-stopwatch] always skips the first bang out of [metro] 
(after reset) so that it isn't one second ahead.  It counts up to 99 
hours, 59 minutes, and 59 seconds, then wraps back to zero.


It would be easy to make this a finer-grain stopwatch, down to the 
inherent resolution of [metro].  However, for my purposes (timing of 
live performance) one-second grain is quite adequate, and not too 
CPU-hungry.


Thanks again to Frank for this elegant solution.


Phil Stone
www.pkstonemusic.com

#N canvas 788 73 452 547 10;
#X obj 1 1 cnv 15 32 30 empty \$0-hours empty 5 15 0 24 -1 -241291
0;
#X obj 34 1 cnv 15 46 30 empty \$0-minutes :01 3 15 0 24 -1 -241291
0;
#X obj 80 1 cnv 15 77 30 empty \$0-seconds :58 0 15 0 24 -1 -241291
0;
#X obj 163 1 loadbang;
#X obj 144 10 bng 12 250 50 0 \$0-reset empty empty 17 7 0 10 -262144
-1 -1;
#X obj 17 126 f 0;
#X msg 208 488 label \$1;
#X obj 208 515 s \$0-hours;
#X msg 279 488 label \$1;
#X obj 279 515 s \$0-minutes;
#X msg 360 488 label \$1;
#X obj 360 515 s \$0-seconds;
#X obj 307 149 symbol :--;
#X obj 297 173 symbol --;
#X obj 16 255 f 0;
#X obj 46 255 + 1;
#X obj 16 281 mod 60;
#X obj 16 333 f 0;
#X obj 46 333 + 1;
#X obj 16 354 mod 60;
#X obj 16 307 select 0;
#X obj 80 306 makefilename :%02d;
#X obj 82 383 makefilename :%02d;
#X obj 16 413 f 0;
#X obj 46 413 + 1;
#X obj 16 383 select 0;
#X obj 16 434 mod 99;
#X obj 82 458 makefilename %2d;
#X text 265 10 goes up to 99 hours \, then;
#X text 266 24 wraps back to zero.;
#X msg 53 126 0;
#X obj 176 23 r \$0-reset;
#X msg 130 199 0;
#X obj 16 228 spigot 0;
#X msg 84 181 0;
#X obj 17 181 t b a;
#X msg 17 204 1;
#X obj 215 252 symbol 0;
#X obj 225 273 symbol :00;
#X obj 215 200 spigot 0;
#X obj 163 48 t b b b b b b;
#X msg 250 172 0;
#X msg 220 172 1;
#X obj 215 224 t b b;
#X obj 173 173 sel 1;
#X text 265 57 doesn't remember partial;
#X text 265 71 seconds between restarts;
#X obj 17 154 metro 1000;
#X obj 125 8 tgl 17 0 \$0-onoff \$0-r-onoff empty 17 7 0 10 -24198
-1 -262144 1 1;
#X obj 355 292 s \$0-r-onoff;
#X msg 355 267 color \$1 0;
#X msg 354 243 13;
#X msg 384 243 16;
#X obj 16 34 r \$0-onoff;
#X obj 83 125 sel 0;
#X obj 16 57 t f f f;
#X obj 16 82 s \$0-color;
#X obj 354 196 r \$0-color;
#X obj 354 219 sel 0 1;
#X text 41 202 skip 1st bang;
#X connect 3 0 40 0;
#X connect 5 0 44 0;
#X connect 5 0 47 0;
#X connect 6 0 7 0;
#X connect 8 0 9 0;
#X connect 10 0 11 0;
#X connect 12 0 10 0;
#X connect 12 0 8 0;
#X connect 13 0 6 0;
#X connect 14 0 16 0;
#X connect 15 0 14 1;
#X connect 16 0 15 0;
#X connect 16 0 20 0;
#X connect 16 0 21 0;
#X connect 17 0 19 0;
#X connect 18 0 17 1;
#X connect 19 0 18 0;
#X connect 19 0 22 0;
#X connect 19 0 25 0;
#X connect 20 0 17 0;
#X connect 21 0 10 0;
#X connect 22 0 8 0;
#X connect 23 0 26 0;
#X connect 24 0 23 1;
#X connect 25 0 23 0;
#X connect 26 0 24 0;
#X connect 26 0 27 0;
#X connect 27 0 6 0;
#X connect 30 0 47 0;
#X connect 31 0 40 0;
#X connect 32 0 15 0;
#X connect 32 0 18 0;
#X connect 32 0 24 0;
#X connect 33 0 14 0;
#X connect 34 0 33 1;
#X connect 35 0 36 0;
#X connect 35 1 33 0;
#X connect 36 0 33 1;
#X connect 37 0 6 0;
#X connect 37 0 8 0;
#X connect 38 0 10 0;
#X connect 39 0 43 0;
#X connect 40 0 5 0;
#X connect 40 1 32 0;
#X connect 40 2 13 0;
#X connect 40 2 12 0;
#X connect 40 3 34 0;
#X connect 40 4 42 0;
#X connect 40 5 30 0;
#X connect 41 0 39 1;
#X connect 42 0 39 1;
#X connect 43 0 41 0;
#X connect 43 1 37 0;
#X connect 43 1 38 0;
#X connect 44 0 39 0;
#X connect 47 0 35 0;
#X connect 50 0 49 0;
#X connect 51 0 50 0;
#X connect 52 0 50 0;
#X connect 53 0 55 0;
#X connect 54 0 34 0;
#X connect 55 0 56 0;
#X connect 55 1 54 0;
#X connect 55 2 5 0;
#X connect 57 0 58 0;
#X connect 58 0 51 0;
#X connect 58 1 52 0;
#X coords 0 -1 1 30 158 32 1 0 0;
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pd and tcp: what to do against crashes?

2009-02-23 Thread Roman Haefeli
On Mon, 2009-02-23 at 19:05 -0500, Martin Peach wrote:
> Roman Haefeli wrote:
> > On Mon, 2009-02-23 at 21:03 +, Martin Peach wrote:
> >> OK I fixed it now in svn. It works on debian. The select() call was not 
> >> being done properly. Now I need to test it on Windows again.
> > 
> > hey, many thanks! it works. now i wonder, what happens, if the message
> > is triggered: 'tcpserver_send_buf: client 1 not writeable'. does that
> > indicated, that the buffer is cleared? does it mean, that when this
> > message appears, that at least one message didn't come through?
> > 
> 
> Right now it means that the message is dropped. I can't see a way of 
> holding on to it that wouldn't end up crashing Pd eventually if you keep 
> sending to an unconnected client.

do i understand correctly, that if the buffer is full, there is a time
limit for it to become emptied and if it is not emptied in that given
time interval, the content is cleared? if this is true, i think, the one
second interval is way to short. for instance, if a state dump happens
in netpd (probably several hundred messages), it could well be, that the
connection is not fast enough send enough messages in the given time, so
they would be dropped. i guess, for my on practice, i change the code to
use a much longer time interval.

what is not solved yet: similar to the previous version, a drop-out
occurs, whenever a buffer overrun happens. unlike before, it is not
possible, that pd hangs forever anymore (it will only hang at most for
the given time limit), but there is still no mechanism provided to
generally avoid drop-outs. 

> > somehow i need to design netpd in way, that as soon as one single
> > message is lost, the connection should be shut down and established
> > again, and the client should then again sync with other clients.
> > otherwise very bad things could happen (patches are not transmitted
> > completely and loading incomplete patches causes pd crashing). 
> > 
> 
> Well the easiest thing would be to have [tcpserver] close the connection 
> itself when that happens.

it's just too easy to trigger that. i think, it would lead to too many
unwanted disconnects. 

>  The next best would be to have it output a 
> message on a 'status' outlet that you could use to close the connection.

personally, i find this the much better idea.

> > before the change i could be sure, that either all messages came through
> > or the server crashed at some point, if messages could not be delivered.
> > now, since the server doesn't crash anymore, i need to know, if messages
> > were dropped. how can i know?

> At the moment it prints to the Pd window, which isn't much use for 
> control purposes. As I said, for me the easiest and most logical thing 
> is to have the connection closed automatically, but then you have to 
> keep track of the connection count to know whether it happened.
> What do you think?

without knowing how hard it would be to implement, the best solution IMO
(and the only one, that addresses all of above issues) would be, if the
whole buffering would happen in the pd patch itself, so that the patch
could adapt itself to the current network conditions. translated into
features, this would mean, that [tcpserver] needs to provide information
about its inner buffer state. the most simple and probably most
effective thing i can think of, would be an additional outlet, that
sends a bang every time, when the inner buffer is completely emptied. i
don't know, if it has several buffers, one for each client; if so, then
probably a number (socket number) would be more appropriate than a bang.
this way, a patch can send only as many messages, as the bandwidth
allows. also it would give the possibility to the patch to decide, what
time interval of not being able to send messages is appropriate to shut
down the connection. the time interval could be dynamically set without
the need to change the code of [tcpserver]. 

i see, that implementing those features would make the use of and the
programming around [tcpserver] much more complex, although it would make
it much more powerful. personally, i am all for giving the most control
to the patch programmer, since i believe, that only then pd can be used
for robust programming. it's probably a matter, if someone sees pd as a
fully featured programming language or rather as a tool for fast
prototyping or a 'quick hacking-together' à la 'reaktor'. both
expectations are valid, but speaking for myself, i never found, that
things were _too_ low-level in pd. 
[tcpserver] is actually a good example for explaining what i mean: it
was originally designed to tranport streams of data between the server
and clients. in order to transport packet oriented protocols,
[tcpserver] would have needed to be adapted accordingly, while each
protocol would have required its own code. the fact, that i can do all
that in pd, let's me implement those protocols, that i personally need
(without touching the code of [tcpserver]). this 

Re: [PD] phase-canceling

2009-02-23 Thread Charles Henry
Hi, yohannes

No, it's not absurd.  Tell us a little bit more about your
application.  I am out of the project game for now, but have some long
term goals for solving this sort of problem.

For example, you send a sound out your speakers.  You want to recieve
a new sound from the room on microphone that is not the sound coming
from the speakers.

This becomes a system identification problem.  You need to find the
delay between the speakers and microphone and the transfer function (a
filter) between speakers and mic.  Then, you digitally apply the
filter and delay to your signals as they would be played and subtract
that copy from the signal received by the mic.

Chuck



On Mon, Feb 23, 2009 at 4:02 PM, yohannes  wrote:
> hello everybody,
>
> maybe sounds absurd:
>
> is it possible to cancel an whole signal of an mic input through
> phase-canceling?
>
> if yes, how can i do dat in pd?
>
>
>
> thanks a lot, yohannes
>
> ___
> 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] phase-canceling

2009-02-23 Thread Charles Henry
Simply put, all variables are global.  In objects (not messages), use
$0 as part of the variable name to give it an unique identifier.
Within your patch, anywhere you use $0, it is the same number.

$0 generated when the patch is created and is different for every
instance of a patch.  There's lots of good stuff in the archives on
this subject and I think "locality" tutorials.

Chuck

On Mon, Feb 23, 2009 at 5:40 PM, mbutubuntu  wrote:
> Hello Pd Folks!!!
>
> I need a little help
>
> in general the object [s foo] sends values or messages to a global
> variable named "foo"... is there in Pd a way to make the variable "foo"
> private ??? (working only in a subpatch)...
>
>
>
>
>
> ___
> 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 and tcp: what to do against crashes?

2009-02-23 Thread Martin Peach
Roman Haefeli wrote:
> On Mon, 2009-02-23 at 21:03 +, Martin Peach wrote:
>> OK I fixed it now in svn. It works on debian. The select() call was not 
>> being done properly. Now I need to test it on Windows again.
> 
> hey, many thanks! it works. now i wonder, what happens, if the message
> is triggered: 'tcpserver_send_buf: client 1 not writeable'. does that
> indicated, that the buffer is cleared? does it mean, that when this
> message appears, that at least one message didn't come through?
> 

Right now it means that the message is dropped. I can't see a way of 
holding on to it that wouldn't end up crashing Pd eventually if you keep 
sending to an unconnected client.

> somehow i need to design netpd in way, that as soon as one single
> message is lost, the connection should be shut down and established
> again, and the client should then again sync with other clients.
> otherwise very bad things could happen (patches are not transmitted
> completely and loading incomplete patches causes pd crashing). 
> 

Well the easiest thing would be to have [tcpserver] close the connection 
itself when that happens. The next best would be to have it output a 
message on a 'status' outlet that you could use to close the connection.

> before the change i could be sure, that either all messages came through
> or the server crashed at some point, if messages could not be delivered.
> now, since the server doesn't crash anymore, i need to know, if messages
> were dropped. how can i know?
> 

At the moment it prints to the Pd window, which isn't much use for 
control purposes. As I said, for me the easiest and most logical thing 
is to have the connection closed automatically, but then you have to 
keep track of the connection count to know whether it happened.
What do you think?

Martin

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


Re: [PD] finding funding to the PdCon09

2009-02-23 Thread Hans-Christoph Steiner
Here's the re-usable chunks of the grant I just submitted to the  
Jerome Foundation, please use it however you see fit:

Statement of Trip Purpose

I will go to Brazil to attend a conference and meet with local artists  
to further explore the relationship between art and software tools as  
seen from the perspective of Brazilian artists, as well as to share my  
ideas and experience with them.

2. Detail of Trip Purpose

Software has given us extraordinary powers in the creative realm, more  
and more artists are working with software as their primary tools for  
their art.  Much software is proprietary and unchangeable, Adobe  
Photoshop is a good tool, but its owner cannot modify it.  This is a  
dangerous trend, separating the artist from her tools.  No one can  
prevent you from modifying your paints, brushes, chisels or other  
traditional tools, we should expect the same from software tools.   
Free, open source software provides such a tool, with an additional  
advantage that the modifications can be directly shared.  The beauty  
of software is that these changes can be easily shared and reshaped to  
fit other people's needs. Previously, artists could discuss how they  
tailored their chisels and brushes, now they can freely share the tool  
itself:  the software they use and modify.

I am an active computer musician and media arts practitioner as well  
as an active developer of computer music and media arts software.  In  
particular, I spend most of my time working on Pure Data (aka Pd) in  
the realm of sound art and design, as well as some composition.  I  
have been involved in Pd development since 2000 and am currently the  
most active developer.  In my composition Solitude, I not only used Pd  
as the tool to compose with, I also built my compositional environment  
and even the score using Pd, and in the process contributed some  
improvements to the core itself.

Pd is a tool that inspires many people to modify it and customize it,  
much like a sculptor's chisel or a painter's brush is modified to suit  
their needs.  Artists using Pd are free to use, read, and modify the  
source code that creates the program itself for whatever they choose  
to do. This process has always been a central force in the direction  
that Pd has gone.  It has born out of a composition, and has always  
been a tool that its users take ownership over, and shape the tool to  
their artistic desires.

The main Pd community is mostly involved in academic computer music  
and experimental electronic music.  While this community is often in  
contact via the english-language mailing lists and forums, there are  
more and more communities of artists built around Pd who do not  
participate in the english forums, for whatever reasons.  They also  
have come from completely different artistic backgrounds.  Brazil, for  
example, has some very active communities who communicate mostly in  
portuguese, and most often in face-to-face meetings.  By travelling to  
Brazil, I can attend the main Pd conference, but also I will be able  
to participate in these local meetings, and see how this distinct  
community is creating music and art with Pd, and how they are shaping  
the tool to their needs and desires.



On Feb 23, 2009, at 6:14 AM, Loic Kessous wrote:

> I just joined the Pd (I switched from max) a few month ago, and I
> would be very happy to join too, an I'm also french, so if someone has
> news about this oprion, please tell me.
> loic
>
> On Feb 21, 2009, at 1:51 AM, David Doukhan wrote:
>
>> 2009/2/21 Alexandre Porres :
>>> Aparently it does if you lived, worked, studied, for a while  
>>> there...
>>
>> you mean in Switzerland? I never went there...
>>
>>> I am just wondering how ere they partners with the previous
>>> convention.
>>> I just realized that this year is the "YEAR OF FRANCE IN BRASIL"
>>
>> I was not aware of that event...
>>
>>> So I really strongly believe we can bring people from France this
>>> year if we
>>> look our way into it...
>>> what you say?
>>
>> I say it could be marvelous!!!
>> Let me know about if you think you can do something... I'll try to  
>> ask
>> around me also...
>>
>>> cheers
>>>
>>
>> cheers!
>>
>>> On Fri, Feb 20, 2009 at 9:38 PM, David Doukhan >>>
>>> wrote:

 Does the Swiss Pro Helvetia fund works for european who are not
 living in
 Swiss?
 Does anyone have an idea on the way to get funds if I'm French?

 2009/2/20 Alexandre Porres :
> yep. I did ask some Austrians I know :)
> another thing is the Swiss Pro Helvetia fund. It seems that any
> who did
> study some time there can apply. And I see they were partners
> with the
> previous convention.
> I will get in touch with them too, but anybody knows how did that
> work
> in
> the past?
> cheers
> alex
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
>>>

Re: [PD] private varibles

2009-02-23 Thread Derek Holzer
use creation arguments in the subpatch.

[pd mysubpatch some_creation_argument]

[s $1-foo]

[r $1-foo]

d.

or something like that.
mbutubuntu wrote:
> Sorry for the wrong object
> 
> mbutubuntu wrote:
>> Hello Pd Folks!!!
>>
>> I need a little help
>>
>> in general the object [s foo] sends values or messages to a global 
>> variable named "foo"... is there in Pd a way to make the variable 
>> "foo" private ??? (working only in a subpatch)...


-- 
derek holzer ::: http://www.umatic.nl ::: http://blog.myspace.com/macumbista
---Oblique Strategy # 39:
"Cut a vital connection"

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


[PD] private varibles

2009-02-23 Thread mbutubuntu
Sorry for the wrong object

mbutubuntu wrote:
> Hello Pd Folks!!!
>
> I need a little help
>
> in general the object [s foo] sends values or messages to a global 
> variable named "foo"... is there in Pd a way to make the variable 
> "foo" private ??? (working only in a subpatch)...
>
>
>
>



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


Re: [PD] phase-canceling

2009-02-23 Thread mbutubuntu
Hello Pd Folks!!!

I need a little help

in general the object [s foo] sends values or messages to a global 
variable named "foo"... is there in Pd a way to make the variable "foo" 
private ??? (working only in a subpatch)...





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


Re: [PD] phase-canceling

2009-02-23 Thread Derek Holzer
multiply the mic signal by -1 using [*~ -1], then add it back to the 
original signal using [+~]

d.

yohannes wrote:

> is it possible to cancel an whole signal of an mic input through 
> phase-canceling?

-- 
derek holzer ::: http://www.umatic.nl ::: http://blog.myspace.com/macumbista
---Oblique Strategy # 7:
"Accept advice"

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


Re: [PD] symbol anxiety

2009-02-23 Thread Roman Haefeli
On Mon, 2009-02-23 at 22:42 +0100, Frank Barknecht wrote:

> 
> Personally I'd do heavy text processing in something like pdlua. Pd 
> feels awkward when processing text.

but even if you do not heavy text processing, there are ways to pollute
the symbol table heavily. it is sufficient to only display the results
of the text processing in pd (in a canvas or GEM [text3d]) to pollute
it. for instance, when using OSC, probably every message is a new
symbol. so i guess, it cannot be avoided, even if text processing is
done outside of pd, unless a string type is introduced (is that
correct?).

roman



___ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de


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


Re: [PD] symbol anxiety

2009-02-23 Thread Roman Haefeli
On Mon, 2009-02-23 at 13:55 -0800, Phil Stone wrote:
> Frank Barknecht wrote:
> > Hallo,
> > Phil Stone hat gesagt: // Phil Stone wrote:
> >
> >   
> >> Frank Barknecht wrote:
> >> 
> >>> A fix for this maketime would be to reuse the symbols ":00" ... ":59"
> >>> for minutes and hours by using two [cnv] objects for these. Then you
> >>> would be able to let the clock run for decades before you get into
> >>> trouble with the symbol table.
> >>>   
> >> I've pondered this, and can't figure out what you mean, unless you're  
> >> suggesting having 60 canvases, one for each possible number?
> >> 
> >
> > No, only two canvases, one for minutes, one for seconds. See
> > attachment. This way you only ever generate 60 different symbols. As
> > existing symbols are reused, your memory usage doesn't grow after
> > that.
> >   
> 
> Oh!  Very good.  I didn't realize that an identical symbol would get
> re-used.  For completeness' sake, I will make a new [ps-stopwatch] that
> does not leak (and is plain vanilla, to boot).
> 
concerning symbol table pollution, it is probably the best strategy to
use messages of the form 'list do this and probably that' instead of
'symbol do-this-and-probably-that', and to use a single global [send
GLOBAL] and route all messages accordingly : 

[r GLOBAL]
|
[route do]
|
[route this]
|
[route and]

etc.

this way you can pass a very big number of messages around to a big
number of receivers without really polluting the symbol table.

roman



___ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de


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


Re: [PD] pd and tcp: what to do against crashes?

2009-02-23 Thread Roman Haefeli
On Mon, 2009-02-23 at 21:03 +, Martin Peach wrote:
> Roman Haefeli wrote:
> 
> > > >with the newest [tcpserver] i cannot send messages to clients anymore. 
> >i
> > > >tried both, 'send ' and 'client '. whenever
> > > >[tcpserver] receives such a message, pd is blocked for about a second
> > > >and the i get in the console:
> > > >
> > > >tcpserver_send_buf: client 1 not writeable
> > > >
> > >
> > > Are you sending a lot of data? That should only happen if you send more 
> >than
> > > a buffer, whatever that is, only the system knows. It blocks for exactly 
> >one
> > > second if the buffer is full, I was thinking that should give it enough 
> >time
> > > to send everything. I guess Pd isn't crashing anymore at least ;)
> > > You could try changing line 383 of tcpserver.c to change the timeout:
> > > timeout.tv_sec = 10; /* for ten seconds */
> >
> >probably, i should add, that i am testing the new [tcpserver] code on
> >ubuntu 8.04, as i don't know how to compile on OS X or win XP. what are
> >you testing on?
> >
> 
> OK I fixed it now in svn. It works on debian. The select() call was not 
> being done properly. Now I need to test it on Windows again.

hey, many thanks! it works. now i wonder, what happens, if the message
is triggered: 'tcpserver_send_buf: client 1 not writeable'. does that
indicated, that the buffer is cleared? does it mean, that when this
message appears, that at least one message didn't come through?

somehow i need to design netpd in way, that as soon as one single
message is lost, the connection should be shut down and established
again, and the client should then again sync with other clients.
otherwise very bad things could happen (patches are not transmitted
completely and loading incomplete patches causes pd crashing). 

before the change i could be sure, that either all messages came through
or the server crashed at some point, if messages could not be delivered.
now, since the server doesn't crash anymore, i need to know, if messages
were dropped. how can i know?

thanks again for all your effort.

roman





___ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de


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


[PD] phase-canceling

2009-02-23 Thread yohannes
hello everybody,

maybe sounds absurd:

is it possible to cancel an whole signal of an mic input through 
phase-canceling?

if yes, how can i do dat in pd?



thanks a lot, yohannes

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


Re: [PD] Array that scrolls from right to left

2009-02-23 Thread Frank Barknecht
Hallo,
Sebastien Lelong hat gesagt: // Sebastien Lelong wrote:

> Thanks for your help. I'm getting things that "kind of" scroll... building
> an horrible patch :) Some values are random, I guess I have a problem when
> access extremities of the array. I'm sure there's something simpler,
> probably using trigger, but I can't figure out how I could use a trigger
> here. Could you give one last hint ? I guess I need to learn how to "think"
> pure data...

Indeed: Understanding triggering and execution order brings you much
closer to "thinking in Pd". There are only two things to remember: The
left inlet of (most) objects is hot, the right is cold and lets you
use an object as a storage container.

OTOH the right outlet of (most) objects fires before the left one.
This holds especially true for the [trigger] object whose main purpose
is to control the order in that your patch cords get activated. 

Both facts are nicely combined in the scrolling table solution in the
attached patch. The top [trigger] object shows how sometimes in Pd you
have to think far ahead: Its right outlet stores a number in a float
object below that gets used much later. 

The lower trigger object (abbreviated as [t ...]) shows another common
idiom: It's followed by crossed patch cords. You will often see this
when something is stored for a moment and the previously stored value
is used instead. 

Anyway the attachement shouldn't be to hard to folllow with its
comments, but feel free to ask any questions. "Getting it" is
important here. :)

Ciao
-- 
 Frank BarknechtDo You RjDj.me?  _ __footils.org__


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


Re: [PD] symbol anxiety

2009-02-23 Thread Phil Stone
Frank Barknecht wrote:
> Hallo,
> Phil Stone hat gesagt: // Phil Stone wrote:
>
>   
>> Frank Barknecht wrote:
>> 
>>> A fix for this maketime would be to reuse the symbols ":00" ... ":59"
>>> for minutes and hours by using two [cnv] objects for these. Then you
>>> would be able to let the clock run for decades before you get into
>>> trouble with the symbol table.
>>>   
>> I've pondered this, and can't figure out what you mean, unless you're  
>> suggesting having 60 canvases, one for each possible number?
>> 
>
> No, only two canvases, one for minutes, one for seconds. See
> attachment. This way you only ever generate 60 different symbols. As
> existing symbols are reused, your memory usage doesn't grow after
> that.
>   

Oh!  Very good.  I didn't realize that an identical symbol would get
re-used.  For completeness' sake, I will make a new [ps-stopwatch] that
does not leak (and is plain vanilla, to boot).


Cheers, Frank.


Phil


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


Re: [PD] symbol anxiety

2009-02-23 Thread Frank Barknecht
Hallo,
Phil Stone hat gesagt: // Phil Stone wrote:

> Frank Barknecht wrote:
>> A fix for this maketime would be to reuse the symbols ":00" ... ":59"
>> for minutes and hours by using two [cnv] objects for these. Then you
>> would be able to let the clock run for decades before you get into
>> trouble with the symbol table.
>
> I've pondered this, and can't figure out what you mean, unless you're  
> suggesting having 60 canvases, one for each possible number?

No, only two canvases, one for minutes, one for seconds. See
attachment. This way you only ever generate 60 different symbols. As
existing symbols are reused, your memory usage doesn't grow after
that.

> Just to see the magnitude of the issue, I made a little test patch  
> (attached) called [symbol_pig].  It just creates symbols, very fast.  A  
> very rough measurement based on watching resident memory increasing in  
> bash's top command indicates that (on OS X 10.4), a megabyte is used up  
> for approximately every 32,000 symbols.

So you can generate 128 million different symbols with a 4 GB RAM
machine. :)

Personally I'd do heavy text processing in something like pdlua. Pd 
feels awkward when processing text.

Ciao
-- 
 Frank BarknechtDo You RjDj.me?  _ __footils.org__


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


Re: [PD] pd and tcp: what to do against crashes?

2009-02-23 Thread Martin Peach
Roman Haefeli wrote:

> > >with the newest [tcpserver] i cannot send messages to clients anymore. 
>i
> > >tried both, 'send ' and 'client '. whenever
> > >[tcpserver] receives such a message, pd is blocked for about a second
> > >and the i get in the console:
> > >
> > >tcpserver_send_buf: client 1 not writeable
> > >
> >
> > Are you sending a lot of data? That should only happen if you send more 
>than
> > a buffer, whatever that is, only the system knows. It blocks for exactly 
>one
> > second if the buffer is full, I was thinking that should give it enough 
>time
> > to send everything. I guess Pd isn't crashing anymore at least ;)
> > You could try changing line 383 of tcpserver.c to change the timeout:
> > timeout.tv_sec = 10; /* for ten seconds */
>
>probably, i should add, that i am testing the new [tcpserver] code on
>ubuntu 8.04, as i don't know how to compile on OS X or win XP. what are
>you testing on?
>

OK I fixed it now in svn. It works on debian. The select() call was not 
being done properly. Now I need to test it on Windows again.

Martin



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


Re: [PD] I am a new user confused as to why I cant get GEM object to work.

2009-02-23 Thread Geoff
I tried the linked disk image unfortunately It won't let me install  
it as I am running osx 10.4

not 10.5

damn
geoff

On 23 Feb 2009, at 19:57, Conor Higgins wrote:


right hold on a second try this link and let me know if it works...


http://xquartz.macosforge.org/trac/wiki/X112.3.2.1



Conor

On 23 Feb 2009, at 19:56, Geoff wrote:


I did install the X11 software from the apple osx 10.4 dvd.

Tried getting rid of both plist files.

but no joy yet.
geoff

On 23 Feb 2009, at 19:35, Conor Higgins wrote:


Geoff,

I am having a similar problem, you can fix it by getting rid of  
that plist file but there's no guarantee with that either. I had  
to add each library to the startup path on my own machine but the  
artist I am working with can't do this with libraries like Gem or  
PDP or PiDiP, So i think it has something to do with the software  
x11 not being installed on his computer. If you try to install it  
you should get rid of this error, unfortunately he is still  
having problems as his system wont allow the installation, but  
maybe you will have more luck with this.


Conor

On 23 Feb 2009, at 19:18, Jack wrote:


Maybe, remove your pref : org.puredata.pd.plist in ~/Library/
Preferences/ and retry.
++

Jack


Le 23 févr. 09 à 20:08, Geoff a écrit :


Just installed X11 from OSX 10.4 dvd

I get the following on start up

libdir loader $Revision: 1.8 $
written by Hans-Christoph Steiner 
compiled on Jul 29 2008 at 03:24:20
compiled against Pd version 0.40.3.extended
/Applications/Pd-extended.app/Contents/Resources/extra/Gem/
Gem.pd_darwin: dlopen(/Applications/Pd-extended.app/Contents/
Resources/extra/Gem/Gem.pd_darwin, 10): Library not loaded: /usr/
X11R6/lib/libfreetype.6.dylib
Referenced from: /Applications/Pd-extended.app/Contents/Resources/
extra/Gem/Gem.pd_darwin
Reason: no suitable image found.  Did find:
	/usr/X11R6/lib/libfreetype.6.dylib: mach-o, but wrong  
architecture

Gem: can't load library
libdir_loader: added 'cyclone' to the global objectclass path
libdir_loader: added 'zexy' to the global objectclass path
libdir_loader: added 'creb' to the global objectclass path
libdir_loader: added 'cxc' to the global objectclass path
libdir_loader: added 'iemlib' to the global objectclass path
libdir_loader: added 'list-abs' to the global objectclass path
libdir_loader: added 'mapping' to the global objectclass path
libdir_loader: added 'markex' to the global objectclass path
libdir_loader: added 'maxlib' to the global objectclass path
libdir_loader: added 'memento' to the global objectclass path
libdir_loader: added 'mjlib' to the global objectclass path
libdir_loader: added 'motex' to the global objectclass path
libdir_loader: added 'oscx' to the global objectclass path
libdir_loader: added 'pddp' to the global objectclass path
libdir_loader: added 'pdogg' to the global objectclass path
libdir_loader: added 'pixeltango' to the global objectclass path
libdir_loader: added 'pmpd' to the global objectclass path
libdir_loader: added 'rradical' to the global objectclass path
libdir_loader: added 'sigpack' to the global objectclass path
libdir_loader: added 'smlib' to the global objectclass path
libdir_loader: added 'toxy' to the global objectclass path
libdir_loader: added 'unauthorized' to the global objectclass path
libdir_loader: added 'pan' to the global objectclass path
libdir_loader: added 'freeverb' to the global objectclass path
libdir_loader: added 'hcs' to the global objectclass path
libdir_loader: added 'jmmmp' to the global objectclass path
libdir_loader: added 'ext13' to the global objectclass path
libdir_loader: added 'ggee' to the global objectclass path
libdir_loader: added 'flib' to the global objectclass path
libdir_loader: added 'ekext' to the global objectclass path
libdir_loader: added 'flatspace' to the global objectclass path
/Applications/Pd-extended.app/Contents/Resources/extra/
pdp.pd_darwin: dlopen(/Applications/Pd-extended.app/Contents/
Resources/extra/pdp.pd_darwin, 10): Library not loaded: /usr/ 
X11R6/

lib/libX11.6.dylib
Referenced from: /Applications/Pd-extended.app/Contents/Resources/
extra/pdp.pd_darwin
Reason: no suitable image found.  Did find:
/usr/X11R6/lib/libX11.6.dylib: mach-o, but wrong architecture
pdp: can't load library
/Applications/Pd-extended.app/Contents/Resources/extra/
pidip.pd_darwin: dlopen(/Applications/Pd-extended.app/Contents/
Resources/extra/pidip.pd_darwin, 10): Library not loaded: /usr/
X11R6/lib/libX11.6.dylib
Referenced from: /Applications/Pd-extended.app/Contents/Resources/
extra/pidip.pd_darwin
Reason: no suitable image found.  Did find:
/usr/X11R6/lib/libX11.6.dylib: mach-o, but wrong architecture
pidip: can't load library

installing X11 hasn't yet cure the problem when I create an object
like [genwin] its  still red.

Geoff


On 23 Feb 2009, at 18:19, Jack wrote:


Have you installed X11 ?
What did you get in your console when you start Pd ?
++

Jack


Le 23 févr. 09 à 19:09, Geoff a écrit

Re: [PD] pd and tcp: what to do against crashes?

2009-02-23 Thread Martin Peach
>From: Roman Haefeli 
>Reply-To: reduzie...@yahoo.de
>To: Martin Peach 
>CC: pd-list@iem.at
>Subject: Re: [PD] pd and tcp: what to do against crashes?
>Date: Mon, 23 Feb 2009 20:59:41 +0100
>
>On Mon, 2009-02-23 at 19:10 +, Martin Peach wrote:
> >
> > >From: Roman Haefeli 
> > >Reply-To: reduzie...@yahoo.de
> > >To: Martin Peach 
> > >CC: PD list 
> > >Subject: Re: [PD] pd and tcp: what to do against crashes?
> > >Date: Mon, 23 Feb 2009 19:50:44 +0100
> > >
> > >On Sun, 2009-02-22 at 18:42 -0500, Martin Peach wrote:
> > > > Roman Haefeli wrote:
> > > > > On Sun, 2009-02-22 at 17:30 -0500, Martin Peach wrote:
> > > > >
> > > > >> Maybe you could try it (I just uploaded it to the svn at
> > > > >>
> > 
> >http://pure-data.svn.sourceforge.net/viewvc/pure-data/trunk/externals/mrpeach/net/)
> > > > >> and see if anything changes.
> > >
> > >with the newest [tcpserver] i cannot send messages to clients anymore. 
>i
> > >tried both, 'send ' and 'client '. whenever
> > >[tcpserver] receives such a message, pd is blocked for about a second
> > >and the i get in the console:
> > >
> > >tcpserver_send_buf: client 1 not writeable
> > >
> >
> > Are you sending a lot of data? That should only happen if you send more 
>than
> > a buffer, whatever that is, only the system knows. It blocks for exactly 
>one
> > second if the buffer is full, I was thinking that should give it enough 
>time
> > to send everything. I guess Pd isn't crashing anymore at least ;)
> > You could try changing line 383 of tcpserver.c to change the timeout:
> > timeout.tv_sec = 10; /* for ten seconds */
>
>probably, i should add, that i am testing the new [tcpserver] code on
>ubuntu 8.04, as i don't know how to compile on OS X or win XP. what are
>you testing on?
>

I tried it yesterday on WinXp. I have a debian machine here I can try it on.

Martin



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


Re: [PD] pd and tcp: what to do against crashes?

2009-02-23 Thread Roman Haefeli


On Mon, 2009-02-23 at 19:10 +, Martin Peach wrote:
> 
> 
> >From: Roman Haefeli 
> >Reply-To: reduzie...@yahoo.de
> >To: Martin Peach 
> >CC: PD list 
> >Subject: Re: [PD] pd and tcp: what to do against crashes?
> >Date: Mon, 23 Feb 2009 19:50:44 +0100
> >
> >On Sun, 2009-02-22 at 18:42 -0500, Martin Peach wrote:
> > > Roman Haefeli wrote:
> > > > On Sun, 2009-02-22 at 17:30 -0500, Martin Peach wrote:
> > > >
> > > >> Maybe you could try it (I just uploaded it to the svn at
> > > >> 
> >http://pure-data.svn.sourceforge.net/viewvc/pure-data/trunk/externals/mrpeach/net/)
> > > >> and see if anything changes.
> >
> >with the newest [tcpserver] i cannot send messages to clients anymore. i
> >tried both, 'send ' and 'client '. whenever
> >[tcpserver] receives such a message, pd is blocked for about a second
> >and the i get in the console:
> >
> >tcpserver_send_buf: client 1 not writeable
> >
> 
> Are you sending a lot of data? That should only happen if you send more than 
> a buffer, whatever that is, only the system knows. It blocks for exactly one 
> second if the buffer is full, I was thinking that should give it enough time 
> to send everything. I guess Pd isn't crashing anymore at least ;)
> You could try changing line 383 of tcpserver.c to change the timeout:
> timeout.tv_sec = 10; /* for ten seconds */

probably, i should add, that i am testing the new [tcpserver] code on
ubuntu 8.04, as i don't know how to compile on OS X or win XP. what are
you testing on?

roman





___ 
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: 
http://mail.yahoo.de


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


Re: [PD] I am a new user confused as to why I cant get GEM object to work.

2009-02-23 Thread Conor Higgins

right hold on a second try this link and let me know if it works...


http://xquartz.macosforge.org/trac/wiki/X112.3.2.1



Conor

On 23 Feb 2009, at 19:56, Geoff wrote:


I did install the X11 software from the apple osx 10.4 dvd.

Tried getting rid of both plist files.

but no joy yet.
geoff

On 23 Feb 2009, at 19:35, Conor Higgins wrote:


Geoff,

I am having a similar problem, you can fix it by getting rid of  
that plist file but there's no guarantee with that either. I had to  
add each library to the startup path on my own machine but the  
artist I am working with can't do this with libraries like Gem or  
PDP or PiDiP, So i think it has something to do with the software  
x11 not being installed on his computer. If you try to install it  
you should get rid of this error, unfortunately he is still having  
problems as his system wont allow the installation, but maybe you  
will have more luck with this.


Conor

On 23 Feb 2009, at 19:18, Jack wrote:


Maybe, remove your pref : org.puredata.pd.plist in ~/Library/
Preferences/ and retry.
++

Jack


Le 23 févr. 09 à 20:08, Geoff a écrit :


Just installed X11 from OSX 10.4 dvd

I get the following on start up

libdir loader $Revision: 1.8 $
written by Hans-Christoph Steiner 
compiled on Jul 29 2008 at 03:24:20
compiled against Pd version 0.40.3.extended
/Applications/Pd-extended.app/Contents/Resources/extra/Gem/
Gem.pd_darwin: dlopen(/Applications/Pd-extended.app/Contents/
Resources/extra/Gem/Gem.pd_darwin, 10): Library not loaded: /usr/
X11R6/lib/libfreetype.6.dylib
Referenced from: /Applications/Pd-extended.app/Contents/Resources/
extra/Gem/Gem.pd_darwin
Reason: no suitable image found.  Did find:
/usr/X11R6/lib/libfreetype.6.dylib: mach-o, but wrong architecture
Gem: can't load library
libdir_loader: added 'cyclone' to the global objectclass path
libdir_loader: added 'zexy' to the global objectclass path
libdir_loader: added 'creb' to the global objectclass path
libdir_loader: added 'cxc' to the global objectclass path
libdir_loader: added 'iemlib' to the global objectclass path
libdir_loader: added 'list-abs' to the global objectclass path
libdir_loader: added 'mapping' to the global objectclass path
libdir_loader: added 'markex' to the global objectclass path
libdir_loader: added 'maxlib' to the global objectclass path
libdir_loader: added 'memento' to the global objectclass path
libdir_loader: added 'mjlib' to the global objectclass path
libdir_loader: added 'motex' to the global objectclass path
libdir_loader: added 'oscx' to the global objectclass path
libdir_loader: added 'pddp' to the global objectclass path
libdir_loader: added 'pdogg' to the global objectclass path
libdir_loader: added 'pixeltango' to the global objectclass path
libdir_loader: added 'pmpd' to the global objectclass path
libdir_loader: added 'rradical' to the global objectclass path
libdir_loader: added 'sigpack' to the global objectclass path
libdir_loader: added 'smlib' to the global objectclass path
libdir_loader: added 'toxy' to the global objectclass path
libdir_loader: added 'unauthorized' to the global objectclass path
libdir_loader: added 'pan' to the global objectclass path
libdir_loader: added 'freeverb' to the global objectclass path
libdir_loader: added 'hcs' to the global objectclass path
libdir_loader: added 'jmmmp' to the global objectclass path
libdir_loader: added 'ext13' to the global objectclass path
libdir_loader: added 'ggee' to the global objectclass path
libdir_loader: added 'flib' to the global objectclass path
libdir_loader: added 'ekext' to the global objectclass path
libdir_loader: added 'flatspace' to the global objectclass path
/Applications/Pd-extended.app/Contents/Resources/extra/
pdp.pd_darwin: dlopen(/Applications/Pd-extended.app/Contents/
Resources/extra/pdp.pd_darwin, 10): Library not loaded: /usr/X11R6/
lib/libX11.6.dylib
Referenced from: /Applications/Pd-extended.app/Contents/Resources/
extra/pdp.pd_darwin
Reason: no suitable image found.  Did find:
/usr/X11R6/lib/libX11.6.dylib: mach-o, but wrong architecture
pdp: can't load library
/Applications/Pd-extended.app/Contents/Resources/extra/
pidip.pd_darwin: dlopen(/Applications/Pd-extended.app/Contents/
Resources/extra/pidip.pd_darwin, 10): Library not loaded: /usr/
X11R6/lib/libX11.6.dylib
Referenced from: /Applications/Pd-extended.app/Contents/Resources/
extra/pidip.pd_darwin
Reason: no suitable image found.  Did find:
/usr/X11R6/lib/libX11.6.dylib: mach-o, but wrong architecture
pidip: can't load library

installing X11 hasn't yet cure the problem when I create an object
like [genwin] its  still red.

Geoff


On 23 Feb 2009, at 18:19, Jack wrote:


Have you installed X11 ?
What did you get in your console when you start Pd ?
++

Jack


Le 23 févr. 09 à 19:09, Geoff a écrit :


Hi
I am using PD-extended 0.40.3 on a Macbook  osx 10.4

but I cannot seem to get the GEM bits to work.

I am going through the PMPD example patches but none of th

Re: [PD] I am a new user confused as to why I cant get GEM object to work.

2009-02-23 Thread Geoff
I did install the X11 software from the apple osx 10.4 dvd.

Tried getting rid of both plist files.

but no joy yet.
geoff

On 23 Feb 2009, at 19:35, Conor Higgins wrote:

> Geoff,
>
> I am having a similar problem, you can fix it by getting rid of  
> that plist file but there's no guarantee with that either. I had to  
> add each library to the startup path on my own machine but the  
> artist I am working with can't do this with libraries like Gem or  
> PDP or PiDiP, So i think it has something to do with the software  
> x11 not being installed on his computer. If you try to install it  
> you should get rid of this error, unfortunately he is still having  
> problems as his system wont allow the installation, but maybe you  
> will have more luck with this.
>
> Conor
>
> On 23 Feb 2009, at 19:18, Jack wrote:
>
>> Maybe, remove your pref : org.puredata.pd.plist in ~/Library/
>> Preferences/ and retry.
>> ++
>>
>> Jack
>>
>>
>> Le 23 févr. 09 à 20:08, Geoff a écrit :
>>
>>> Just installed X11 from OSX 10.4 dvd
>>>
>>> I get the following on start up
>>>
>>> libdir loader $Revision: 1.8 $
>>> written by Hans-Christoph Steiner 
>>> compiled on Jul 29 2008 at 03:24:20
>>> compiled against Pd version 0.40.3.extended
>>> /Applications/Pd-extended.app/Contents/Resources/extra/Gem/
>>> Gem.pd_darwin: dlopen(/Applications/Pd-extended.app/Contents/
>>> Resources/extra/Gem/Gem.pd_darwin, 10): Library not loaded: /usr/
>>> X11R6/lib/libfreetype.6.dylib
>>>  Referenced from: /Applications/Pd-extended.app/Contents/Resources/
>>> extra/Gem/Gem.pd_darwin
>>>  Reason: no suitable image found.  Did find:
>>> /usr/X11R6/lib/libfreetype.6.dylib: mach-o, but wrong architecture
>>> Gem: can't load library
>>> libdir_loader: added 'cyclone' to the global objectclass path
>>> libdir_loader: added 'zexy' to the global objectclass path
>>> libdir_loader: added 'creb' to the global objectclass path
>>> libdir_loader: added 'cxc' to the global objectclass path
>>> libdir_loader: added 'iemlib' to the global objectclass path
>>> libdir_loader: added 'list-abs' to the global objectclass path
>>> libdir_loader: added 'mapping' to the global objectclass path
>>> libdir_loader: added 'markex' to the global objectclass path
>>> libdir_loader: added 'maxlib' to the global objectclass path
>>> libdir_loader: added 'memento' to the global objectclass path
>>> libdir_loader: added 'mjlib' to the global objectclass path
>>> libdir_loader: added 'motex' to the global objectclass path
>>> libdir_loader: added 'oscx' to the global objectclass path
>>> libdir_loader: added 'pddp' to the global objectclass path
>>> libdir_loader: added 'pdogg' to the global objectclass path
>>> libdir_loader: added 'pixeltango' to the global objectclass path
>>> libdir_loader: added 'pmpd' to the global objectclass path
>>> libdir_loader: added 'rradical' to the global objectclass path
>>> libdir_loader: added 'sigpack' to the global objectclass path
>>> libdir_loader: added 'smlib' to the global objectclass path
>>> libdir_loader: added 'toxy' to the global objectclass path
>>> libdir_loader: added 'unauthorized' to the global objectclass path
>>> libdir_loader: added 'pan' to the global objectclass path
>>> libdir_loader: added 'freeverb' to the global objectclass path
>>> libdir_loader: added 'hcs' to the global objectclass path
>>> libdir_loader: added 'jmmmp' to the global objectclass path
>>> libdir_loader: added 'ext13' to the global objectclass path
>>> libdir_loader: added 'ggee' to the global objectclass path
>>> libdir_loader: added 'flib' to the global objectclass path
>>> libdir_loader: added 'ekext' to the global objectclass path
>>> libdir_loader: added 'flatspace' to the global objectclass path
>>> /Applications/Pd-extended.app/Contents/Resources/extra/
>>> pdp.pd_darwin: dlopen(/Applications/Pd-extended.app/Contents/
>>> Resources/extra/pdp.pd_darwin, 10): Library not loaded: /usr/X11R6/
>>> lib/libX11.6.dylib
>>>  Referenced from: /Applications/Pd-extended.app/Contents/Resources/
>>> extra/pdp.pd_darwin
>>>  Reason: no suitable image found.  Did find:
>>> /usr/X11R6/lib/libX11.6.dylib: mach-o, but wrong architecture
>>> pdp: can't load library
>>> /Applications/Pd-extended.app/Contents/Resources/extra/
>>> pidip.pd_darwin: dlopen(/Applications/Pd-extended.app/Contents/
>>> Resources/extra/pidip.pd_darwin, 10): Library not loaded: /usr/
>>> X11R6/lib/libX11.6.dylib
>>>  Referenced from: /Applications/Pd-extended.app/Contents/Resources/
>>> extra/pidip.pd_darwin
>>>  Reason: no suitable image found.  Did find:
>>> /usr/X11R6/lib/libX11.6.dylib: mach-o, but wrong architecture
>>> pidip: can't load library
>>>
>>> installing X11 hasn't yet cure the problem when I create an object
>>> like [genwin] its  still red.
>>>
>>> Geoff
>>>
>>>
>>> On 23 Feb 2009, at 18:19, Jack wrote:
>>>
 Have you installed X11 ?
 What did you get in your console when you start Pd ?
 ++

 Jack


 Le 23 févr. 09 à 19:

Re: [PD] I am a new user confused as to why I cant get GEM object to work.

2009-02-23 Thread Geoff
Hi
tried killing both preference files related to PD
Still no joy :(

Within the start up of PD there are problems mentioned to do with X11  
i,e, wrong architecture.

But I wouldn't really know what that meant.

thanks for the ideas.
geoff


Referenced from: /Applications/Pd-extended.app/Contents/Resources/ 
extra/pdp.pd_darwin
   Reason: no suitable image found.  Did find:
/usr/X11R6/lib/libX11.6.dylib: mach-o, but wrong architecture
pdp: can't load library
/Applications/Pd-extended.app/Contents/Resources/extra/ 
pidip.pd_darwin: dlopen(/Applications/Pd-extended.app/Contents/ 
Resources/extra/pidip.pd_darwin, 10): Library not loaded: /usr/X11R6/ 
lib/libX11.6.dylib
   Referenced from: /Applications/Pd-extended.app/Contents/Resources/ 
extra/pidip.pd_darwin
   Reason: no suitable image found.  Did find:
/usr/X11R6/lib/libX11.6.dylib: mach-o, but wrong architecture
pidip: can't load library
On 23 Feb 2009, at 19:18, Jack wrote:





libdir loader $Revision: 1.8 $
written by Hans-Christoph Steiner 
compiled on Jul 29 2008 at 03:24:20
compiled against Pd version 0.40.3.extended
/Applications/Pd-extended.app/Contents/Resources/extra/Gem/ 
Gem.pd_darwin: dlopen(/Applications/Pd-extended.app/Contents/ 
Resources/extra/Gem/Gem.pd_darwin, 10): Library not loaded: /usr/ 
X11R6/lib/libfreetype.6.dylib
   Referenced from: /Applications/Pd-extended.app/Contents/Resources/ 
extra/Gem/Gem.pd_darwin
   Reason: no suitable image found.  Did find:
/usr/X11R6/lib/libfreetype.6.dylib: mach-o, but wrong architecture
Gem: can't load library
libdir_loader: added 'cyclone' to the global objectclass path
libdir_loader: added 'zexy' to the global objectclass path
libdir_loader: added 'creb' to the global objectclass path
libdir_loader: added 'cxc' to the global objectclass path
libdir_loader: added 'iemlib' to the global objectclass path
libdir_loader: added 'list-abs' to the global objectclass path
libdir_loader: added 'mapping' to the global objectclass path
libdir_loader: added 'markex' to the global objectclass path
libdir_loader: added 'maxlib' to the global objectclass path
libdir_loader: added 'memento' to the global objectclass path
libdir_loader: added 'mjlib' to the global objectclass path
libdir_loader: added 'motex' to the global objectclass path
libdir_loader: added 'oscx' to the global objectclass path
libdir_loader: added 'pddp' to the global objectclass path
libdir_loader: added 'pdogg' to the global objectclass path
libdir_loader: added 'pixeltango' to the global objectclass path
libdir_loader: added 'pmpd' to the global objectclass path
libdir_loader: added 'rradical' to the global objectclass path
libdir_loader: added 'sigpack' to the global objectclass path
libdir_loader: added 'smlib' to the global objectclass path
libdir_loader: added 'toxy' to the global objectclass path
libdir_loader: added 'unauthorized' to the global objectclass path
libdir_loader: added 'pan' to the global objectclass path
libdir_loader: added 'freeverb' to the global objectclass path
libdir_loader: added 'hcs' to the global objectclass path
libdir_loader: added 'jmmmp' to the global objectclass path
libdir_loader: added 'ext13' to the global objectclass path
libdir_loader: added 'ggee' to the global objectclass path
libdir_loader: added 'flib' to the global objectclass path
libdir_loader: added 'ekext' to the global objectclass path
libdir_loader: added 'flatspace' to the global objectclass path
/Applications/Pd-extended.app/Contents/Resources/extra/pdp.pd_darwin:  
dlopen(/Applications/Pd-extended.app/Contents/Resources/extra/ 
pdp.pd_darwin, 10): Library not loaded: /usr/X11R6/lib/libX11.6.dylib
   Referenced from: /Applications/Pd-extended.app/Contents/Resources/ 
extra/pdp.pd_darwin
   Reason: no suitable image found.  Did find:
/usr/X11R6/lib/libX11.6.dylib: mach-o, but wrong architecture
pdp: can't load library
/Applications/Pd-extended.app/Contents/Resources/extra/ 
pidip.pd_darwin: dlopen(/Applications/Pd-extended.app/Contents/ 
Resources/extra/pidip.pd_darwin, 10): Library not loaded: /usr/X11R6/ 
lib/libX11.6.dylib
   Referenced from: /Applications/Pd-extended.app/Contents/Resources/ 
extra/pidip.pd_darwin
   Reason: no suitable image found.  Did find:
/usr/X11R6/lib/libX11.6.dylib: mach-o, but wrong architecture
pidip: can't load library
On 23 Feb 2009, at 19:18, Jack wrote:

> Maybe, remove your pref : org.puredata.pd.plist in ~/Library/ 
> Preferences/ and retry.
> ++
>
> Jack
>
>
> Le 23 févr. 09 à 20:08, Geoff a écrit :
>
>> Just installed X11 from OSX 10.4 dvd
>>
>> I get the following on start up
>>
>> libdir loader $Revision: 1.8 $
>>  written by Hans-Christoph Steiner 
>>  compiled on Jul 29 2008 at 03:24:20
>>  compiled against Pd version 0.40.3.extended
>> /Applications/Pd-extended.app/Contents/Resources/extra/Gem/ 
>> Gem.pd_darwin: dlopen(/Applications/Pd-extended.app/Contents/ 
>> Resources/extra/Gem/Gem.pd_darwin, 10): Library not loade

Re: [PD] pd and tcp: what to do against crashes?

2009-02-23 Thread Roman Haefeli
On Mon, 2009-02-23 at 19:10 +, Martin Peach wrote:
> 
> 
> >From: Roman Haefeli 
> >Reply-To: reduzie...@yahoo.de
> >To: Martin Peach 
> >CC: PD list 
> >Subject: Re: [PD] pd and tcp: what to do against crashes?
> >Date: Mon, 23 Feb 2009 19:50:44 +0100
> >
> >On Sun, 2009-02-22 at 18:42 -0500, Martin Peach wrote:
> > > Roman Haefeli wrote:
> > > > On Sun, 2009-02-22 at 17:30 -0500, Martin Peach wrote:
> > > >
> > > >> Maybe you could try it (I just uploaded it to the svn at
> > > >> 
> >http://pure-data.svn.sourceforge.net/viewvc/pure-data/trunk/externals/mrpeach/net/)
> > > >> and see if anything changes.
> >
> >with the newest [tcpserver] i cannot send messages to clients anymore. i
> >tried both, 'send ' and 'client '. whenever
> >[tcpserver] receives such a message, pd is blocked for about a second
> >and the i get in the console:
> >
> >tcpserver_send_buf: client 1 not writeable
> >
> 
> Are you sending a lot of data? That should only happen if you send more than 
> a buffer, whatever that is, only the system knows. It blocks for exactly one 
> second if the buffer is full, I was thinking that should give it enough time 
> to send everything. I guess Pd isn't crashing anymore at least ;)
> You could try changing line 383 of tcpserver.c to change the timeout:
> timeout.tv_sec = 10; /* for ten seconds */

i am sending messages with 8 byte data (lists with 8 numbers). none of
the message is received on the other side. it is not possible to send
anything at all.

roman



___ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de


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


Re: [PD] I am a new user confused as to why I cant get GEM object to work.

2009-02-23 Thread Conor Higgins
Geoff,

I am having a similar problem, you can fix it by getting rid of that  
plist file but there's no guarantee with that either. I had to add  
each library to the startup path on my own machine but the artist I am  
working with can't do this with libraries like Gem or PDP or PiDiP, So  
i think it has something to do with the software x11 not being  
installed on his computer. If you try to install it you should get rid  
of this error, unfortunately he is still having problems as his system  
wont allow the installation, but maybe you will have more luck with  
this.

Conor

On 23 Feb 2009, at 19:18, Jack wrote:

> Maybe, remove your pref : org.puredata.pd.plist in ~/Library/
> Preferences/ and retry.
> ++
>
> Jack
>
>
> Le 23 févr. 09 à 20:08, Geoff a écrit :
>
>> Just installed X11 from OSX 10.4 dvd
>>
>> I get the following on start up
>>
>> libdir loader $Revision: 1.8 $
>>  written by Hans-Christoph Steiner 
>>  compiled on Jul 29 2008 at 03:24:20
>>  compiled against Pd version 0.40.3.extended
>> /Applications/Pd-extended.app/Contents/Resources/extra/Gem/
>> Gem.pd_darwin: dlopen(/Applications/Pd-extended.app/Contents/
>> Resources/extra/Gem/Gem.pd_darwin, 10): Library not loaded: /usr/
>> X11R6/lib/libfreetype.6.dylib
>>  Referenced from: /Applications/Pd-extended.app/Contents/Resources/
>> extra/Gem/Gem.pd_darwin
>>  Reason: no suitable image found.  Did find:
>>  /usr/X11R6/lib/libfreetype.6.dylib: mach-o, but wrong architecture
>> Gem: can't load library
>> libdir_loader: added 'cyclone' to the global objectclass path
>> libdir_loader: added 'zexy' to the global objectclass path
>> libdir_loader: added 'creb' to the global objectclass path
>> libdir_loader: added 'cxc' to the global objectclass path
>> libdir_loader: added 'iemlib' to the global objectclass path
>> libdir_loader: added 'list-abs' to the global objectclass path
>> libdir_loader: added 'mapping' to the global objectclass path
>> libdir_loader: added 'markex' to the global objectclass path
>> libdir_loader: added 'maxlib' to the global objectclass path
>> libdir_loader: added 'memento' to the global objectclass path
>> libdir_loader: added 'mjlib' to the global objectclass path
>> libdir_loader: added 'motex' to the global objectclass path
>> libdir_loader: added 'oscx' to the global objectclass path
>> libdir_loader: added 'pddp' to the global objectclass path
>> libdir_loader: added 'pdogg' to the global objectclass path
>> libdir_loader: added 'pixeltango' to the global objectclass path
>> libdir_loader: added 'pmpd' to the global objectclass path
>> libdir_loader: added 'rradical' to the global objectclass path
>> libdir_loader: added 'sigpack' to the global objectclass path
>> libdir_loader: added 'smlib' to the global objectclass path
>> libdir_loader: added 'toxy' to the global objectclass path
>> libdir_loader: added 'unauthorized' to the global objectclass path
>> libdir_loader: added 'pan' to the global objectclass path
>> libdir_loader: added 'freeverb' to the global objectclass path
>> libdir_loader: added 'hcs' to the global objectclass path
>> libdir_loader: added 'jmmmp' to the global objectclass path
>> libdir_loader: added 'ext13' to the global objectclass path
>> libdir_loader: added 'ggee' to the global objectclass path
>> libdir_loader: added 'flib' to the global objectclass path
>> libdir_loader: added 'ekext' to the global objectclass path
>> libdir_loader: added 'flatspace' to the global objectclass path
>> /Applications/Pd-extended.app/Contents/Resources/extra/
>> pdp.pd_darwin: dlopen(/Applications/Pd-extended.app/Contents/
>> Resources/extra/pdp.pd_darwin, 10): Library not loaded: /usr/X11R6/
>> lib/libX11.6.dylib
>>  Referenced from: /Applications/Pd-extended.app/Contents/Resources/
>> extra/pdp.pd_darwin
>>  Reason: no suitable image found.  Did find:
>>  /usr/X11R6/lib/libX11.6.dylib: mach-o, but wrong architecture
>> pdp: can't load library
>> /Applications/Pd-extended.app/Contents/Resources/extra/
>> pidip.pd_darwin: dlopen(/Applications/Pd-extended.app/Contents/
>> Resources/extra/pidip.pd_darwin, 10): Library not loaded: /usr/
>> X11R6/lib/libX11.6.dylib
>>  Referenced from: /Applications/Pd-extended.app/Contents/Resources/
>> extra/pidip.pd_darwin
>>  Reason: no suitable image found.  Did find:
>>  /usr/X11R6/lib/libX11.6.dylib: mach-o, but wrong architecture
>> pidip: can't load library
>>
>> installing X11 hasn't yet cure the problem when I create an object
>> like [genwin] its  still red.
>>
>> Geoff
>>
>>
>> On 23 Feb 2009, at 18:19, Jack wrote:
>>
>>> Have you installed X11 ?
>>> What did you get in your console when you start Pd ?
>>> ++
>>>
>>> Jack
>>>
>>>
>>> Le 23 févr. 09 à 19:09, Geoff a écrit :
>>>
 Hi
 I am using PD-extended 0.40.3 on a Macbook  osx 10.4

 but I cannot seem to get the GEM bits to work.

 I am going through the PMPD example patches but none of the GEM
 objects work.

 I have looked into the contents of P

Re: [PD] I am a new user confused as to why I cant get GEM object to work.

2009-02-23 Thread Jack
Maybe, remove your pref : org.puredata.pd.plist in ~/Library/ 
Preferences/ and retry.
++

Jack


Le 23 févr. 09 à 20:08, Geoff a écrit :

> Just installed X11 from OSX 10.4 dvd
>
> I get the following on start up
>
> libdir loader $Revision: 1.8 $
>   written by Hans-Christoph Steiner 
>   compiled on Jul 29 2008 at 03:24:20
>   compiled against Pd version 0.40.3.extended
> /Applications/Pd-extended.app/Contents/Resources/extra/Gem/ 
> Gem.pd_darwin: dlopen(/Applications/Pd-extended.app/Contents/ 
> Resources/extra/Gem/Gem.pd_darwin, 10): Library not loaded: /usr/ 
> X11R6/lib/libfreetype.6.dylib
>   Referenced from: /Applications/Pd-extended.app/Contents/Resources/ 
> extra/Gem/Gem.pd_darwin
>   Reason: no suitable image found.  Did find:
>   /usr/X11R6/lib/libfreetype.6.dylib: mach-o, but wrong architecture
> Gem: can't load library
> libdir_loader: added 'cyclone' to the global objectclass path
> libdir_loader: added 'zexy' to the global objectclass path
> libdir_loader: added 'creb' to the global objectclass path
> libdir_loader: added 'cxc' to the global objectclass path
> libdir_loader: added 'iemlib' to the global objectclass path
> libdir_loader: added 'list-abs' to the global objectclass path
> libdir_loader: added 'mapping' to the global objectclass path
> libdir_loader: added 'markex' to the global objectclass path
> libdir_loader: added 'maxlib' to the global objectclass path
> libdir_loader: added 'memento' to the global objectclass path
> libdir_loader: added 'mjlib' to the global objectclass path
> libdir_loader: added 'motex' to the global objectclass path
> libdir_loader: added 'oscx' to the global objectclass path
> libdir_loader: added 'pddp' to the global objectclass path
> libdir_loader: added 'pdogg' to the global objectclass path
> libdir_loader: added 'pixeltango' to the global objectclass path
> libdir_loader: added 'pmpd' to the global objectclass path
> libdir_loader: added 'rradical' to the global objectclass path
> libdir_loader: added 'sigpack' to the global objectclass path
> libdir_loader: added 'smlib' to the global objectclass path
> libdir_loader: added 'toxy' to the global objectclass path
> libdir_loader: added 'unauthorized' to the global objectclass path
> libdir_loader: added 'pan' to the global objectclass path
> libdir_loader: added 'freeverb' to the global objectclass path
> libdir_loader: added 'hcs' to the global objectclass path
> libdir_loader: added 'jmmmp' to the global objectclass path
> libdir_loader: added 'ext13' to the global objectclass path
> libdir_loader: added 'ggee' to the global objectclass path
> libdir_loader: added 'flib' to the global objectclass path
> libdir_loader: added 'ekext' to the global objectclass path
> libdir_loader: added 'flatspace' to the global objectclass path
> /Applications/Pd-extended.app/Contents/Resources/extra/ 
> pdp.pd_darwin: dlopen(/Applications/Pd-extended.app/Contents/ 
> Resources/extra/pdp.pd_darwin, 10): Library not loaded: /usr/X11R6/ 
> lib/libX11.6.dylib
>   Referenced from: /Applications/Pd-extended.app/Contents/Resources/ 
> extra/pdp.pd_darwin
>   Reason: no suitable image found.  Did find:
>   /usr/X11R6/lib/libX11.6.dylib: mach-o, but wrong architecture
> pdp: can't load library
> /Applications/Pd-extended.app/Contents/Resources/extra/ 
> pidip.pd_darwin: dlopen(/Applications/Pd-extended.app/Contents/ 
> Resources/extra/pidip.pd_darwin, 10): Library not loaded: /usr/ 
> X11R6/lib/libX11.6.dylib
>   Referenced from: /Applications/Pd-extended.app/Contents/Resources/ 
> extra/pidip.pd_darwin
>   Reason: no suitable image found.  Did find:
>   /usr/X11R6/lib/libX11.6.dylib: mach-o, but wrong architecture
> pidip: can't load library
>
> installing X11 hasn't yet cure the problem when I create an object  
> like [genwin] its  still red.
>
> Geoff
>
>
> On 23 Feb 2009, at 18:19, Jack wrote:
>
>> Have you installed X11 ?
>> What did you get in your console when you start Pd ?
>> ++
>>
>> Jack
>>
>>
>> Le 23 févr. 09 à 19:09, Geoff a écrit :
>>
>>> Hi
>>> I am using PD-extended 0.40.3 on a Macbook  osx 10.4
>>>
>>> but I cannot seem to get the GEM bits to work.
>>>
>>> I am going through the PMPD example patches but none of the GEM
>>> objects work.
>>>
>>> I have looked into the contents of PD extended and I can see lots of
>>> help files related to GEM in there.
>>>
>>> But if I try to create a GEM object I just get the dotted red box.
>>>
>>> So I went to the Pure community website and downloaded GEM for mac
>>> OSX but there are not instructions for installing on MAC OSX their
>>> were instructions for pc and linux but no osx.
>>>
>>> I am stuck I have googled this, but can't find an answer.
>>>
>>>
>>> How do I get the GEM objects to work in PD on mac OSX 10.4?
>>>
>>> Any help appreciated as I am getting no-where :)
>>>
>>> cheers
>>> geoff
>>>
>>>
>>> ___
>>> Pd-list@iem.at mailing list
>>> UNSUBSCRIBE and account-management -> http://li

Re: [PD] pd and tcp: what to do against crashes?

2009-02-23 Thread Martin Peach



>From: Roman Haefeli 
>Reply-To: reduzie...@yahoo.de
>To: Martin Peach 
>CC: PD list 
>Subject: Re: [PD] pd and tcp: what to do against crashes?
>Date: Mon, 23 Feb 2009 19:50:44 +0100
>
>On Sun, 2009-02-22 at 18:42 -0500, Martin Peach wrote:
> > Roman Haefeli wrote:
> > > On Sun, 2009-02-22 at 17:30 -0500, Martin Peach wrote:
> > >
> > >> Maybe you could try it (I just uploaded it to the svn at
> > >> 
>http://pure-data.svn.sourceforge.net/viewvc/pure-data/trunk/externals/mrpeach/net/)
> > >> and see if anything changes.
>
>with the newest [tcpserver] i cannot send messages to clients anymore. i
>tried both, 'send ' and 'client '. whenever
>[tcpserver] receives such a message, pd is blocked for about a second
>and the i get in the console:
>
>tcpserver_send_buf: client 1 not writeable
>

Are you sending a lot of data? That should only happen if you send more than 
a buffer, whatever that is, only the system knows. It blocks for exactly one 
second if the buffer is full, I was thinking that should give it enough time 
to send everything. I guess Pd isn't crashing anymore at least ;)
You could try changing line 383 of tcpserver.c to change the timeout:
timeout.tv_sec = 10; /* for ten seconds */

Martin



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


Re: [PD] symbol anxiety

2009-02-23 Thread Mathieu Bouchard

On Mon, 23 Feb 2009, Phil Stone wrote:

Just to see the magnitude of the issue, I made a little test patch 
(attached) called [symbol_pig].  It just creates symbols, very fast.  A 
very rough measurement based on watching resident memory increasing in 
bash's top command indicates that (on OS X 10.4), a megabyte is used up 
for approximately every 32,000 symbols.


Each t_symbol is a 12-byte malloc (double that in 64-bit mode) and another 
malloc the size of the text plus one. Malloc overhead varies (as I said in 
the previous mail), but if you add 4 bytes and round to the next multiple 
of 16, that's almost the least RAM a malloc-function can use up for your 
malloc. So, 16+16=32 bytes per small symbol, that makes a megabyte.


 _ _ __ ___ _  _ _ ...
| Mathieu Bouchard - tél:+1.514.383.3801, Montréal, Québec___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pd and tcp: what to do against crashes?

2009-02-23 Thread Roman Haefeli
On Sun, 2009-02-22 at 18:42 -0500, Martin Peach wrote:
> Roman Haefeli wrote:
> > On Sun, 2009-02-22 at 17:30 -0500, Martin Peach wrote:
> > 
> >> Maybe you could try it (I just uploaded it to the svn at 
> >> http://pure-data.svn.sourceforge.net/viewvc/pure-data/trunk/externals/mrpeach/net/)
> >>  
> >> and see if anything changes.

with the newest [tcpserver] i cannot send messages to clients anymore. i
tried both, 'send ' and 'client '. whenever
[tcpserver] receives such a message, pd is blocked for about a second
and the i get in the console:

tcpserver_send_buf: client 1 not writeable

roman



___ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de


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


Re: [PD] symbol anxiety

2009-02-23 Thread Phil Stone

Frank Barknecht wrote:

Hallo,
Phil Stone hat gesagt: // Phil Stone wrote:

  
Attached is [maketime], a lovely little timer/stopwatch.  I've long 
since lost track of who made it, so I'm sorry can't give you 
well-deserved credit here.  At any rate, it creates *at least* one 
symbol per second (probably more, I'm not sure if each [makefilename] 
generates a new symbol, but I'm guessing it does).  This makes me 
nervous, as I have no idea what the symbol table capacity is, or how to 
see how "full" it is.  It seems likely that this abstraction would crash 
eventually.



A fix for this maketime would be to reuse the symbols ":00" ... ":59"
for minutes and hours by using two [cnv] objects for these. Then you
would be able to let the clock run for decades before you get into
trouble with the symbol table.
  


I've pondered this, and can't figure out what you mean, unless you're 
suggesting having 60 canvases, one for each possible number?



I did re-work [maketime] a little.  Attached is a version (called 
[ps-stopwatch] that adds some features and only creates one symbol per 
second (plus one per minute, plus one per hour); the original created 
six per second.  The new one requires zexy's [makesymbol] (which can 
convert lists of numbers into a single symbol -- perfect for this 
application, but not in Vanilla-Pd, obviously).



Every table or receiver or route-selector etc. also is a symbol.


Yes, but except in some extreme examples of dynamic programming, this is 
a known quantity.  My anxiety comes from the memory leak behavior of 
long-running patches that dynamically create symbols (anything that does 
any sort of string handling is in this category, usually).  It would be 
so much better to have transient symbols for this sort of thing, but as 
Mathieu said, it sounds like this is not going to happen any time soon.



 So
while the implementation of the symbol table is suboptimal, in practice
it's not something you need to worry about too much. At least it should
not make you replace [route freq note] with [route 0 1] :-)
  


Just to see the magnitude of the issue, I made a little test patch 
(attached) called [symbol_pig].  It just creates symbols, very fast.  A 
very rough measurement based on watching resident memory increasing in 
bash's top command indicates that (on OS X 10.4), a megabyte is used up 
for approximately every 32,000 symbols.




Phil
#N canvas 0 22 450 300 10;
#X obj 109 47 metro 10;
#X obj 146 80 + 1;
#X obj 109 79 f 0;
#X obj 109 117 makefilename %d;
#X symbolatom 109 148 10 0 0 0 - - -;
#X obj 109 23 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X connect 0 0 2 0;
#X connect 1 0 2 1;
#X connect 2 0 1 0;
#X connect 2 0 3 0;
#X connect 3 0 4 0;
#X connect 5 0 0 0;

#N canvas 788 73 273 360 12;
#X declare -lib zexy;
#X obj 1 1 cnv 15 156 30 empty \$0-time_display 0:03:36 6 15 0 24 -1
-241291 0;
#X obj 71 224 + 1;
#X obj 37 223 f;
#X msg 163 56 0;
#X obj 163 1 loadbang;
#N canvas 337 282 345 318 sec-to-time-symbol 0;
#X obj 13 7 inlet;
#X obj 14 291 outlet;
#X obj 13 63 % 60;
#X obj 231 95 int;
#X obj 182 6 import zexy;
#X obj 95 124 change -1;
#X obj 95 72 / 60;
#X obj 231 69 / 3600;
#X obj 95 98 int;
#X obj 13 34 t f f f;
#X obj 231 121 change -1;
#X obj 231 177 makesymbol %s;
#X obj 95 208 list prepend;
#X obj 14 237 list prepend;
#X obj 95 150 % 60;
#X obj 14 264 makesymbol %s:%02s:%02s;
#X obj 95 177 makesymbol %02s;
#X obj 13 89 list;
#X obj 231 149 % 100;
#X connect 0 0 9 0;
#X connect 2 0 17 0;
#X connect 3 0 10 0;
#X connect 5 0 14 0;
#X connect 6 0 8 0;
#X connect 7 0 3 0;
#X connect 8 0 5 0;
#X connect 9 0 2 0;
#X connect 9 1 6 0;
#X connect 9 2 7 0;
#X connect 10 0 18 0;
#X connect 11 0 12 1;
#X connect 12 0 13 1;
#X connect 13 0 15 0;
#X connect 14 0 16 0;
#X connect 15 0 1 0;
#X connect 16 0 12 0;
#X connect 17 0 13 0;
#X connect 18 0 11 0;
#X restore 37 252 pd sec-to-time-symbol;
#X obj 3 46 r \$0-start;
#X obj 124 1 bng 14 250 50 0 \$0-start empty empty 17 7 0 10 -4034
-1 -1;
#X obj 124 17 bng 14 250 50 0 \$0-stop empty empty 17 7 0 10 -258113
-1 -1;
#X obj 141 9 bng 14 250 50 0 \$0-reset empty empty 17 7 0 10 -262144
-1 -1;
#X obj 176 29 r \$0-reset;
#X obj 80 46 r \$0-stop;
#X msg 3 71 1;
#X msg 80 71 0;
#X obj 37 121 f 0;
#X msg 199 130 -1;
#X obj 113 223 symbol -:--:--;
#X obj 37 150 metro 1000;
#X obj 37 289 list prepend;
#X obj 215 252 f \$0;
#X obj 163 81 t b b b f f b;
#X msg 37 317 \; \$1-time_display label \$2;
#X connect 1 0 2 1;
#X connect 2 0 1 0;
#X connect 2 0 5 0;
#X connect 3 0 20 0;
#X connect 4 0 3 0;
#X connect 5 0 18 0;
#X connect 6 0 12 0;
#X connect 10 0 3 0;
#X connect 11 0 13 0;
#X connect 12 0 14 0;
#X connect 13 0 14 0;
#X connect 14 0 17 0;
#X connect 15 0 1 0;
#X connect 16 0 18 0;
#X connect 17 0 2 0;
#X connect 18 0 21 0;
#X connect 19 0 18 1;
#X connect 20 0 14 0;
#X connect 20 1 16 0;
#X connect 20 2 15 0;
#X connect 20 3 2 0;
#X connect 20 4 17 0;
#X connect 20 5 19 0;
#X coords 0 -1 1 30 158 32 1 0 0;


Re: [PD] Array that scrolls from right to left

2009-02-23 Thread Martin Schied

Hi!

Sebastien Lelong wrote:


So far so good, I've been able to build all the OSC part, and even 
plot things in a array in pd~, but I can only find a way to plot data 
from left to right, and when array's end is reached, clear it and 
start from beginning again. In other words, I can't make it scroll...


I made something very similar but whithout scrolling originally. I added 
something to make it scroll, view the attached patch. there's a settable 
refreshrate (redraws the array every n values) so it doesn't consume too 
much CPU just for redrawing.


I'm not sure if that third part of the patch should be optimized like 
the first one - does copying and rewriting from a 'visible' array 
refresh the array on each write? Perhaps someone knows...



Martin




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


Re: [PD] Array that scrolls from right to left

2009-02-23 Thread Sebastien Lelong
Hi Frank,


Thanks for your help. I'm getting things that "kind of" scroll... building
an horrible patch :) Some values are random, I guess I have a problem when
access extremities of the array. I'm sure there's something simpler,
probably using trigger, but I can't figure out how I could use a trigger
here. Could you give one last hint ? I guess I need to learn how to "think"
pure data...

Anyway, thanks again.

Cheers,
Seb



Hallo,
> Sebastien Lelong hat gesagt: // Sebastien Lelong wrote:
>
> > I've recently discovered Pure Data as versatile platform I could use to
> > build a robotic GUI. The idea is to collect data from a robot, send it to
> an
> > OSC (open source control) server, get the data in pd~ and deal with it.
> One
> > important aspect would be to plot data, in real-time, so the graph
> scrolls
> > from right to left, and data is appended to the end of array (right)
> (well,
> > I hope what I write is understandable...).
> >
> > So far so good, I've been able to build all the OSC part, and even plot
> > things in a array in pd~, but I can only find a way to plot data from
> left
> > to right, and when array's end is reached, clear it and start from
> beginning
> > again. In other words, I can't make it scroll...
>
> One simple way to make it scroll would be to use [list-lastx
> ] from the [list]-abs collection. Just prepend a 0 to the
> outgoing list and send it to a receiver named after the table like this:
>
>  [table DATA 16]
>
>  [r ROBOT]
>  |
>  [list-lastx 16]
>  |
>  [list prepend 0]
>  |
>  [s DATA]
>
> Alternatively do it manuall. The basic algorithm is this:
>
> If a new ROBOT-float comes in store it. Then start a loop over the table
> where you
>
> 1) read out the current element with [tabread]
> 2) store it in the right inlet of a [float]
> 3) write the new value into the table with [tabwrite]
> 4) increment your counter
> 5) repeat using the float stored in 2) as the new value.
>
> This is a good excercise to get familiar with the [trigger] object and
> Pd's execution order.
>
> Ciao
> --
> Frank
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>



-- 
Sébastien Lelong
http://www.sirloon.net
http://sirbot.org
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] I am a new user confused as to why I cant get GEM object to work.

2009-02-23 Thread Jack
Have you installed X11 ?
What did you get in your console when you start Pd ?
++

Jack


Le 23 févr. 09 à 19:09, Geoff a écrit :

> Hi
> I am using PD-extended 0.40.3 on a Macbook  osx 10.4
>
> but I cannot seem to get the GEM bits to work.
>
> I am going through the PMPD example patches but none of the GEM
> objects work.
>
> I have looked into the contents of PD extended and I can see lots of
> help files related to GEM in there.
>
> But if I try to create a GEM object I just get the dotted red box.
>
> So I went to the Pure community website and downloaded GEM for mac
> OSX but there are not instructions for installing on MAC OSX their
> were instructions for pc and linux but no osx.
>
> I am stuck I have googled this, but can't find an answer.
>
>
> How do I get the GEM objects to work in PD on mac OSX 10.4?
>
> Any help appreciated as I am getting no-where :)
>
> cheers
> geoff
>
>
> ___
> 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] I am a new user confused as to why I cant get GEM object to work.

2009-02-23 Thread Geoff
Hi
I am using PD-extended 0.40.3 on a Macbook  osx 10.4

but I cannot seem to get the GEM bits to work.

I am going through the PMPD example patches but none of the GEM  
objects work.

I have looked into the contents of PD extended and I can see lots of  
help files related to GEM in there.

But if I try to create a GEM object I just get the dotted red box.

So I went to the Pure community website and downloaded GEM for mac  
OSX but there are not instructions for installing on MAC OSX their  
were instructions for pc and linux but no osx.

I am stuck I have googled this, but can't find an answer.


How do I get the GEM objects to work in PD on mac OSX 10.4?

Any help appreciated as I am getting no-where :)

cheers
geoff


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


Re: [PD] Array that scrolls from right to left

2009-02-23 Thread Frank Barknecht
Hallo,
Sebastien Lelong hat gesagt: // Sebastien Lelong wrote:

> I've recently discovered Pure Data as versatile platform I could use to
> build a robotic GUI. The idea is to collect data from a robot, send it to an
> OSC (open source control) server, get the data in pd~ and deal with it. One
> important aspect would be to plot data, in real-time, so the graph scrolls
> from right to left, and data is appended to the end of array (right) (well,
> I hope what I write is understandable...).
> 
> So far so good, I've been able to build all the OSC part, and even plot
> things in a array in pd~, but I can only find a way to plot data from left
> to right, and when array's end is reached, clear it and start from beginning
> again. In other words, I can't make it scroll...

One simple way to make it scroll would be to use [list-lastx
] from the [list]-abs collection. Just prepend a 0 to the
outgoing list and send it to a receiver named after the table like this: 

 [table DATA 16]

 [r ROBOT]
 |
 [list-lastx 16]
 |
 [list prepend 0]
 |
 [s DATA]

Alternatively do it manuall. The basic algorithm is this: 

If a new ROBOT-float comes in store it. Then start a loop over the table
where you

1) read out the current element with [tabread]
2) store it in the right inlet of a [float]
3) write the new value into the table with [tabwrite]
4) increment your counter
5) repeat using the float stored in 2) as the new value.

This is a good excercise to get familiar with the [trigger] object and
Pd's execution order.

Ciao
-- 
Frank

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


[PD] Array that scrolls from right to left

2009-02-23 Thread Sebastien Lelong
Hi guys,


I've recently discovered Pure Data as versatile platform I could use to
build a robotic GUI. The idea is to collect data from a robot, send it to an
OSC (open source control) server, get the data in pd~ and deal with it. One
important aspect would be to plot data, in real-time, so the graph scrolls
from right to left, and data is appended to the end of array (right) (well,
I hope what I write is understandable...).

So far so good, I've been able to build all the OSC part, and even plot
things in a array in pd~, but I can only find a way to plot data from left
to right, and when array's end is reached, clear it and start from beginning
again. In other words, I can't make it scroll...

Is there a common, usual way to do this ? Should I use "struct", "pointer"
and other kind of advanced stuffs ? Is there any externals I could use or
base on to build this ?


Thanks in advance for your help,
Cheers,
Seb
-- 
Sébastien Lelong
http://sirbot.org
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] libflac7

2009-02-23 Thread Hans-Christoph Steiner

I recently stripped out obsolete packages from the build server, so  
current builds should only have distro-appropriate versions of the  
library.  If not, please file a bug report so it'll get fixed.

.hc

On Feb 23, 2009, at 7:22 AM, Georg Werner wrote:

> hi,
>
> i installed Pd-extended recently on xubuntu and found the tutorial on
> floss manuals ( http://en.flossmanuals.net/PureData/InstallingUbuntu )
> very useful. my question: is Pd still depending on libflac7 and
> libjasper? if yes, the repositories for feisty have to be updated:
>
> deb http://old-releases.ubuntu.com/ubuntu/ feisty main restricted
> deb-src http://old-releases.ubuntu.com/ubuntu/ feisty main restricted
>
> feisty isn't officially supported no more.
> g.
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list









"It is convenient to imagine a power beyond us because that means we  
don't have to examine our own lives.", from "The Idols of  
Environmentalism", by Curtis White





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


[PD] libflac7

2009-02-23 Thread Georg Werner
hi,

i installed Pd-extended recently on xubuntu and found the tutorial on 
floss manuals ( http://en.flossmanuals.net/PureData/InstallingUbuntu ) 
very useful. my question: is Pd still depending on libflac7 and 
libjasper? if yes, the repositories for feisty have to be updated:

deb http://old-releases.ubuntu.com/ubuntu/ feisty main restricted
deb-src http://old-releases.ubuntu.com/ubuntu/ feisty main restricted

feisty isn't officially supported no more.
g.

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


Re: [PD] finding funding to the PdCon09

2009-02-23 Thread Loic Kessous
I just joined the Pd (I switched from max) a few month ago, and I  
would be very happy to join too, an I'm also french, so if someone has  
news about this oprion, please tell me.
loic

On Feb 21, 2009, at 1:51 AM, David Doukhan wrote:

> 2009/2/21 Alexandre Porres :
>> Aparently it does if you lived, worked, studied, for a while there...
>
> you mean in Switzerland? I never went there...
>
>> I am just wondering how ere they partners with the previous  
>> convention.
>> I just realized that this year is the "YEAR OF FRANCE IN BRASIL"
>
> I was not aware of that event...
>
>> So I really strongly believe we can bring people from France this  
>> year if we
>> look our way into it...
>> what you say?
>
> I say it could be marvelous!!!
> Let me know about if you think you can do something... I'll try to ask
> around me also...
>
>> cheers
>>
>
> cheers!
>
>> On Fri, Feb 20, 2009 at 9:38 PM, David Doukhan > >
>> wrote:
>>>
>>> Does the Swiss Pro Helvetia fund works for european who are not  
>>> living in
>>> Swiss?
>>> Does anyone have an idea on the way to get funds if I'm French?
>>>
>>> 2009/2/20 Alexandre Porres :
 yep. I did ask some Austrians I know :)
 another thing is the Swiss Pro Helvetia fund. It seems that any  
 who did
 study some time there can apply. And I see they were partners  
 with the
 previous convention.
 I will get in touch with them too, but anybody knows how did that  
 work
 in
 the past?
 cheers
 alex
 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management ->
 http://lists.puredata.info/listinfo/pd-list


>>>
>>>
>>>
>>> --
>>> David Doukhan
>>
>>
>>
>> --
>> Alexandre Torres Porres
>> cel. (11)8179-6226
>> Website: http://porres.googlepages.com/home
>> http://www.myspace.com/alexandretorresporres
>>
>>
>
>
>
> -- 
> David Doukhan
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list

Loic Kessous

Université Pierre et Marie Curie
Institut des Systèmes Intelligents et de Robotique
CNRS UMR 7222
Boite Courrier : 173

4 Place Jussieu
75252 Paris Cedex 05, FRANCE
loic.kess...@gmail.com



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


Re: [PD] symbol anxiety

2009-02-23 Thread Frank Barknecht
Hallo,
Phil Stone hat gesagt: // Phil Stone wrote:

> Attached is [maketime], a lovely little timer/stopwatch.  I've long 
> since lost track of who made it, so I'm sorry can't give you 
> well-deserved credit here.  At any rate, it creates *at least* one 
> symbol per second (probably more, I'm not sure if each [makefilename] 
> generates a new symbol, but I'm guessing it does).  This makes me 
> nervous, as I have no idea what the symbol table capacity is, or how to 
> see how "full" it is.  It seems likely that this abstraction would crash 
> eventually.

A fix for this maketime would be to reuse the symbols ":00" ... ":59"
for minutes and hours by using two [cnv] objects for these. Then you
would be able to let the clock run for decades before you get into
trouble with the symbol table.

Every table or receiver or route-selector etc. also is a symbol. So
while the implementation of the symbol table is suboptimal, in practice
it's not something you need to worry about too much. At least it should
not make you replace [route freq note] with [route 0 1] :-)

Ciao
-- 
Frank

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