Re: [PD] externals tutorial: link error

2011-02-19 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/18/2011 11:04 PM, Elliott Slaughter wrote:
 
 Thanks. The MSW fix worked. Funny that m_pd.h can't figure that out
 automatically

???
m_pd.h is a file that cannot do anything on it's own.

also, this file is only used during the compilation stage, whereas your
problem comes from the linker stage.

linking on windows is usually very restrictive, in that it requires the
developer to explicitely define what they want to export (when writing
dllS) or what they want to import (when using dllS)

this requirement obviously counteracts the idea of m_pd.h (or anything
else) to _automatically_ figure it out.

two more things:
- - when using __declspec() you should _always_ use MACROs, in order to
make porting (and maintainance) easiert. look at the EXTERN definition
in m_pd.h how Pd does this.

- - you can also tell the linker directly which symbols you want to
export. e.g, using M$VC's you can add a linker flag like
/export:foo_setup, which will make the foo_setup function accessible
by Pd.

fgmadr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1foMUACgkQkX2Xpv6ydvQGfACgybLPfdw/Vq02JJzP6nf2Xi7T
R2oAoJfdc14q+H3H+wFPSNXnl+7jDmbR
=dkPM
-END PGP SIGNATURE-

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


[PD] [PD-announce] Pd-berlin meeting next tuesday, 22nd February

2011-02-19 Thread João Pais

Hello,

next tuesday, 22nd February, will be the next meeting of Pure Data users
in Berlin at NK (http://www.nkprojekt.de/) - Elsenstr. 52, 2HH 2Etage.


Besides normal Pd subjects, this reunion will be the first to prepare for  
the Berlin module of the Pd Convention (Weimar) in August. As the Berlin  
Pd community will be organising a weekend of events, we invite you to  
bring suggestions about these topics:

- what kind of events to organise? Presentations, workshops, concerts?
- how do you want to get involved with the organisation and participation?
- suggestions to get support for the events
- suggestions for venues
- etc.


For more information, look up
http://puredata.info/community/organization/pd-berlin/pd-berlin-users-group.
We also encourage you to take an active part, and put up suggestions for
topics you want to talk about / topics you want to be talked about.


Doors are open from 20h-20h15. After that they'll be closed, and you will
have to call someone from the Pd-meeting to get in. To get a telephone
number to call or confirm assistance you can write to
info_at_minitronics.net.

Please, don´t call to the staff of NK to open the doors. They let us use
the space but we have to take care about having the meeting without
producing any disturbance to them, and to clean the space after the
meeting.


We would apreciate if you would send us a small mail to
info_at_minitronics.net with your name, Pd experience and interests, so
that we know how many people might be coming. Or put your name in the
pd-berlin wiki page.


We would like to thank the support and willingness of NK in the
organization of these events.

João Pais

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


Re: [PD] donecanvasdialog missing argument (hidetext)

2011-02-19 Thread Mathieu Bouchard

On Sat, 19 Feb 2011, patko wrote:

Allright I've understood, to make it clear, if graphme = 0 it doesn't 
graph on parent


if graphme is 1 it graph on parent but display name and arguments, and 
then,


if graphme is 2 or 3 it does graph on parent and hides name and argument


Yeah, and for reasons beyond us (and probably beyond anyone else), the 
canvas properties dialogue window sends a 3 in a donecanvasdialog message, 
whereas the canvas writes a 2 in a #X coords message.


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


Re: [PD] FLOSS book Lists chapter

2011-02-19 Thread Mathieu Bouchard

On Fri, 18 Feb 2011, Jonathan Wilkes wrote:

That's all true.  I guess I'm limiting it to unwanted ambiguities that 
_cannot_ be resolved by looking at the patch.  So things like fanouts 
and [r] creation order wouldn't count as long as having a different 
connection/creation order doesn't upset the function of the patch.


When I wrote them, I didn't want to say that they are absolutely wrong. 
Some people are very strict about using [t] instead of every fan-out, but 
I'm not one of them.


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


Re: [PD] FLOSS book Lists chapter

2011-02-19 Thread Mathieu Bouchard

On Fri, 18 Feb 2011, Hans-Christoph Steiner wrote:

On Feb 16, 2011, at 8:27 PM, Jonathan Wilkes wrote:

1 Don't have wires overlapping object boxes, object xlets, or object text*
2 Avoid horizontal wires

- good layout to represent the flow of the data
- encapsulation into rational chunks
- and more...


Hi. The topic is : what are sources of _ambiguïty_ in patching ? (how can 
we avoid ambiguïty in patching ?)


Thank you.

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


Re: [PD] Compiling vanilla 0.42-5 on OS X 10.6

2011-02-19 Thread Hans-Christoph Steiner


On Feb 19, 2011, at 1:40 AM, Elliott Slaughter wrote:

On Fri, Feb 18, 2011 at 9:16 PM, Hans-Christoph Steiner  
h...@at.or.at wrote:


./configure --disable-fat

That is a warning related to building universal.

Ok, build gets a little further, and then:

../portaudio/src/hostapi/coreaudio/pa_mac_core.c: In function  
‘OpenAndSetupOneAudioUnit’:
../portaudio/src/hostapi/coreaudio/pa_mac_core.c:752: error:  
‘ComponentDescription’ undeclared (first use in this function)


Full compile log: http://pastebin.com/BSFuybnC

Thanks for the help.


You probably need to use a newer version of portaudio for 10.6  
download it from portaudio.com and replace the 'portaudio' folder.


.hc




.hc


On Feb 18, 2011, at 11:25 PM, Elliott Slaughter wrote:

Hi,

I'm trying to compile vanilla Pd 0.42-5 from source on Mac OS X  
10.6, and after doing a ./configure and make got a lot of warnings  
followed by:


lipo: can't figure out the architecture type of: /var/folders/pI/ 
pIcjee4GEbOGlylnzdAsZTI/-Tmp-//ccLn5z7A.out


Am I missing something? The instructions didn't make this sound hard.

I'm using Xcode 3.2.5 (GCC 4.2.1).

Thanks in advance.

--
Elliott Slaughter

Don't worry about what anybody else is going to do. The best way to  
predict the future is to invent it. - Alan Kay

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





News is what people want to keep hidden and everything else is  
publicity.  - Bill Moyers






--
Elliott Slaughter

Don't worry about what anybody else is going to do. The best way to  
predict the future is to invent it. - Alan Kay






Making boring techno music is really easy with modern tools, but with  
live coding, boring techno is much harder. - Chris McCormick





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


Re: [PD] FLOSS book Lists chapter

2011-02-19 Thread Andy Farnell
On Fri, 18 Feb 2011 17:48:21 -0800 (PST)
Jonathan Wilkes jancs...@yahoo.com wrote:


  I guess I'm limiting it to unwanted ambiguities that 
 _cannot_ be resolved by looking at the patch.  

Maybe we could look at it in another way, and ask what information
is hidden in a patch? Most we have mentioned so far:

 1) Values of IEM GUIs
 2) Creation order of cables
 3) Differing implementations of objects
 4) Creation order of objects

In that scheme, obscured things like inlets behind
wires would count. Using real fancy graphics in a modern
interface maybe some use of transparency can be made.
I always liked the VST hosts where you could shake
cables.

This made me think of a help to revealing (2). If an interface
were to have hover-over tooltips, as has been discussed at times
for outlets/inlets, then a cable could reveal its creation
order on hover.

It wouldn't obviate triggers, but would make a nice debugging
feature.

a.

-- 
Andy Farnell padawa...@obiwannabe.co.uk

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


Re: [PD] Pd-extended 0.42.5 Lucid - Audio Settings / Delay - not working!

2011-02-19 Thread Ingo
No Bernardo,

I get the same or even better latencies. Down to 6 ms with a very complex
patch. Alsa is giving me more problems like digital A/D/A sync errors.

As far as I know alsa is using oss anyway. Don't know if I'm wrong here.

Ingo


 -Ursprüngliche Nachricht-
 Von: Bernardo Barros [mailto:bernardobarr...@gmail.com]
 Gesendet: Freitag, 18. Februar 2011 17:14
 An: Ingo Scherzinger
 Cc: tim vets; pd-list@iem.at
 Betreff: Re: [PD] Pd-extended 0.42.5 Lucid - Audio Settings / Delay - not
 working!
 
 Ingo, I think OSS can offer you just very high latency. You can't get
 realtime with it.  Did you test this 8ms latency, is that actually
 waht happens?
 
 I get latencies as low as 5~10 ms with alsa and jack.
 
 Besides, if you configure your system right with ALSA and JACK, you
 don't need to run PD as root. Don't run programs as root, this is not
 safe.


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


Re: [PD] Pd-extended 0.42.5 Lucid - Audio Settings / Delay - notworking!

2011-02-19 Thread Ingo
No Bernardo,

I get the same or even better latencies. Down to 5-6 ms (pd audio sttings
display) with a very complex patch. Alsa is giving me more problems like
digital A/D/A sync errors.
As far as I know alsa is using oss anyway. Not sure if I'm wrong here.

Anyway, I just figured out what the problem was. I had a -blocksize 64
flag set when starting the patch. Changing this blocksize to a higher value
like 512 did the trick. Now higher delay settings have an effect.

Seems a bit strange to me as the actual blocksize doesn't seem to change but
the maximum buffer size is increasing.

It also like it's giving me a slightly lower cpu consumption (10-20%). I'll
have to try different values in order to see what seems to be the best
setting.

Ingo


 -Ursprüngliche Nachricht-
 Von: Bernardo Barros [mailto:bernardobarr...@gmail.com]
 Betreff: Re: [PD] Pd-extended 0.42.5 Lucid - Audio Settings / Delay - 
 not working!
 
 Ingo, I think OSS can offer you just very high latency. You can't get 
 realtime with it.  Did you test this 8ms latency, is that actually 
 waht happens?
 
 I get latencies as low as 5~10 ms with alsa and jack.
 
 Besides, if you configure your system right with ALSA and JACK, you 
 don't need to run PD as root. Don't run programs as root, this is not 
 safe.


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


Re: [PD] Pd-extended 0.42.5 Lucid - Audio Settings / Delay - not working!

2011-02-19 Thread Ingo
Besides the audio I sometimes need to run some [shell] commands that require
root rights. No way to run it without being root.

Ingo

  Besides, if you configure your system right with ALSA and JACK, you 
  don't need to run PD as root. Don't run programs as root, this is 
  not safe.
 
 i couldn't have said that better.
 
 gamdsr
 IOhannes



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


Re: [PD] FLOSS book Lists chapter

2011-02-19 Thread Marco Donnarumma

 This made me think of a help to revealing (2). If an interface
 were to have hover-over tooltips, as has been discussed at times
 for outlets/inlets, then a cable could reveal its creation
 order on hover.

 It wouldn't obviate triggers, but would make a nice debugging
 feature.




+1



-- 
Marco Donnarumma
Independent New Media and Sonic Arts Professional, Performer, Instructor
ACE, Sound Design MSc by Research (ongoing)
The University of Edinburgh, UK
~
Portfolio: http://marcodonnarumma.com
Lab: http://www.thesaddj.com | http://cntrl.sourceforge.net |
http://www.flxer.net
Event: http://www.liveperformersmeeting.net
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] time to test 9.13 on osx-intel (fwd)

2011-02-19 Thread Mathieu Bouchard


I spent a bunch of hours on these builds.
Could someone confirms that test8 works ?

-- Forwarded message --
Date: Sat, 19 Feb 2011 13:09:16 -0500 (EST)
From: Mathieu Bouchard ma...@artengine.ca
To: gridflow-...@artengine.ca
Subject: Re: time to test 9.13 on osx-intel

On Sat, 19 Feb 2011, Mathieu Bouchard wrote:

http://gridflow.ca/download/packages/gridflow-9.13-macosx104-i386-test7.tar.gz

test6 fixed libiconv and libintl support on OSX 10.4.

test7 fixed png read/write (libpng version conflict... 1.2 vs 1.4)

I still haven't got back libcv support (it was included in GF 9.9 - 9.12)


http://gridflow.ca/download/packages/gridflow-9.13-macosx104-i386-test8.tar.gz

test8 builds with libcv again.

as an exercise, try loading doc/flow_classes/cv/#SVD-help.pd and make sure that 
clicking on the messagebox does output three grids. You should see 3.60555 in 
the first one.


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


Re: [PD] tracking multiblob with constant ID

2011-02-19 Thread Mathieu Bouchard

On Fri, 18 Feb 2011, Jaime Oliver wrote:

We're working to get a more definite solution. This is a kind of object 
that i think wold be of general use for pd users.  So, I imagine other 
people have done similar objects??? 


Matching nearest neighbours in general is a nice idea, but if you wanted 
something based on actual overlap of the detected areas, you can't do that 
with min/max data or centroïd data. That's why [#labelling] also outputs a 
version of the incoming grid in which the 1 regions have all been 
flood-filled with distinct integers (numbered from 2 upwards ; it can go 
well beyond 255 if needed).


However, I don't know any easy way to compare two images for overlap (in 
number of pixels), and I have not tried this yet (nor any other form of 
tracking of the found regions).


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


Re: [PD] FLOSS book Lists chapter

2011-02-19 Thread Hans-Christoph Steiner


On Feb 19, 2011, at 12:46 PM, Marco Donnarumma wrote:


This made me think of a help to revealing (2). If an interface
were to have hover-over tooltips, as has been discussed at times
for outlets/inlets, then a cable could reveal its creation
order on hover.

It wouldn't obviate triggers, but would make a nice debugging
feature.




+1




I don't think the connection order should be exposed.  I really think  
that the GUI should not encourage bad programming practice.  Its also  
this same reason why I think that 95% of the time, segmented patch  
cords are bad.


But yes, tooltips showing what messages an inlet expects would be  
great to have.  Check out the l2ork distro for the new version of  
J.Sarlo's magic glass cord inspector.


.hc




  http://at.or.at/hans/


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


Re: [PD] Pd-extended 0.42.5 Lucid - Audio Settings / Delay - not working!

2011-02-19 Thread Hans-Christoph Steiner


Use sudo.

.hc

On Feb 19, 2011, at 12:45 PM, Ingo wrote:

Besides the audio I sometimes need to run some [shell] commands that  
require

root rights. No way to run it without being root.

Ingo


Besides, if you configure your system right with ALSA and JACK, you
don't need to run PD as root. Don't run programs as root, this is
not safe.


i couldn't have said that better.

gamdsr
IOhannes




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





“We must become the change we want to see. - Mahatma Gandhi


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


[PD] [PD-announce] IRC channel for PureData

2011-02-19 Thread Mathieu Bouchard


There is an IRC channel for PureData on the IRC.FreeNode.Net network and 
the name of the channel is #dataflow.


Just a reminder because I hadn't announced it in a long, long time.

 ___
| Mathieu Bouchard  tél: +1.514.383.3801  Villeray, Montréal, QC___
Pd-announce mailing list
pd-annou...@iem.at
http://lists.puredata.info/listinfo/pd-announce
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pd-kinect-skeleton

2011-02-19 Thread Hans-Christoph Steiner


I got it working using an external program called OSCeleton and then  
just received the data via OSC:


https://github.com/pd-projects/pd-kinect-skeleton

.hc

On Feb 19, 2011, at 1:31 PM, Pagano, Patrick wrote:



Hi

I have snow leopard and a kinect and would love to try this out, but  
I am

a little confused by the insane flurry of emails regarding this.
Does the kinect work with pd?

What does one need to build or prepare for the patches to work?

Thanks in advance

pp







Looking at things from a more basic level, you can come up with a more  
direct solution... It may sound small in theory, but it in practice,  
it can change entire economies. - Amy Smith




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


Re: [PD] Pd-extended 0.42.5 Lucid - Audio Settings / Delay - not working!

2011-02-19 Thread Pedro Lopes
classic
What is sudo: http://xkcd.com/149/
/classic
On Sat, Feb 19, 2011 at 6:50 PM, Hans-Christoph Steiner h...@at.or.atwrote:


 Use sudo.

 .hc

 On Feb 19, 2011, at 12:45 PM, Ingo wrote:

  Besides the audio I sometimes need to run some [shell] commands that
 require
 root rights. No way to run it without being root.

 Ingo

  Besides, if you configure your system right with ALSA and JACK, you
 don't need to run PD as root. Don't run programs as root, this is
 not safe.


 i couldn't have said that better.

 gamdsr
 IOhannes




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




 

 “We must become the change we want to see. - Mahatma Gandhi


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




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


Re: [PD] donecanvasdialog missing argument (hidetext)

2011-02-19 Thread patko
 There is another thing about this feature I'd like to flag, dunno if I have to 
create a new topic for this

 When the donecanvasdialog message has been sent to my subpatch in runtime, if 
I close the patch I have a message appearing for saving changes in the patch,
like if I used the properties dialog box, that's a bit annoying because the 
patch isn't supposed to save changes.

 I hope I've been clear enough with this problem.

- Mathieu Bouchard ma...@artengine.ca a écrit :

 On Sat, 19 Feb 2011, patko wrote:
 
  Allright I've understood, to make it clear, if graphme = 0 it
 doesn't 
  graph on parent
 
  if graphme is 1 it graph on parent but display name and arguments,
 and 
  then,
 
  if graphme is 2 or 3 it does graph on parent and hides name and
 argument
 
 Yeah, and for reasons beyond us (and probably beyond anyone else), the
 
 canvas properties dialogue window sends a 3 in a donecanvasdialog
 message, 
 whereas the canvas writes a 2 in a #X coords message.
 
  
 ___
 | Mathieu Bouchard  tél: +1.514.383.3801  Villeray, Montréal,
 QC

-- 
Patrice Colet 

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


Re: [PD] donecanvasdialog missing argument (hidetext)

2011-02-19 Thread Mathieu Bouchard

On Sat, 19 Feb 2011, patko wrote:

When the donecanvasdialog message has been sent to my subpatch in 
runtime, if I close the patch I have a message appearing for saving 
changes in the patch, like if I used the properties dialog box, that's a 
bit annoying because the patch isn't supposed to save changes.


That might have been the reason why I used the coords method instead.

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


[PD] data structure array not mouse editable

2011-02-19 Thread patko

Hello,

 I'd like to draw array with data structures that is not mouse editable, and 
I've seen it's possible to do such thing by drawing array of array.

From what I've understood by reading the archives, this is not really an 
intended behavior.

So I'd like to know if this behavior will stay like this, or if there is a plot 
option to disable mouse editing.

-- 
Patrice Colet 

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


[PD] loadbang not sent for dynamically created objects?

2011-02-19 Thread John Harrison
is it correct behavior that loadbang will not be called when it is part of a
dynamically created object? See attached. If you load test-do, it will
create an instance of test when you click on the message. Test should print
loadbang and initbang, but it only prints initbang.



-- 
John
#N canvas 854 533 450 300 10;
#X obj 214 80 loadbang;
#X obj 216 119 print loadbang;
#X obj 100 79 initbang;
#X obj 102 118 print initbang;
#X connect 0 0 1 0;
#X connect 2 0 3 0;
#N canvas 538 60 879 604 10;
#N canvas 387 681 450 300 creation_pool 1;
#X restore 601 431 pd creation_pool;
#X obj 415 370 s pd-creation_pool;
#X msg 405 325 obj 10 20 test;
#X connect 2 0 1 0;
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] donecanvasdialog missing argument (hidetext)

2011-02-19 Thread patko

- Mathieu Bouchard ma...@artengine.ca a écrit :

 On Sat, 19 Feb 2011, patko wrote:
 
  When the donecanvasdialog message has been sent to my subpatch in 
  runtime, if I close the patch I have a message appearing for saving
 
  changes in the patch, like if I used the properties dialog box,
 that's a 
  bit annoying because the patch isn't supposed to save changes.
 
 That might have been the reason why I used the coords method
 instead.
 


where this method is documented?
  
 ___
 | Mathieu Bouchard  tél: +1.514.383.3801  Villeray, Montréal,
 QC

-- 
Patrice Colet 

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


Re: [PD] loadbang not sent for dynamically created objects?

2011-02-19 Thread Pedro Lopes
I've tested you patch, happens here too.
But I'm no expert in this behavior. :)

p.s.: The help patch on loadbang states that a bang is sent when the patch
is loaded. Is it a semantic issue? Patch vs. abstraction?  or merely a
problem.. 'Cause initbang bangs.




2011/2/19 John Harrison johnharrison...@gmail.com

 is it correct behavior that loadbang will not be called when it is part of
 a dynamically created object? See attached. If you load test-do, it will
 create an instance of test when you click on the message. Test should print
 loadbang and initbang, but it only prints initbang.



 --
 John


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




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


Re: [PD] loadbang not sent for dynamically created objects?

2011-02-19 Thread cyrille henry

hello,

yes, this is known.
you have to explicitly send the loadbang, like in this patch, using your 
exemple.
(don't know about initbang, i don't use it)
c


Le 19/02/2011 20:33, John Harrison a écrit :

is it correct behavior that loadbang will not be called when it is part of a 
dynamically created object? See attached. If you load test-do, it will create 
an instance of test when you click on the message. Test should print loadbang 
and initbang, but it only prints initbang.



--
John



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


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


Re: [PD] loadbang not sent for dynamically created objects?

2011-02-19 Thread Pedro Lopes
yes, this is known.
By known you mean.. Is it on the bug tracker already?

When such things are discovered (and by things I mean issues), shouldn't
they be documented inside the help patches?

It helps a lot those getting inside pd.

Best,
pedro


On Sat, Feb 19, 2011 at 7:44 PM, cyrille henry c...@chnry.net wrote:

 hello,

 yes, this is known.
 you have to explicitly send the loadbang, like in this patch, using your
 exemple.
 (don't know about initbang, i don't use it)
 c


 Le 19/02/2011 20:33, John Harrison a écrit :

 is it correct behavior that loadbang will not be called when it is part of
 a dynamically created object? See attached. If you load test-do, it will
 create an instance of test when you click on the message. Test should print
 loadbang and initbang, but it only prints initbang.



 --
 John



 ___
 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




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


Re: [PD] loadbang not sent for dynamically created objects?

2011-02-19 Thread John Harrison
Cyrille I just tried your solution and the problem is that all objects
sharing the name of the dynamically-created object all get the loadbang
message.

On Sat, Feb 19, 2011 at 1:49 PM, Pedro Lopes pedro.lo...@ist.utl.pt wrote:

 yes, this is known.
 By known you mean.. Is it on the bug tracker already?

 When such things are discovered (and by things I mean issues), shouldn't
 they be documented inside the help patches?

 It helps a lot those getting inside pd.

 Best,
 pedro


 On Sat, Feb 19, 2011 at 7:44 PM, cyrille henry c...@chnry.net wrote:

 hello,

 yes, this is known.
 you have to explicitly send the loadbang, like in this patch, using your
 exemple.
 (don't know about initbang, i don't use it)
 c


 Le 19/02/2011 20:33, John Harrison a écrit :

 is it correct behavior that loadbang will not be called when it is part
 of a dynamically created object? See attached. If you load test-do, it will
 create an instance of test when you click on the message. Test should print
 loadbang and initbang, but it only prints initbang.



 --
 John



 ___
 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




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

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


Re: [PD] loadbang not sent for dynamically created objects?

2011-02-19 Thread cyrille henry



Le 19/02/2011 20:49, Pedro Lopes a écrit :

 yes, this is known.
By known you mean.. Is it on the bug tracker already?

no, it's not considered as a bug.



When such things are discovered (and by things I mean issues), shouldn't they 
be documented inside the help patches?

dynamic patching is not officially supported.

if issues are discovered (and by this i mean bug), they should be post on the 
bug tracker, to be corrected.
c



It helps a lot those getting inside pd.

Best,
pedro


On Sat, Feb 19, 2011 at 7:44 PM, cyrille henry c...@chnry.net 
mailto:c...@chnry.net wrote:

hello,

yes, this is known.
you have to explicitly send the loadbang, like in this patch, using your 
exemple.
(don't know about initbang, i don't use it)
c


Le 19/02/2011 20:33, John Harrison a écrit :

is it correct behavior that loadbang will not be called when it is part 
of a dynamically created object? See attached. If you load test-do, it will 
create an instance of test when you click on the message. Test should print 
loadbang and initbang, but it only prints initbang.



--
John



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


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




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



___
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] loadbang not sent for dynamically created objects?

2011-02-19 Thread cyrille henry



Le 19/02/2011 20:58, John Harrison a écrit :

Cyrille I just tried your solution and the problem is that all objects sharing 
the name of the dynamically-created object all get the loadbang message.

yes.
you should create them all in the same time, and then send the loadbang.
if this is not possible, you can still :
-use different name on your object
-use argument on the abstraction and send to bang to a [receive loadbang-$1] 
object inside your abstraction
-use initbang
-use a [oneshot] object (or similar) after the loadbang

anyway, i think using dynamic creation in real time is bad.
imho, it really should be limited for patch creation.

c



On Sat, Feb 19, 2011 at 1:49 PM, Pedro Lopes pedro.lo...@ist.utl.pt 
mailto:pedro.lo...@ist.utl.pt wrote:

 yes, this is known.
By known you mean.. Is it on the bug tracker already?

When such things are discovered (and by things I mean issues), shouldn't 
they be documented inside the help patches?

It helps a lot those getting inside pd.

Best,
pedro


On Sat, Feb 19, 2011 at 7:44 PM, cyrille henry c...@chnry.net 
mailto:c...@chnry.net wrote:

hello,

yes, this is known.
you have to explicitly send the loadbang, like in this patch, using 
your exemple.
(don't know about initbang, i don't use it)
c


Le 19/02/2011 20:33, John Harrison a écrit :

is it correct behavior that loadbang will not be called when it is 
part of a dynamically created object? See attached. If you load test-do, it 
will create an instance of test when you click on the message. Test should 
print loadbang and initbang, but it only prints initbang.



--
John



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


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




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







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


Re: [PD] loadbang not sent for dynamically created objects?

2011-02-19 Thread Pedro Lopes
uhhh not officially supported sounds great.

Okay, didn't knew that position. Comment withdrawn.

Best,
Pedro

On Sat, Feb 19, 2011 at 8:01 PM, cyrille henry c...@chnry.net wrote:



 Le 19/02/2011 20:49, Pedro Lopes a écrit :

   yes, this is known.
 By known you mean.. Is it on the bug tracker already?

 no, it's not considered as a bug.



 When such things are discovered (and by things I mean issues), shouldn't
 they be documented inside the help patches?

 dynamic patching is not officially supported.

 if issues are discovered (and by this i mean bug), they should be post on
 the bug tracker, to be corrected.
 c


 It helps a lot those getting inside pd.

 Best,
 pedro


 On Sat, Feb 19, 2011 at 7:44 PM, cyrille henry c...@chnry.net mailto:
 c...@chnry.net wrote:

hello,

yes, this is known.
you have to explicitly send the loadbang, like in this patch, using
 your exemple.
(don't know about initbang, i don't use it)
c


Le 19/02/2011 20:33, John Harrison a écrit :

is it correct behavior that loadbang will not be called when it is
 part of a dynamically created object? See attached. If you load test-do, it
 will create an instance of test when you click on the message. Test should
 print loadbang and initbang, but it only prints initbang.



--
John



___
Pd-list@iem.at mailto:Pd-list@iem.at mailing list

UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list


___
Pd-list@iem.at mailto:Pd-list@iem.at mailing list

UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list




 --
 Pedro Lopes (MSc)
 contact: pedro.lo...@ist.utl.pt mailto:pedro.lo...@ist.utl.pt

 website: http://web.ist.utl.pt/Pedro.Lopes /
 http://pedrolopesresearch.wordpress.com/ |
 http://twitter.com/plopesresearch



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




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


Re: [PD] pd-kinect-skeleton

2011-02-19 Thread Pagano, Patrick

Hi

I have snow leopard and a kinect and would love to try this out, but I am
a little confused by the insane flurry of emails regarding this.
Does the kinect work with pd?

What does one need to build or prepare for the patches to work?

Thanks in advance

pp


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


Re: [PD] donecanvasdialog missing argument (hidetext)

2011-02-19 Thread Mathieu Bouchard

On Sat, 19 Feb 2011, patko wrote:

- Mathieu Bouchard ma...@artengine.ca a écrit :

That might have been the reason why I used the coords method
instead.


where this method is documented?


In the source code.

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


Re: [PD] Compiling vanilla 0.42-5 on OS X 10.6

2011-02-19 Thread Elliott Slaughter
On Sat, Feb 19, 2011 at 8:41 AM, Hans-Christoph Steiner h...@at.or.atwrote:


 On Feb 19, 2011, at 1:40 AM, Elliott Slaughter wrote:

 On Fri, Feb 18, 2011 at 9:16 PM, Hans-Christoph Steiner h...@at.or.atwrote:


 ./configure --disable-fat

 That is a warning related to building universal.


 Ok, build gets a little further, and then:

 ../portaudio/src/hostapi/coreaudio/pa_mac_core.c: In function
 ‘OpenAndSetupOneAudioUnit’:
 ../portaudio/src/hostapi/coreaudio/pa_mac_core.c:752: error:
 ‘ComponentDescription’ undeclared (first use in this function)

 Full compile log: http://pastebin.com/BSFuybnC

 Thanks for the help.


 You probably need to use a newer version of portaudio for 10.6 download it
 from portaudio.com and replace the 'portaudio' folder.


The last stable version is the same as the one included in pd-0.42, and the
latest svn snapshot doesn't compile for me, so I appear to be stuck here.
(Also, the src/os/mac_osx directory appears to be empty in the latest svn
version, which makes pd unhappy.)

ld: duplicate symbol _PaUtil_FlushRingBuffer in
src/common/.libs/pa_ringbuffer.o and src/common/.libs/pa_ringbuffer.o
(From trying to do ./configure  make in portaudio.)

i686-apple-darwin10-gcc-4.2.1: ../portaudio/src/common/pa_skeleton.c: No
such file or directory
i686-apple-darwin10-gcc-4.2.1:
../portaudio/src/os/mac_osx/pa_mac_hostapis.c: No such file or directory
(After stuffing the new portaudio into my pd directory.)

Suggestions?

.hc



 .hc


 On Feb 18, 2011, at 11:25 PM, Elliott Slaughter wrote:

  Hi,

 I'm trying to compile vanilla Pd 0.42-5 from source on Mac OS X 10.6, and
 after doing a ./configure and make got a lot of warnings followed by:

 lipo: can't figure out the architecture type of:
 /var/folders/pI/pIcjee4GEbOGlylnzdAsZTI/-Tmp-//ccLn5z7A.out

 Am I missing something? The instructions didn't make this sound hard.

 I'm using Xcode 3.2.5 (GCC 4.2.1).

 Thanks in advance.

 --
 Elliott Slaughter

 Don't worry about what anybody else is going to do. The best way to
 predict the future is to invent it. - Alan Kay
  ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list





 

 News is what people want to keep hidden and everything else is publicity.
  - Bill Moyers





 --
 Elliott Slaughter

 Don't worry about what anybody else is going to do. The best way to
 predict the future is to invent it. - Alan Kay





 

 Making boring techno music is really easy with modern tools, but with live
 coding, boring techno is much harder. - Chris McCormick







-- 
Elliott Slaughter

Don't worry about what anybody else is going to do. The best way to predict
the future is to invent it. - Alan Kay
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] donecanvasdialog missing argument (hidetext)

2011-02-19 Thread patko
Allright I've got it from canvas_coords() in g_canvas.c and arguments are 
appearing in this order:

[coords xFrom yFrom xTo yTo xWidth yHeigth GraphMe Xmargin Ymargin(
|
[s mysubpatch]

It's far better than  donecanvasdialog method !


- Mathieu Bouchard ma...@artengine.ca a écrit :

 On Sat, 19 Feb 2011, patko wrote:
  - Mathieu Bouchard ma...@artengine.ca a écrit :
  That might have been the reason why I used the coords method
  instead.
 
  where this method is documented?
 
 In the source code.
 
  
 ___
 | Mathieu Bouchard  tél: +1.514.383.3801  Villeray, Montréal,
 QC

-- 
Patrice Colet 

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


Re: [PD] FLOSS book Lists chapter

2011-02-19 Thread Jonathan Wilkes
How can you say that segmented patch cords are bad 95% of the time when they 
are not even available in Pd 100% of the time?

Just to take Miller#39;s Techniques as an example, if there were segmented 
patch cords then all of his horizontal connections could be made unambiguous by 
having about 5px of vertical cord segment directly above the inlet.

Also, I#39;ve never seen you complain about any of the ASCII art on the this 
list, which often (surely more than 5% of the time) uses - and | at 
90-degree angles and + to make segmented patch cords.

-Jonathan


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


Re: [PD] FLOSS book Lists chapter

2011-02-19 Thread Jonathan Wilkes
If you never depend on connection order (which you sholdn#39;t because, as 
we#39;ve discussed, it is visually ambiguous), then how exactly would that 
help you debug?

-Jonathan


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


Re: [PD] FLOSS book Lists chapter

2011-02-19 Thread Jonathan Wilkes
 Regarding ambiguity, I#39;d say a good rule of thumb is that one should be 
able to draw the patch on a sheet of paper without introducing any ambiguity.  
So things like inlet tool tips and cord shaking don#39;t resolve ambiguity in 
the visual representation of the patch, though they may be useful in other ways.


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


Re: [PD] time to test 9.13 on osx-intel (fwd)

2011-02-19 Thread Mike Moser-Booth
Just gave it a go. I get this message when Pd starts:

/Library/Pd/gridflow/gridflow.pd_darwin:
dlopen(/Library/Pd/gridflow/gridflow.pd_darwin, 10): Library not
loaded: /sw/lib/libpng14.14.dylib
  Referenced from: /Library/Pd/gridflow/gridflow.pd_darwin
  Reason: image not found
gridflow: can't load library

.mmb

On Sat, Feb 19, 2011 at 1:41 PM, Mathieu Bouchard ma...@artengine.ca wrote:

 I spent a bunch of hours on these builds.
 Could someone confirms that test8 works ?

 -- Forwarded message --
 Date: Sat, 19 Feb 2011 13:09:16 -0500 (EST)
 From: Mathieu Bouchard ma...@artengine.ca
 To: gridflow-...@artengine.ca
 Subject: Re: time to test 9.13 on osx-intel

 On Sat, 19 Feb 2011, Mathieu Bouchard wrote:


 http://gridflow.ca/download/packages/gridflow-9.13-macosx104-i386-test7.tar.gz

 test6 fixed libiconv and libintl support on OSX 10.4.

 test7 fixed png read/write (libpng version conflict... 1.2 vs 1.4)

 I still haven't got back libcv support (it was included in GF 9.9 - 9.12)

 http://gridflow.ca/download/packages/gridflow-9.13-macosx104-i386-test8.tar.gz

 test8 builds with libcv again.

 as an exercise, try loading doc/flow_classes/cv/#SVD-help.pd and make sure
 that clicking on the messagebox does output three grids. You should see
 3.60555 in the first one.

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





-- 
Mike Moser-Booth
mmoserbo...@gmail.com

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


Re: [PD] FLOSS book Lists chapter

2011-02-19 Thread Mathieu Bouchard

On Sat, 19 Feb 2011, Jonathan Wilkes wrote:

How can you say that segmented patch cords are bad 95% of the time when 
they are not even available in Pd 100% of the time? Just to take 
Miller's Techniques as an example, if there were segmented patch cords 
then all of his horizontal connections could be made unambiguous by 
having about 5px of vertical cord segment directly above the inlet.


If you continue arguing this, you could be wasting as much time as I did !

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


Re: [PD] data structure array not mouse editable

2011-02-19 Thread patko
I've just seen that an array of array is now mouse editable

so is there an option to make an array not mouse editable, or to disable mouse 
edition of x or y or w?


- patko colet.patr...@free.fr a écrit :

 Hello,
 
  I'd like to draw array with data structures that is not mouse
 editable, and I've seen it's possible to do such thing by drawing
 array of array.
 
 From what I've understood by reading the archives, this is not really
 an intended behavior.
 
 So I'd like to know if this behavior will stay like this, or if there
 is a plot option to disable mouse editing.
 
 -- 
 Patrice Colet 
 
 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list

-- 
Patrice Colet 

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


Re: [PD] loadbang not sent for dynamically created objects?

2011-02-19 Thread Mathieu Bouchard

On Sat, 19 Feb 2011, Pedro Lopes wrote:


uhhh not officially supported sounds great.
Okay, didn't knew that position. Comment withdrawn. 


Ah, btw, you have to know what official means in the pd world.

GUI classes outside of Pd are all using unofficial, unsupported APIs.

It's been like that for over ten years. All that time, people have been 
bundling g_canvas.h with their externals because Pd distributions don't 
come with that file, because it's unofficial.


That's what unofficial means around here : without unofficial APIs, you 
can hardly get anything done.


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


Re: [PD] pd-kinect-skeleton

2011-02-19 Thread Hans-Christoph Steiner


https://github.com/Sensebloom/OSCeleton

.hc

On Feb 19, 2011, at 4:41 PM, Pagano, Patrick wrote:


Thanks Hans is osckeleton an install or a build?

Patrick Pagano B.S.,M.F.A
Digital Media Engineer
UF Digital Worlds Institute
(352)294-2020


On Feb 19, 2011, at 1:57 PM, Hans-Christoph Steiner  
h...@at.or.at wrote:




I got it working using an external program called OSCeleton and then
just received the data via OSC:

https://github.com/pd-projects/pd-kinect-skeleton

.hc

On Feb 19, 2011, at 1:31 PM, Pagano, Patrick wrote:



Hi

I have snow leopard and a kinect and would love to try this out, but
I am
a little confused by the insane flurry of emails regarding this.
Does the kinect work with pd?

What does one need to build or prepare for the patches to work?

Thanks in advance

pp







Looking at things from a more basic level, you can come up with a  
more

direct solution... It may sound small in theory, but it in practice,
it can change entire economies. - Amy Smith








  http://at.or.at/hans/



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


Re: [PD] data structure array not mouse editable

2011-02-19 Thread Jonathan Wilkes


--- On Sat, 2/19/11, patko colet.patr...@free.fr wrote:

 From: patko colet.patr...@free.fr
 Subject: Re: [PD] data structure array not mouse editable
 To: pd-list pd-list@iem.at
 Date: Saturday, February 19, 2011, 11:05 PM
 I've just seen that an array of array
 is now mouse editable
 
 so is there an option to make an array not mouse editable,
 or to disable mouse edition of x or y or w?

No, because there is no way to tell when the user is actively changing 
the value of an array element.  There is output from [struct] if you're 
changing the value of a float or symbol field, however, so for non-array 
fields you can create a hack that immediately sets any value changed by 
mouse interaction back to its previous value.

For array elements:
You can use [table] or a Put menu array as the real array data, and 
have your ds array poll that data periodically with a [metro whatever].  
Each time you poll, set reset the ds array elements to the corresponding 
elements of [table].  So the user can change the values, but they go 
back to their real values the next time you poll.

-Jonathan

 
 
 - patko colet.patr...@free.fr
 a écrit :
 
  Hello,
  
   I'd like to draw array with data structures that
 is not mouse
  editable, and I've seen it's possible to do such thing
 by drawing
  array of array.
  
  From what I've understood by reading the archives,
 this is not really
  an intended behavior.
  
  So I'd like to know if this behavior will stay like
 this, or if there
  is a plot option to disable mouse editing.
  
  -- 
  Patrice Colet 
  
  ___
  Pd-list@iem.at
 mailing list
  UNSUBSCRIBE and account-management -
  http://lists.puredata.info/listinfo/pd-list
 
 -- 
 Patrice Colet 
 
 ___
 Pd-list@iem.at
 mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list
 


  

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


Re: [PD] FLOSS book Lists chapter

2011-02-19 Thread Jonathan Wilkes


--- On Sat, 2/19/11, Mathieu Bouchard ma...@artengine.ca wrote:

 From: Mathieu Bouchard ma...@artengine.ca
 Subject: Re: [PD] FLOSS book Lists chapter
 To: Jonathan Wilkes jancs...@yahoo.com
 Cc: pd-list@iem.at
 Date: Saturday, February 19, 2011, 10:42 PM
 On Sat, 19 Feb 2011, Jonathan Wilkes
 wrote:
 
  How can you say that segmented patch cords are bad 95%
 of the time when they are not even available in Pd 100% of
 the time? Just to take Miller's Techniques as an example,
 if there were segmented patch cords then all of his
 horizontal connections could be made unambiguous by having
 about 5px of vertical cord segment directly above the
 inlet.
 
 If you continue arguing this, you could be wasting as much
 time as I did !

I'll continue to argue if hc gives me some Pd examples that back up his 
95% bad claim. But unless I'm missing a turn on segmented patch cords 
checkbutton buried in a menu somewhere, I believe this is the end of 
the argument.

-Jonathan

 
 
 ___
 | Mathieu Bouchard  tél: +1.514.383.3801 
 Villeray, Montréal, QC


  

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


Re: [PD] FLOSS book Lists chapter

2011-02-19 Thread Mathieu Bouchard

On Sat, 19 Feb 2011, Jonathan Wilkes wrote:

I'll continue to argue if hc gives me some Pd examples that back up his 
95% bad claim. But unless I'm missing a turn on segmented patch 
cords checkbutton buried in a menu somewhere, I believe this is the end 
of the argument.


The claim has been used for a long time, to justify why pd doesn't have 
this feature. Even though Pd doesn't have it, MAX has it, and this is what 
people here refer to when they talk about segmented patch cords (most of 
the time).


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


Re: [PD] loadbang not sent for dynamically created objects?

2011-02-19 Thread Mathieu Bouchard

On Sat, 19 Feb 2011, John Harrison wrote:

is it correct behavior that loadbang will not be called when it is part 
of a dynamically created object? See attached. If you load test-do, it 
will create an instance of test when you click on the message. Test 
should print loadbang and initbang, but it only prints initbang.


initbang is called when your [test] abstraction is finished loading.

loadbang is called when your [test] abstraction's parent is finished 
loading. in the case of dynamic patching, you're supposed to know when 
you're finished instantiating, and then call loadbang by yourself.


If your dynamic patching is incremental, you may use [gf/canvas_loadbang] 
with [gf/canvas_count], to send loadbang only to the new objects (and not 
to those that are supposed to have already received loadbang).


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


Re: [PD] time to test 9.13 on osx-intel (fwd)

2011-02-19 Thread Mathieu Bouchard

On Sat, 19 Feb 2011, Mike Moser-Booth wrote:


Just gave it a go. I get this message when Pd starts:

/Library/Pd/gridflow/gridflow.pd_darwin:
dlopen(/Library/Pd/gridflow/gridflow.pd_darwin, 10): Library not
loaded: /sw/lib/libpng14.14.dylib
 Referenced from: /Library/Pd/gridflow/gridflow.pd_darwin
 Reason: image not found
gridflow: can't load library


In test8 I reverted the png fix by accident. I fixed it back in test9 :

  http://gridflow.ca/download/packages/gridflow-9.13-macosx104-i386-test9.tar.gz

try again (please)

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


Re: [PD] loadbang not sent for dynamically created objects?

2011-02-19 Thread Husk 00
On Sat, Feb 19, 2011 at 9:07 PM, cyrille henry c...@chnry.net wrote:


 anyway, i think using dynamic creation in real time is bad.
 imho, it really should be limited for patch creation.



Hi Cyrille, can you explain better your position please?
I have been using dynamic patching in real time a lot in my works and
I didn't noticed big problems. It's more: it will be very hard to me
realize some programming without using dynamic creation at all.
So i'm just curious.
saluts
husk

-- 
when Art become pratical
we call it technology.

When Technology become useless
we call it Art

www.estereotips.net

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


Re: [PD] time to test 9.13 on osx-intel (fwd)

2011-02-19 Thread Mike Moser-Booth
Still get the same error. :-(

.mmb

On Sat, Feb 19, 2011 at 7:50 PM, Mathieu Bouchard ma...@artengine.ca wrote:
 On Sat, 19 Feb 2011, Mike Moser-Booth wrote:

 Just gave it a go. I get this message when Pd starts:

 /Library/Pd/gridflow/gridflow.pd_darwin:
 dlopen(/Library/Pd/gridflow/gridflow.pd_darwin, 10): Library not
 loaded: /sw/lib/libpng14.14.dylib
  Referenced from: /Library/Pd/gridflow/gridflow.pd_darwin
  Reason: image not found
 gridflow: can't load library

 In test8 I reverted the png fix by accident. I fixed it back in test9 :

  http://gridflow.ca/download/packages/gridflow-9.13-macosx104-i386-test9.tar.gz

 try again (please)

  ___
 | Mathieu Bouchard  tél: +1.514.383.3801  Villeray, Montréal, QC




-- 
Mike Moser-Booth
mmoserbo...@gmail.com

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


Re: [PD] donecanvasdialog missing argument (hidetext)

2011-02-19 Thread Mike Moser-Booth
If you send a [dirty 0( message after the [donecanvasdialog( one, you
can prevent the save changes dialog from popping up.

.mmb

On Sat, Feb 19, 2011 at 2:23 PM, patko colet.patr...@free.fr wrote:
  There is another thing about this feature I'd like to flag, dunno if I have 
 to create a new topic for this

  When the donecanvasdialog message has been sent to my subpatch in runtime, 
 if I close the patch I have a message appearing for saving changes in the 
 patch,
 like if I used the properties dialog box, that's a bit annoying because the 
 patch isn't supposed to save changes.

  I hope I've been clear enough with this problem.

 - Mathieu Bouchard ma...@artengine.ca a écrit :

 On Sat, 19 Feb 2011, patko wrote:

  Allright I've understood, to make it clear, if graphme = 0 it
 doesn't
  graph on parent
 
  if graphme is 1 it graph on parent but display name and arguments,
 and
  then,
 
  if graphme is 2 or 3 it does graph on parent and hides name and
 argument

 Yeah, and for reasons beyond us (and probably beyond anyone else), the

 canvas properties dialogue window sends a 3 in a donecanvasdialog
 message,
 whereas the canvas writes a 2 in a #X coords message.


 ___
 | Mathieu Bouchard  tél: +1.514.383.3801  Villeray, Montréal,
 QC

 --
 Patrice Colet

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




-- 
Mike Moser-Booth
mmoserbo...@gmail.com

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


Re: [PD] donecanvasdialog missing argument (hidetext)

2011-02-19 Thread Mathieu Bouchard

On Sat, 19 Feb 2011, Mike Moser-Booth wrote:


If you send a [dirty 0( message after the [donecanvasdialog( one, you
can prevent the save changes dialog from popping up.


You're also preventing it if it were supposed to pop up.

If you want to preserve the dirty-flag in its same state, you need either 
a way to read the flag, or a way to not modify it.


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


Re: [PD] FLOSS book Lists chapter

2011-02-19 Thread Jonathan Wilkes


--- On Sun, 2/20/11, Mathieu Bouchard ma...@artengine.ca wrote:

 From: Mathieu Bouchard ma...@artengine.ca
 Subject: Re: [PD] FLOSS book Lists chapter
 To: Jonathan Wilkes jancs...@yahoo.com
 Cc: pd-list@iem.at
 Date: Sunday, February 20, 2011, 1:40 AM
 On Sat, 19 Feb 2011, Jonathan Wilkes
 wrote:
 
  I'll continue to argue if hc gives me some Pd examples
 that back up his 95% bad claim. But unless I'm missing a
 turn on segmented patch cords checkbutton buried in a menu
 somewhere, I believe this is the end of the argument.
 
 The claim has been used for a long time, to justify why pd
 doesn't have this feature. Even though Pd doesn't have it,
 MAX has it, and this is what people here refer to when they
 talk about segmented patch cords (most of the time).

http://cycling74.com/docs/max5/vignettes/core/max_alphabetical.html

I started at the top, checked the help for all the objects under symbols 
and A.  Thirty-five help docs with 27 segmented patch cords, and 
_none_ of them are ambiguous.

So what exactly are people referring to, other than some anecdotal 
evidence about some students somewhere who made some patches with some 
segmented patch cords that they thought looked bad?

-Jonathan

 
 
 ___
 | Mathieu Bouchard  tél: +1.514.383.3801 
 Villeray, Montréal, QC
 


  

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


Re: [PD] pd-kinect-skeleton

2011-02-19 Thread Pagano, Patrick
Seems like everything built-- what has to be run for pd to notice it?

Patrick Pagano B.S.,M.F.A
Digital Media Engineer
UF Digital Worlds Institute
(352)294-2020


On Feb 19, 2011, at 6:23 PM, Hans-Christoph Steiner h...@at.or.at wrote:

 
 https://github.com/Sensebloom/OSCeleton
 
 .hc
 
 On Feb 19, 2011, at 4:41 PM, Pagano, Patrick wrote:
 
 Thanks Hans is osckeleton an install or a build?
 
 Patrick Pagano B.S.,M.F.A
 Digital Media Engineer
 UF Digital Worlds Institute
 (352)294-2020
 
 
 On Feb 19, 2011, at 1:57 PM, Hans-Christoph Steiner  
 h...@at.or.at wrote:
 
 
 I got it working using an external program called OSCeleton and then
 just received the data via OSC:
 
 https://github.com/pd-projects/pd-kinect-skeleton
 
 .hc
 
 On Feb 19, 2011, at 1:31 PM, Pagano, Patrick wrote:
 
 
 Hi
 
 I have snow leopard and a kinect and would love to try this out, but
 I am
 a little confused by the insane flurry of emails regarding this.
 Does the kinect work with pd?
 
 What does one need to build or prepare for the patches to work?
 
 Thanks in advance
 
 pp
 
 
 
 
 
 
 Looking at things from a more basic level, you can come up with a  
 more
 direct solution... It may sound small in theory, but it in practice,
 it can change entire economies. - Amy Smith
 
 
 
 
 
 
 
   http://at.or.at/hans/
 
 

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


Re: [PD] FLOSS book Lists chapter

2011-02-19 Thread Mathieu Bouchard

On Sat, 19 Feb 2011, Jonathan Wilkes wrote:

So what exactly are people referring to, other than some anecdotal 
evidence about some students somewhere who made some patches with some 
segmented patch cords that they thought looked bad?


I mean that they might be referring to anecdotal evidence involving MAX.

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


Re: [PD] time to test 9.13 on osx-intel (fwd)

2011-02-19 Thread Mathieu Bouchard

On Sat, 19 Feb 2011, Mike Moser-Booth wrote:


Still get the same error. :-(


ok, that was because I was linking with both the correct libpng and the 
wrong libpng. This is fixed, as well as another linkage problem (libiconv 
in libintl).


http://gridflow.ca/download/packages/gridflow-9.13-macosx104-i386-test10.tar.gz

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


Re: [PD] pd-kinect-skeleton

2011-02-19 Thread Hans-Christoph Steiner


Hmm, I don't remember, it was some command line program, it should be  
in the OSCeleton instructions.


.hc

On Feb 19, 2011, at 10:24 PM, Pagano, Patrick wrote:


Seems like everything built-- what has to be run for pd to notice it?

Patrick Pagano B.S.,M.F.A
Digital Media Engineer
UF Digital Worlds Institute
(352)294-2020


On Feb 19, 2011, at 6:23 PM, Hans-Christoph Steiner  
h...@at.or.at wrote:




https://github.com/Sensebloom/OSCeleton

.hc

On Feb 19, 2011, at 4:41 PM, Pagano, Patrick wrote:


Thanks Hans is osckeleton an install or a build?

Patrick Pagano B.S.,M.F.A
Digital Media Engineer
UF Digital Worlds Institute
(352)294-2020


On Feb 19, 2011, at 1:57 PM, Hans-Christoph Steiner
h...@at.or.at wrote:



I got it working using an external program called OSCeleton and  
then

just received the data via OSC:

https://github.com/pd-projects/pd-kinect-skeleton

.hc

On Feb 19, 2011, at 1:31 PM, Pagano, Patrick wrote:



Hi

I have snow leopard and a kinect and would love to try this out,  
but

I am
a little confused by the insane flurry of emails regarding this.
Does the kinect work with pd?

What does one need to build or prepare for the patches to work?

Thanks in advance

pp







Looking at things from a more basic level, you can come up with a
more
direct solution... It may sound small in theory, but it in  
practice,

it can change entire economies. - Amy Smith








 http://at.or.at/hans/








Making boring techno music is really easy with modern tools, but with  
live coding, boring techno is much harder. - Chris McCormick






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


Re: [PD] time to test 9.13 on osx-intel (fwd)

2011-02-19 Thread Mike Moser-Booth
The libpng error is gone, but now I get this one:

/Library/Pd/gridflow/gridflow.pd_darwin:
dlopen(/Library/Pd/gridflow/gridflow.pd_darwin, 10): Library not
loaded: /Users/pddev/.../lib/libcxcore.2.dylib
  Referenced from: /Library/Pd/gridflow/libs/libcv.2.dylib
  Reason: image not found
gridflow: can't load library

.mmb

On Sat, Feb 19, 2011 at 11:04 PM, Mathieu Bouchard ma...@artengine.ca wrote:
 On Sat, 19 Feb 2011, Mike Moser-Booth wrote:

 Still get the same error. :-(

 ok, that was because I was linking with both the correct libpng and the
 wrong libpng. This is fixed, as well as another linkage problem (libiconv in
 libintl).

 http://gridflow.ca/download/packages/gridflow-9.13-macosx104-i386-test10.tar.gz

  ___
 | Mathieu Bouchard  tél: +1.514.383.3801  Villeray, Montréal, QC



-- 
Mike Moser-Booth
mmoserbo...@gmail.com

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


Re: [PD] time to test 9.13 on osx-intel (fwd)

2011-02-19 Thread Mathieu Bouchard

On Sun, 20 Feb 2011, Mike Moser-Booth wrote:


The libpng error is gone, but now I get this one:

/Library/Pd/gridflow/gridflow.pd_darwin:
dlopen(/Library/Pd/gridflow/gridflow.pd_darwin, 10): Library not
loaded: /Users/pddev/.../lib/libcxcore.2.dylib
 Referenced from: /Library/Pd/gridflow/libs/libcv.2.dylib
 Reason: image not found
gridflow: can't load library


http://gridflow.ca/download/packages/gridflow-9.13-macosx104-i386-test11.tar.gz

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


Re: [PD] FLOSS book Lists chapter

2011-02-19 Thread Jonathan Wilkes


--- On Sun, 2/20/11, Mathieu Bouchard ma...@artengine.ca wrote:

 From: Mathieu Bouchard ma...@artengine.ca
 Subject: Re: [PD] FLOSS book Lists chapter
 To: Jonathan Wilkes jancs...@yahoo.com
 Cc: pd-list@iem.at
 Date: Sunday, February 20, 2011, 5:01 AM
 On Sat, 19 Feb 2011, Jonathan Wilkes
 wrote:
 
  So what exactly are people referring to, other than
 some anecdotal evidence about some students somewhere who
 made some patches with some segmented patch cords that they
 thought looked bad?
 
 I mean that they might be referring to anecdotal evidence
 involving MAX.

Yeah, I heard that this one guy had so many segmented patch cords in Max 
that he got tangled up in them, and he drowned, and Phil Collins saw it 
happen and wrote the song In the Air Tonight about the incident.

-Jonathan

 
 
 ___
 | Mathieu Bouchard  tél: +1.514.383.3801 
 Villeray, Montréal, QC
 


  

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