Re: [PD] Using dual processor to manage 2 Pd at the same time

2010-08-18 Thread João de Brito Vidigal
Since I'm doing this to ease multiple video processing (up to 18 short videos), do you think it's ok to open several different net ports? or will it then get stuck with that!? 2010/8/17 Mario Mora mare...@gmail.com Hi Joao You can achieve that by starting one instance of pd in the usual way

Re: [PD] Using dual processor to manage 2 Pd at the same time

2010-08-18 Thread Pedro Lopes
I open 40 sockets in pd sometimes (communicate with several flash/processing clients over OSC and simple string commands...well almost the same), never had an issue with that :) 2010/8/18 João de Brito Vidigal jbvidi...@gmail.com Since I'm doing this to ease multiple video processing (up to 18

Re: [PD] Using dual processor to manage 2 Pd at the same time

2010-08-18 Thread Roman Haefeli
On Wed, 2010-08-18 at 15:34 +0100, João de Brito Vidigal wrote: Since I'm doing this to ease multiple video processing (up to 18 short videos), do you think it's ok to open several different net ports? or will it then get stuck with that!? Most of the net classes in Pd I am aware of are not

Re: [PD] Using dual processor to manage 2 Pd at the same time

2010-08-18 Thread Pedro Lopes
p.s.: notice that my 40 sockets rarely have packets on them, its not poling intensive. Just from time to time, when users change stuff around.. 2010/8/18 Roman Haefeli reduz...@gmail.com On Wed, 2010-08-18 at 15:34 +0100, João de Brito Vidigal wrote: Since I'm doing this to ease multiple

Re: [PD] Using dual processor to manage 2 Pd at the same time

2010-08-18 Thread João de Brito Vidigal
I think I just have to send messages to open a specific file, turn it on and turn it off! should be no big deal! I was just trying the [pd~] object... it's too much for me... can't handle it... (specially under the stress I'm having!) So... I'll try the udp I guess... but how do I do that?

Re: [PD] Using dual processor to manage 2 Pd at the same time

2010-08-18 Thread Roman Haefeli
On Wed, 2010-08-18 at 16:27 +0100, João de Brito Vidigal wrote: So... I'll try the udp I guess... but how do I do that? I'd use [netsend 1] on the sender and [netreceive portnuber 1] on the sender. You can use 'localhost' as host, if both are running on the same box. Roman 2010/8/18 Pedro

[PD] Using dual processor to manage 2 Pd at the same time

2010-08-17 Thread João de Brito Rocha Reis Vidigal
Hi I remember reading somewhere that it is possible to have 2 Pd patches open running synched at the same time. This would be to manage sound and video in different patches in order not to get (or get less) glitches in sound and video. How do I do this?

Re: [PD] Using dual processor to manage 2 Pd at the same time

2010-08-17 Thread Mathieu Bouchard
On Tue, 17 Aug 2010, João de Brito Rocha Reis Vidigal wrote: I remember reading somewhere that it is possible to have 2 Pd patches open running synched at the same time. This would be to manage sound and video in different patches in order not to get (or get less) glitches in sound and video.

Re: [PD] Using dual processor to manage 2 Pd at the same time

2010-08-17 Thread Pierre Massat
Does this mean that in Linux and on a dual core machine one instance of Pd only uses one processor? Is there a way to know which processor it uses, and whether it always uses the same processor? Pierre 2010/8/17 Mathieu Bouchard ma...@artengine.ca On Tue, 17 Aug 2010, João de Brito Rocha Reis

Re: [PD] Using dual processor to manage 2 Pd at the same time

2010-08-17 Thread Bernardo Barros
For communications between the two instances you can use OSC - that's very flexible. Em 17 de agosto de 2010 11:55, Pierre Massat pimas...@gmail.com escreveu: Does this mean that in Linux and on a dual core machine one instance of Pd only uses one processor? Is there a way to know which

Re: [PD] Using dual processor to manage 2 Pd at the same time

2010-08-17 Thread Mathieu Bouchard
On Tue, 17 Aug 2010, Pierre Massat wrote: Does this mean that in Linux and on a dual core machine one instance of Pd only uses one processor? No, it doesn't mean that. But all the messages and signals circulate in a since thread (on a single cpu) unless you use special tools to split it

Re: [PD] Using dual processor to manage 2 Pd at the same time

2010-08-17 Thread João de Brito Rocha Reis Vidigal
Any idea on how to get the first Pd working with one processor and the second with the other? I'm using the Arduino firmata to trigger both sound and video. I think I can't open twice the same port! So how can I use the OSC then to sync the triggering!? On 17 Aug 2010, at 16:05, Mathieu

Re: [PD] Using dual processor to manage 2 Pd at the same time

2010-08-17 Thread Frank Barknecht
Hi, On Tue, Aug 17, 2010 at 11:05:57AM -0400, Mathieu Bouchard wrote: Also, [soundfiler], some GEM input/output classes, and much of PDP, can run in an alternate thread. I think, you mean [readsf~] and [writesf~] instead of [soundfiler] here, which in upstream Pd is unthreaded. [pd~] may be

Re: [PD] Using dual processor to manage 2 Pd at the same time

2010-08-17 Thread Miller Puckette
There's also the pd~ object that embeds a Pd instance within an object inside another one. It's still under development but I've already been using it pretty hard. cheers Miller On Tue, Aug 17, 2010 at 12:05:26PM -0300, Bernardo Barros wrote: For communications between the two instances you

Re: [PD] Using dual processor to manage 2 Pd at the same time

2010-08-17 Thread João de Brito Rocha Reis Vidigal
I'm using OSX I want to sync 2 PD's (not 2 PD patches). One to control sound the other to control video (GEM). (your OS can tell you in which CPU a process is running, there are several cmd tools in linux for that) can OSX do it as well? On 17 Aug 2010, at 16:15, Pedro Lopes wrote: Can you

Re: [PD] Using dual processor to manage 2 Pd at the same time

2010-08-17 Thread Pedro Lopes
Then OSC will suit your perfectly (you can just use your messages through sockets, if you don't want to use OSC, but I like it personally for many reasons). Just have one pd sending OSC messages to the other through a port. There's several issues regarding serious sync, but if you feel that its

Re: [PD] Using dual processor to manage 2 Pd at the same time

2010-08-17 Thread Mathieu Bouchard
On Tue, 17 Aug 2010, Frank Barknecht wrote: On Tue, Aug 17, 2010 at 11:05:57AM -0400, Mathieu Bouchard wrote: Also, [soundfiler], some GEM input/output classes, and much of PDP, can run in an alternate thread. I think, you mean [readsf~] and [writesf~] instead of [soundfiler] here, which in

Re: [PD] Using dual processor to manage 2 Pd at the same time

2010-08-17 Thread Max
download these patches, they describe different approaches in how to approach this http://web.uni-weimar.de/medien/wiki/Audiovideo mn. Am 17.08.2010 um 17:18 schrieb João de Brito Rocha Reis Vidigal: I'm using OSX I want to sync 2 PD's (not 2 PD patches). One to control sound the other to

Re: [PD] Using dual processor to manage 2 Pd at the same time

2010-08-17 Thread Mario Mora
Hi Joao You can achieve that by starting one instance of pd in the usual way (for audio process by example) and the other one using the terminal app , writing there the adress to the app and starting it with the ./Pd-extended command by exampleit is recommended that you start the pd instace