Re: [PD] problem in compiling puredata_opencv

2010-10-03 Thread ydego...@gmail.com

ola,

hum, get sure you've got something here:
/Library/Frameworks/OpenCV.framework/Headers/

and that you installed the target pd-extended too in :
/Applications/Pd-extended.app/Contents/Resources/include/

it should work then

saludos,
sevy


Adityo Pratomo wrote:

hi there,

i was compiling puredata_opencv this morning for a school project. 
however, i got this error while trying to compile it:


configure: error: you need to install opencv library (libcv)

i already followed all the sequence of compiling it. I'm on a Mac, so 
I already put the opencv framework on /Library/Frameworks folder, and 
I already downloaded the pd 0.42.5 and Gem 0.92.3, because i'm using 
the latest pd-extended.


any suggestion why is this happening? Or should I just use the 
previous pd-extended so that I can use the available packages of 
puredata_opencv?


Thank you very much for any help :)

--
mataharipertama.wordpress.com 
kotakmakan.multiply.com 


___
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] ugly fonts under pdextended 0.42.5

2010-10-03 Thread patrick

same problem here.
i guess we are too late for this report ;)

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


[PD] ugly fonts under pdextended 0.42.5

2010-10-03 Thread michael noble
hi all,

I was testing out the new pd-extended builds over the weekend and
found a common problem with the Lucid, Maverick and Debian builds . No
matter what I tried, I could not get pdextended to load with anything
other than the chunky default font, sans anti-aliasing. I have Dejavu
family fonts installed on all the test systems. I also tried using the
-font-face switch but it didn't seem to make a difference. At first I
thought it was something I was doing, but after having the same
problem on three different systems, I am now wondering if anyone else
is having this issue. Am I missing something blindingly obvious?

-michael

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


Re: [PD] markov chains?

2010-10-03 Thread William Brent
To throw in another example:

Markov chains are built in real time based on pianist input in
Philippe Manoury's piece, Pluton.  The patch for the piece is included
in the Pd Repertory Project on Miller's website.  It uses an extern
called [snarkov] though, so if you're looking for a purely patch-based
example it won't be useful.



On Thu, Sep 30, 2010 at 2:45 PM, L.J.  wrote:
> looking for implementations of markov chains i found
> http://footils.org/cms/weblog/2009/may/23/markov-chains-pure-data/
> but the page seems to be gone?
>
> can anybody point me to some simple markov patches?
> appreciated
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list
>



-- 
William Brent
www.williambrent.com

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com

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


Re: [PD] GUI speed

2010-10-03 Thread João Pais
It can't be done without modifying Tk. But if I do modify Tk in a way  
that

puts the results in variables, then I can pick up the results in Tcl and
send them back to Pd, so that, in addition to [cputime] which measures
only server time, you'd have a few more measurements, such as total time
spent in Tcl/Tk, total time spent in the Tk part, total time spend in the
rendering part of the Tk part, total time spent parsing, etc.


that could be interesting to measure tcl/tk efficiency and etc. For  
example, once I had a data structures patch with gop, that took me around  
20% cpu. I put it on gem, and it went to 0% - it wasn't a rough patch, but  
I think the whole gop+graphics was taking too much cpu.


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


[PD] problem in compiling puredata_opencv

2010-10-03 Thread Adityo Pratomo
hi there,

i was compiling puredata_opencv this morning for a school project. however,
i got this error while trying to compile it:

configure: error: you need to install opencv library (libcv)

i already followed all the sequence of compiling it. I'm on a Mac, so I
already put the opencv framework on /Library/Frameworks folder, and I
already downloaded the pd 0.42.5 and Gem 0.92.3, because i'm using the
latest pd-extended.

any suggestion why is this happening? Or should I just use the previous
pd-extended so that I can use the available packages of puredata_opencv?

Thank you very much for any help :)

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


Re: [PD] pdpcap 0.0.4 network sniffer new version

2010-10-03 Thread Jordi Sala
ok, then, the naming can be something like: pcap-live, pcap-file,.

On 3 October 2010 23:18, Hans-Christoph Steiner  wrote:

>
> Yeah, instead of making one big mega object that takes lots of messages,
> there could instead be a suite of objects like one for live capture, one for
> reading/writing files, one for translating port numbers to services,
> whatever is appropriate.
>
> .hc
>
> On Oct 1, 2010, at 7:57 PM, Jordi Sala wrote:
>
> Hans, so your proposal is to split the current pdpcap in 2 different
> objects: one for live (net device) capturing and a second one for pcap file
> reading?
>
> I like Mathieu's suggested name:1) the Mathieu's reasoning about naming,
>  2)the objects I think is differentiated of pdp, 3)doesn't lost enterely his
> original name pd-pcap,
>
> On 1 October 2010 14:20, Mathieu Bouchard  wrote:
>
>> On Thu, 30 Sep 2010, Jordi Sala wrote:
>>
>>  Yes it can be renamed, I named pdpcap when I started the object
>>> (PD+PCAPlib)...,... pcap could be a good nameany suggestions?
>>>
>>
>> name the package "pd-pcap" and the pd library file "pcap.pd_linux" for
>> example.
>>
>> Several programming languages use such naming... the hyphen makes it like
>> a namespace in the package-manager, and the complete lack of the "pd-"
>> prefix in the context of pd makes it look like you're loading the original
>> "pcap" itself into Pd (which, of course, makes a lot more sense if that's
>> exactly what your lib does : a plain wrapper and nothing else). I think that
>> this is the kind of naming that users of several other programming languages
>> have come to expect (Perl, Python, Tcl, Ruby, PHP, etc.)
>>
>>
>>  ___
>> | Mathieu Bouchard -- Villeray, Montréal, QC
>>
>
>
>
> --
> Jordi Sala
> http://musa.poperbu.net
>  ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
>
>
>
> 
>
> If nature has made any one thing less susceptible than all others of
> exclusive property, it is the action of the thinking power called an idea,
> which an individual may exclusively possess as long as he keeps it to
> himself; but the moment it is divulged, it forces itself into the possession
> of everyone, and the receiver cannot dispossess himself of it.-
> Thomas Jefferson
>
>
>


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


Re: [PD] good video codec for gem+windows ?

2010-10-03 Thread Fernando Krum
Ok Stefan,

just installed ubuntu studio 9.1 (Karmic, kernel 2.6.31-9-rt) on the
machine,
now trying to install the whole thing on the OS:

- pd extended;
then have to make a ps3eye camera to work,
then reactivision (using the ps3eye).
hope it will work out... :)


thanx.



Fernando .




M, stéfan piat  wrote:

> ink maybe to encode in .mjpg could do the trick
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Shuffling arrays

2010-10-03 Thread tim vets
William Brent's tabletool ?
http://williambrent.conflations.com/pages/research.html
gr,
Tim

2010/10/4 Andrew Faraday 

>  Hey Guys
>
> I've recently come across the .shuffle method in Ruby which randomly
> re-orders the content of an array. Does anyone know of a way to do this in
> Pd, that is, either change the order of notes within an array or output them
> in a random order (without repeating any part of it)?
>
> Help would be appreciated
>
> Andrew
>
> ___
> 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] namecanvas obsolete? Why? Re: Dynamic Graph on Parent

2010-10-03 Thread Jonathan Wilkes


--- On Sun, 10/3/10, Mathieu Bouchard  wrote:

> From: Mathieu Bouchard 
> Subject: Re: [PD] namecanvas obsolete? Why? Re:  Dynamic Graph on Parent
> To: "IOhannes m zmoelnig" 
> Cc: pd-list@iem.at
> Date: Sunday, October 3, 2010, 5:55 PM
> On Thu, 30 Sep 2010, IOhannes m
> zmoelnig wrote:
> > On 2010-09-30 13:59, Mathieu Bouchard wrote:
> >> It's not a concept of "this" as brandon wants it
> because it's not a
> >> receive-symbol. In iemguts, what is being used is
> a number that is the
> >> number of canvases to be climbed up the hierarchy
> : so, to get from a
> >> subpatch of a subpatch of an abstraction, to the
> parent of the
> >> abstraction, it takes the number 3.
> > do you mean [sendcanvas 3] would fullfill brandon's
> requirements?
> 
> I mean [sendcanvas 0] would fulfill them, and with a
> different argument, it can serve different purposes.
> 
> I just cloned it as [gf/canvas_send]. It's in the upcoming
> GridFlow 9.12.

Though this fulfills brandon's requirements, it still doesn't 
obsolete [namecanvas].  There are some things you can do 
with dynamic patching and mouse messages that rely on namecanvas 
to get click-free audio with user interaction, by cutting a
dummy object only from the abstraction that was most recently created.  It's 
not pretty, but it works.

Also, when I revised the help patches I removed the sentence 
about namecanvas being obsolete since it's an incorrect use of 
the word.

-Jonathan

> 
> 
> ___
> | Mathieu Bouchard -- Villeray,
> Montréal, QC
> -Inline Attachment Follows-
> 
> ___
> 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 on Atom Processors

2010-10-03 Thread Jose Luis Santorcuato
Yes. i have the same processor, atom 1.6 and 1 gb ram 160 hd... working for
workshops or examples not for hard work...

Best regards

José

2010/10/3 Ivica Ico Bukvic 

>  FWIW L2Ork (http://l2ork.music.vt.edu) runs entirely on MSI Wind U100
> netbooks with Atom processors. Everything works just fine. You will top off
> the CPU relatively quickly as these things are not built for speed. Still,
> you should get a decent amount of performance out of them. I haven’t used
> much Gem (yet) but did construct a few test patches and it did behave
> perfectly fine, even with Compiz on. The only device that has shown some
> instability is wireless which can occasionally drop a wireless connection
> (although this may be simply because I am running an older version of
> Ubuntu, namely 9.10).
>
>
>
> HTH
>
>
>
> Best wishes,
>
>
>
> Ico
>
>
>   --
>
> *From:* pd-list-boun...@iem.at [mailto:pd-list-boun...@iem.at] *On Behalf
> Of *Felix Obée
> *Sent:* Sunday, October 03, 2010 3:03 PM
> *To:* pd-list@iem.at
> *Subject:* [PD] PD on Atom Processors
>
>
>
> Hi together,
>
>
>
> is there someone who has experience running PD on Atom machines?
>
>
>
> I want to realize a simple video player for an installation using PD / GEM
> and an Arduino as Interface. The machine I am thinking about is a MSI
> Windbox running Linux,  booting from USB and playing the Videos on an
> SD-Card.
>
> Since Linux is preinstalled on the machine I expect no problems with the
> graphic drivers...
>
> Specs are:
>
>
>
> • Suse Linux Enterprise 11
> • Intel® Atom™ Prozessor D510
> (1,66 GHz, 1 MB L2 Cache)
> • 320 GB HD und 2 GB Ram
> • ATI® Radeon™ HD4330 Grafik, 256 MB
> • Intel® NM10 Express
> • WLAN 802.11 b/g/n und Gbit LAN
> • eSATA-Anschluß, SPDIF out Adapter
> • HDMI- und VGA-Ausgang
> • 6 in 1 Card Reader und 4 USB Ports
>
>
>
>
> http://de.msi.com/index.php?func=prodtmpspec&maincat_no=134&cat2_no=&cat3_no=&prod_no=2002#menu
>
>
>
> Thx for the help!
>
>
>
> Felix
>
>
>
> ...
> ---
> Felix Obée
> Weichselstr. 35
> 12045 Berlin
>
> Phone: 0178 / 49 31 008
>
> Phone: 030 / 55957397
> Mail: fe...@amphibiousthoughts.com
> http://amphibiousthoughts.com
>
> http://dj.amphibiousthoughts.com
> ---
>
>
>
>
>
>
>
>
>
>
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>


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


[PD] Shuffling arrays

2010-10-03 Thread Andrew Faraday

Hey Guys
I've recently come across the .shuffle method in Ruby which randomly re-orders 
the content of an array. Does anyone know of a way to do this in Pd, that is, 
either change the order of notes within an array or output them in a random 
order (without repeating any part of it)? 
Help would be appreciated
Andrew___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pdpcap 0.0.4 network sniffer new version

2010-10-03 Thread Hans-Christoph Steiner


Yeah, instead of making one big mega object that takes lots of  
messages, there could instead be a suite of objects like one for live  
capture, one for reading/writing files, one for translating port  
numbers to services, whatever is appropriate.


.hc

On Oct 1, 2010, at 7:57 PM, Jordi Sala wrote:

Hans, so your proposal is to split the current pdpcap in 2 different  
objects: one for live (net device) capturing and a second one for  
pcap file reading?


I like Mathieu's suggested name:1) the Mathieu's reasoning about  
naming,  2)the objects I think is differentiated of pdp, 3)doesn't  
lost enterely his original name pd-pcap,


On 1 October 2010 14:20, Mathieu Bouchard  wrote:
On Thu, 30 Sep 2010, Jordi Sala wrote:

Yes it can be renamed, I named pdpcap when I started the object (PD 
+PCAPlib)...,... pcap could be a good nameany suggestions?


name the package "pd-pcap" and the pd library file "pcap.pd_linux"  
for example.


Several programming languages use such naming... the hyphen makes it  
like a namespace in the package-manager, and the complete lack of  
the "pd-" prefix in the context of pd makes it look like you're  
loading the original "pcap" itself into Pd (which, of course, makes  
a lot more sense if that's exactly what your lib does : a plain  
wrapper and nothing else). I think that this is the kind of naming  
that users of several other programming languages have come to  
expect (Perl, Python, Tcl, Ruby, PHP, etc.)



  
___
| Mathieu Bouchard -- Villeray,  
Montréal, QC




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






If nature has made any one thing less susceptible than all others of  
exclusive property, it is the action of the thinking power called an  
idea, which an individual may exclusively possess as long as he keeps  
it to himself; but the moment it is divulged, it forces itself into  
the possession of everyone, and the receiver cannot dispossess himself  
of it.- Thomas Jefferson



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


Re: [PD] PD on Atom Processors

2010-10-03 Thread Ivica Ico Bukvic
FWIW L2Ork (http://l2ork.music.vt.edu  ) runs 
entirely on MSI Wind U100 netbooks with Atom processors. Everything works just 
fine. You will top off the CPU relatively quickly as these things are not built 
for speed. Still, you should get a decent amount of performance out of them. I 
haven’t used much Gem (yet) but did construct a few test patches and it did 
behave perfectly fine, even with Compiz on. The only device that has shown some 
instability is wireless which can occasionally drop a wireless connection 
(although this may be simply because I am running an older version of Ubuntu, 
namely 9.10).

 

HTH

 

Best wishes,

 

Ico

 

  _  

From: pd-list-boun...@iem.at [mailto:pd-list-boun...@iem.at] On Behalf Of Felix 
Obée
Sent: Sunday, October 03, 2010 3:03 PM
To: pd-list@iem.at
Subject: [PD] PD on Atom Processors

 

Hi together,

 

is there someone who has experience running PD on Atom machines?

 

I want to realize a simple video player for an installation using PD / GEM and 
an Arduino as Interface. The machine I am thinking about is a MSI Windbox 
running Linux,  booting from USB and playing the Videos on an SD-Card.

Since Linux is preinstalled on the machine I expect no problems with the 
graphic drivers...

Specs are:

 

• Suse Linux Enterprise 11
• Intel® Atom™ Prozessor D510
(1,66 GHz, 1 MB L2 Cache)
• 320 GB HD und 2 GB Ram
• ATI® Radeon™ HD4330 Grafik, 256 MB 
• Intel® NM10 Express
• WLAN 802.11 b/g/n und Gbit LAN
• eSATA-Anschluß, SPDIF out Adapter
• HDMI- und VGA-Ausgang
• 6 in 1 Card Reader und 4 USB Ports

 

http://de.msi.com/index.php?func=prodtmpspec 

 &maincat_no=134&cat2_no=&cat3_no=&prod_no=2002#menu

 

Thx for the help!

 

Felix

 

...
---
Felix Obée
Weichselstr. 35
12045 Berlin

Phone: 0178 / 49 31 008

Phone: 030 / 55957397
Mail: fe...@amphibiousthoughts.com
http://amphibiousthoughts.com

http://dj.amphibiousthoughts.com
---

 

 

 

 

 

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


Re: [PD] [PD-dev] vinylcontrol~

2010-10-03 Thread patko
hello,

this crashes on last vanilla release, win32 6.0
 
- "Jean-Yves Gratius"  a écrit :

> Hi
> I just compiled vinylcontrol for windows, but I did'nt test it with
> real 
> vinyl.
> Please try this (see attachment)
> 
> J.Y.G
> 
> P.S. In order to compile it , i had to slightly change the code in 
> timecoder.c
> 
> 
> ___
> Pd-dev mailing list
> pd-...@iem.at
> http://lists.puredata.info/listinfo/pd-dev

-- 
Patrice Colet 

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


[PD] PD on Atom Processors

2010-10-03 Thread Felix Obée
Hi together,

is there someone who has experience running PD on Atom machines?

I want to realize a simple video player for an installation using PD / GEM and 
an Arduino as Interface. The machine I am thinking about is a MSI Windbox 
running Linux,  booting from USB and playing the Videos on an SD-Card.
Since Linux is preinstalled on the machine I expect no problems with the 
graphic drivers...
Specs are:

• Suse Linux Enterprise 11
• Intel® Atom™ Prozessor D510
(1,66 GHz, 1 MB L2 Cache)
• 320 GB HD und 2 GB Ram
• ATI® Radeon™ HD4330 Grafik, 256 MB 
• Intel® NM10 Express
• WLAN 802.11 b/g/n und Gbit LAN
• eSATA-Anschluß, SPDIF out Adapter
• HDMI- und VGA-Ausgang
• 6 in 1 Card Reader und 4 USB Ports

http://de.msi.com/index.php?func=prodtmpspec&maincat_no=134&cat2_no=&cat3_no=&prod_no=2002#menu

Thx for the help!

Felix

...
---
Felix Obée
Weichselstr. 35
12045 Berlin

Phone: 0178 / 49 31 008
Phone: 030 / 55957397
Mail: fe...@amphibiousthoughts.com
http://amphibiousthoughts.com
http://dj.amphibiousthoughts.com
---





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


Re: [PD] GEM performance problem on ubuntu 64 bit and/or mac hardware?

2010-10-03 Thread Mathieu Bouchard

On Sun, 3 Oct 2010, Matteo Sisti Sette wrote:

She has tried a patch which plays 4 videos at the same time and she 
experience much worse performance than I do with the same patch and same 
videos on my intel core duo 2.1 GHz pc. I'm not sure if the macbook may 
have a slower hard disk or a less powerful gpu, but the difference in 
performance is about a factor 2, it's huge.


Try it with four videos short enough so that the hard disk is not getting 
accessed after they have looped. Then measure performance while the hard 
disk is not being accessed. This will give you figures independent of 
hard-disk speed.


It's not just the speed of the hard-disk and GPU, it's also the speed of 
the connector between the CPU and the GPU, and the connector between the 
CPU and the hard disk.


Also the speed of the hard disk differs depending on whether your data is 
fragmented. If you have four "defragmented" files you are trying to read 
continuously little bit by little bit, you're actually doing a very 
fragmented reading. What happens if you glue together the four videos as 
one big video ? does the hard disk work less ?


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


Re: [PD] GUI speed

2010-10-03 Thread Mathieu Bouchard

On Wed, 29 Sep 2010, João Pais wrote:

p.s.: interesting exercise for those that wanna see how much time your 
cpu wastes with gui in pd is running a patch without gui.  I had a 
project that used my DTW in pd and a long patch (for my standards) and 
when we ran it for the first time without gui... wow. Somethings went 
faster than expected and some didn't work because it was all too fast 
:) A bit of cleaning solved it, but its an interesting test for 
non-visual patches.


if you know a good way to measure this (cputime or whatever), a nice thing 
could be an abstraction that makes a test and outputs the results.


It can't be done without modifying Tk. But if I do modify Tk in a way that 
puts the results in variables, then I can pick up the results in Tcl and 
send them back to Pd, so that, in addition to [cputime] which measures 
only server time, you'd have a few more measurements, such as total time 
spent in Tcl/Tk, total time spent in the Tk part, total time spend in the 
rendering part of the Tk part, total time spent parsing, etc.


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


[PD] GEM performance problem on ubuntu 64 bit and/or mac hardware?

2010-10-03 Thread Matteo Sisti Sette

Hi,

Is there any known serious performance issue with GEM on Ubuntu 64bit?
Or is there some known problem with this OS on intel macs?

A friend of mine has just installed Ubuntu 10.04 amd64 on her Macbook 
pro which has an intel core duo 2.4GHz processor.


She has tried a patch which plays 4 videos at the same time and she 
experience much worse performance than I do with the same patch and same 
videos on my intel core duo 2.1 GHz pc.


The only differences appear to be the hardware and the fact she is using 
64bit ubuntu while mine is 32bit.


I'm not sure if the macbook may have a slower hard disk or a less 
powerful gpu, but the difference in performance is about a factor 2, 
it's huge.


I know this is very little information but does this remember you of 
some known issue?


thanks
m.

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


Re: [PD] GUI speed

2010-10-03 Thread Mathieu Bouchard

On Tue, 28 Sep 2010, András Murányi wrote:

Much of the speed improvement that can be made, can only be made by 
modifying Tk's source code itself (or switching to a different 
renderer).


I spoke a bit too fast. It depends on the situation. Still it's easy to 
make the GUI spend 75 ms on a single draw, it's just that there's 
something else sucking 1000 ms at the same time. There are some other 
situations where it's the opposite. But this is made by measuring times 
directly in the idle-function of tk/src/generic/tkCanvas.c and adding a 
XSync so that I get the time of a ping to the X server included in the 
figures (make sure the X11 commands are sent and applied, not just 
buffered in the tk process).


...and/or, as far as i understood, reinventing pd in a way that the GUI 
doesn't chat with the core about gui elements and their properties, but 
the core is limited to audio and other "abstract" calculations and it's 
the GUI which takes care of everything that happens on the GUI.


I made something close to this already... but it's not automatically 
faster.


but i have a feeling that Tcl/Tk is not that slow by itself but the 
bottleneck is GUI<->core communication. C'mon, drawing a number with a 
big font threatens the CPU? On the computers we have, in 2010? I can't 
believe that.


Then why would you believe that the TCP/IP loopback that is used to 
communicate between Pd server and client would be any slower than a 
gigabit ethernet ?... On the computers we have, in 2010 ? It's not like 
it's going over a RS232 serial pork.


So, the answer is trickier than that. There are several other parts 
standing between a gui object and the X11 server. Here's the complete 
chain :


  1. GUI Object
  2. sys_vgui commands and the output buffer
  3. the TCP socket pair in loopback mode
  4. the input buffer
  5. [info complete] or equivalent
  6. [eval] or equivalent
  7. Tk Canvas commands
  8. Tk Canvas renderer
  9. Xlib and its output buffer
 10. the unix socket pair
 11. X server

Now, which ones of the above takes so much time, and how do you measure 
that ? Using only [cputime] will only give you the time of steps 1, 2, and 
part of 3. Using measurements in t_tkcmd.c (42) or pd_connect.tcl (43) 
will only give you info about 4, 5, 6, 7, and part of 3. The measurement I 
make from tkCanvas.c only gives me info about 8, 9, 10 and 11.


We need more measurements.

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


Re: [PD] namecanvas obsolete? Why? Re: Dynamic Graph on Parent

2010-10-03 Thread Mathieu Bouchard

On Thu, 30 Sep 2010, IOhannes m zmoelnig wrote:

On 2010-09-30 13:59, Mathieu Bouchard wrote:

It's not a concept of "this" as brandon wants it because it's not a
receive-symbol. In iemguts, what is being used is a number that is the
number of canvases to be climbed up the hierarchy : so, to get from a
subpatch of a subpatch of an abstraction, to the parent of the
abstraction, it takes the number 3.

do you mean [sendcanvas 3] would fullfill brandon's requirements?


I mean [sendcanvas 0] would fulfill them, and with a different argument, 
it can serve different purposes.


I just cloned it as [gf/canvas_send]. It's in the upcoming GridFlow 9.12.

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


Re: [PD] GEM: borderless window is also always on top (and hasn't an icon)

2010-10-03 Thread Mathieu Bouchard

On Sat, 2 Oct 2010, Matteo Sisti Sette wrote:

In ubuntu, if I send "border 0" to [gemwin], then the window (once 
created), besides being borderless which is the expected part, also 
sticks on top and doesn't have a button in the panel on the bottom of 
the screen as windows usually have.


GridFlow has a "border 0" like you want. You send it just after the window 
creation :


  [#out x11, border 0]
or
  [#out, open x11, border 0]

(commas inside GF objectboxes are like loadbanged messageboxes)

Then you can move that window using Alt+leftdrag, get its border-menu with 
Alt+space, and see it in taskbars, taskbuttons, and Alt+tab.


But also, GridFlow supports other kind of borderless window (unmanaged 
windows that aren't listed anywhere and can only be moved by pd messages). 
These are made by:


  [#out x11 here override_redirect]

For OSX, there's also a "border 0" option in [#out quartz], thanks to 
Patrick Boivin, but it works a bit differently, by necessity. But on OSX, 
it's not so hard to use [#out x11] too, with the full option set.


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


Re: [PD] good video codec for gem+windows ?

2010-10-03 Thread stéfan piat
hello,

no I don't find a solution,
I think maybe to encode in .mjpg could do the trick
(or to force to using QTsupport as Iohannes suggest)

but I don't have anymore this windows machine to test

best,
stéfan


2010/10/2 Fernando Krum 

> Hi there Stéfan,
>
> did you manage to get through this ?
> i'm sort of having the same problem here...
> trying to play video files on a Vista machine with pix_film support for
> both
> DirectShow and Quicktime.
> when i try to play a video encoded on Photo-JPG on pix_film, the video
> playback
> gets really slow. When I make it fullscreen, the CPU load goes over 200%.
>
> Does anybody knows why is that happening ?
> I have tried Apple Photo-Jpg and Photo JPEG as encoder for pix_film.
> the movie is a .MOV.
>
> thanx a lot for your attention,
>
>
> Fernando Krum.
>
> 2010/9/3 stéfan piat 
>
> thanks for clarifying this
>>
>> when I create pix_film I have this in the pd-console:
>> pix_film:: directshow support
>> pix_film:: quicktime support
>>
>> when I open a .mov file (photo-jpeg) I have this:
>>
>> [pix_filmNEW]: opening movie.mov with format 1908
>> Trying DirectShow
>> error: Unable to connect filters -2147220969
>> [pix_filmNEW]:  ...
>> [pix_filmNEW]: loaded file: movie.mov with 1266 frames (720x405) at
>> 1266.00 fps
>>
>>
>> how could i force pix_film to use Quicktime  ?
>>
>>
>> best,
>> stefan
>>
>> 2010/9/3 IOhannes m zmölnig 
>>
>> -BEGIN PGP SIGNED MESSAGE-
>>> Hash: SHA1
>>>
>>> On 09/03/2010 12:01 AM, stéfan piat wrote:
>>> >
>>> > I read somewher that pd-extended has to be build with quicktime support
>>> to
>>> > play well .mov files
>>> >
>>>
>>> where did you read this?
>>> Pd-extended currently does not build Gem at all on w32, it takes the
>>> official binary release, which includes QuickTime support.
>>>
>>> you can easily check whether yuo do have QuickTime support if you have a
>>> look what's printed to the pd-console when you first create a [pix_film]
>>> object.
>>>
>>>
>>> anyhow, the problem you probably have is, that DirectShow is able to
>>> open the film quite well, so QuickTime is never tried.
>>> you have to force [pix_film] to use the QuickTime backend.
>>>
>>> fgamsdr
>>> IOhannes
>>> -BEGIN PGP SIGNATURE-
>>> Version: GnuPG v1.4.10 (GNU/Linux)
>>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>>>
>>> iEYEARECAAYFAkyAsdIACgkQkX2Xpv6ydvQG5gCgm3AwTUnimdfrSA8Dl5n4EsJn
>>> 0g4AoJrCZlaPqHiofqLalh+EnxrKzW4c
>>> =zso1
>>> -END PGP SIGNATURE-
>>>
>>> ___
>>> 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-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Mix two video streams and add DSK

2010-10-03 Thread Alexandre Castonguay

 Hi Jamie,


The only experience I had with 2 simultaneous live feeds was with 
Hauppage PCI cards (analog signal in @ 640 x 480).   Otherwise, DV input 
works in GEM but I only had one available port.  With multiple live 
feeds or heavy video manipulation, you have to expect decreased image 
quality and latency, how much of it depends on your budget. It would be 
cool to benchmark what the best speed/resolution available would be once 
you build it.


Another solution is for the users to realize that there is intrinsic 
value in latency and glitches (both aesthetic and political) and find a 
way to somehow incorporate it in the work.  There is a good text on this 
by one of the recent subscribers to the list.


Cheers,

Alexandre






Le 10-10-03 04:37, Jamie Bullock a écrit :

Thanks Alexandre and Simon,


It sounds like technically the task is a trivial one, thanks for the tips.

In terms of latency, I get the impression this is a function of the video 
capture method used...

@Simon, can you tell me which PCI card you are using?

This project is to port a piece originally done with Max/Jitter to a Pd-based 
system. The main complaints they had were video quality and latency, so those 
are problems we need to solve.

All best,

Jamie

--
http://www.jamiebullock.com



On 2 Oct 2010, at 16:13, Alexandre Castonguay wrote:


Hi Jamie,

I think it's easy to do with any of the externals handling video but here is a 
tutorial :

http://en.flossmanuals.net/PureData/GEMVideoMixer

I would simply add a [gemhead] ->  [text2d] chain to it.

Cheers,

Alexandre


Le 10-10-02 09:43, Jamie Bullock a écrit :

Hi,

Does anyone know if it is possible with Pd+externals to mix 2 video streams 
(with the ability to crossfade between), and add a textual overlay on the mixed 
image (downstream keying)?

Is this possible with Gem? Gridflow?

If this is indeed possible, what sort of latency could I achieve from input to 
output?

Platform isn't an issue, I could use Linux, Mac OS or Windows  -- whichever 
gives the best performance.

Any advice appreciated.

Jamie
___
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-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] GUI Panels

2010-10-03 Thread Dominic Pflaum
Is it possible to have panels on PD which can be switched?

I want to make a GUI that will have in total 1600 switches. Obviously this
will not all fit on one screen.

Is this possible, and are there any examples of such things?

Many thanks,

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


Re: [PD] Mix two video streams and add DSK

2010-10-03 Thread Jamie Bullock

Thanks Alexandre and Simon,


It sounds like technically the task is a trivial one, thanks for the tips.

In terms of latency, I get the impression this is a function of the video 
capture method used...

@Simon, can you tell me which PCI card you are using? 

This project is to port a piece originally done with Max/Jitter to a Pd-based 
system. The main complaints they had were video quality and latency, so those 
are problems we need to solve.

All best,

Jamie

--
http://www.jamiebullock.com



On 2 Oct 2010, at 16:13, Alexandre Castonguay wrote:

> Hi Jamie,
> 
> I think it's easy to do with any of the externals handling video but here is 
> a tutorial :
> 
> http://en.flossmanuals.net/PureData/GEMVideoMixer
> 
> I would simply add a [gemhead] -> [text2d] chain to it.
> 
> Cheers,
> 
> Alexandre
> 
> 
> Le 10-10-02 09:43, Jamie Bullock a écrit :
>> Hi,
>> 
>> Does anyone know if it is possible with Pd+externals to mix 2 video streams 
>> (with the ability to crossfade between), and add a textual overlay on the 
>> mixed image (downstream keying)?
>> 
>> Is this possible with Gem? Gridflow?
>> 
>> If this is indeed possible, what sort of latency could I achieve from input 
>> to output?
>> 
>> Platform isn't an issue, I could use Linux, Mac OS or Windows  -- whichever 
>> gives the best performance.
>> 
>> Any advice appreciated.
>> 
>> Jamie
>> ___
>> 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-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list