Re: [PD] problem in compiling puredata_opencv

2010-10-04 Thread Adityo Pratomo
hey everyone,

I was playing with the pix_opencv_hu_compare because I figure that it's the
best way to track and detect a picture in a card. But then I got the error
message:

[pix_opencv_threshold]: pix_opencv_threshold : yuv format not supported
error: [pix_opencv_hu_compare] : no method to combine (YUV) and (RGBA)

do you know why is it?

Thanks a lot :)


On Mon, Oct 4, 2010 at 5:31 PM, Adityo Pratomo quietdi...@gmail.com wrote:

 ola yves,

 ookay, i'll try that, even though i did try to go back to pd-extended
 0.41-4, and yeah your opencv works :) but i'll try your suggestion anyway :D

 Anyway, i Was wondering, what is the best way to implement blob detection
 on pd? or if I want to detect and track an edge of an object from a camera,
 what is the best way to do it?

 Thank you

 Regards,

 didit


 On Mon, Oct 4, 2010 at 2:23 PM, ydego...@gmail.com ydego...@gmail.comwrote:

 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 http://mataharipertama.wordpress.com
 kotakmakan.multiply.com http://kotakmakan.multiply.com


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






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




-- 
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] problem in compiling puredata_opencv

2010-10-04 Thread Adityo Pratomo
ola yves,

ookay, i'll try that, even though i did try to go back to pd-extended
0.41-4, and yeah your opencv works :) but i'll try your suggestion anyway :D

Anyway, i Was wondering, what is the best way to implement blob detection on
pd? or if I want to detect and track an edge of an object from a camera,
what is the best way to do it?

Thank you

Regards,

didit

On Mon, Oct 4, 2010 at 2:23 PM, ydego...@gmail.com ydego...@gmail.comwrote:

 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 http://mataharipertama.wordpress.com
 kotakmakan.multiply.com http://kotakmakan.multiply.com


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






-- 
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] iemguts and propertybang

2010-10-04 Thread Luc Xation
Matthieu, thanks for your alternative solution. It's a good thing to be able
to circumvent a problem ( unstable,  unfinished, author, etc.. ).

Patrick , i am going to do some tests and i am motivated to clean the mtl
abstractions of iemguts objects.

cheers
J k p

2010/10/2 Mathieu Bouchard ma...@artengine.ca

 On Sat, 2 Oct 2010, patrick wrote:

  i know that iemguts is not in pd-extended anymore because it's considered
 unstable / unfinished. i didn't look at the code, maybe propertybang needs
 lots of stuff from iemguts... but what if i just take only propertybang and
 make an external for it. would that get included in pd-extended?


 Use [gf/propertybang]. But be aware that you can't use both that and
 [iemguts/propertybang] in the same session of pd. (it's impossible to make
 it otherwise)

  ___
 | Mathieu Bouchard -- Villeray, Montréal, QC
 ___
 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] iemguts and propertybang

2010-10-04 Thread patrick
gridflow is not included in pd-extended. so asking people to install 
gridflow for gf/propertybang is not the best solution either.


but maybe *now* iemguts is finished and will be included in pd-extended?

pat



___
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-04 Thread Ingo Scherzinger
You should definitely check how much power you need. I was running a similar
atom cpu (on another board) and it was giving me about 10% of the
performance that I got with a twice as fast AMD Athlon II X2 260. It could
barely run 2 (rather complex) sampler - voices compared to about 24 on the
other AMD box.
No tests with GEM, though!

Ingo


Date: Sun, 3 Oct 2010 17:06:54 -0400
From: Ivica Ico Bukvic i...@vt.edu
Subject: Re: [PD] PD on Atom Processors
To:  'Felix Ob?e'  fe...@amphibiousthoughts.com
Cc: pd-list@iem.at

FWIW L2Ork (http://l2ork.music.vt.edu 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).


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


Re: [PD] iemguts and propertybang

2010-10-04 Thread Mathieu Bouchard

On Mon, 4 Oct 2010, patrick wrote:

gridflow is not included in pd-extended. so asking people to install gridflow 
for gf/propertybang is not the best solution either.


GridFlow has a Ubuntu build and two OSX builds. what more do you want ? I 
need someone to take care of the Windows builds. But you don't have to use 
it just as a iemguts replacement : there's a lot more stuff in it that can 
make it interesting for you.



but maybe *now* iemguts is finished and will be included in pd-extended?


There haven't been much changes to iemguts (svn) in the last year or so... 
it can't be more finished than it was when it got removed from pd-extended 
a few months ago.


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

2010-10-04 Thread Hans-Christoph Steiner


Try the old font fix:

http://puredata.info/docs/faq/on-gnu-linux-the-fonts-are-strange-and-or-too-big-or-small

Or try switching to Tcl/Tk 8.5 by doing:

apt-get install tk8.5
update-alternatives --config wish

Either of those help?

.hc

On Oct 4, 2010, at 4:59 AM, michael noble wrote:


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





A cellphone to me is just an opportunity to be irritated wherever you  
are. - Linus Torvalds



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


Re: [PD] Fwd: GEM Neupert Tutorial '10-av-more control'. How do I play more than 1 video?

2010-10-04 Thread J bz
Hi Fernando,

Apologies for the late response.

I (re)encoded the films in Avidemux on my Puredyne machine using the mjpeg
codec.  There is a Windows version of Avidemux too.

I switched to borrowed Windows and Mac machines for testing as my Puredyne
lappy wont drive the patch.  Too processing intensive.  I had more problems
on the Windows 7 machine but that may well have something to do with running
32b pd on a 64b machine, not sure, and didn't have enough time to test
thoroughly.

There seems to be so many possible variables with OS's, graphics cards, etc.
etc. that each use of video within pd has its own particular set of
problems.  As my films are quite static I reduced the frame rate and
quality, which seemed to help.  As someone just starting to work this way it
does seem to have some tricky issues.  I'm fairly determined to keep my work
in pd so I expect to pick up more tips and tricks as the work progresses.

Best of luck with your patch and I hope the recoding may do the trick.

All good wishes,

Jb



On 2 October 2010 18:42, Fernando Krum ferk...@gmail.com wrote:

 Hi there J bz,

  have just seen your thread over here and i´m sort of having a similar
 problem,
 i´m trying to play 2 videos simultaneously on a Windows machine.
 But whenever i try to make it fullscreen it will decrease framerate and
 apparently
 uses a lot o cpu processing... i think a have problems with encoders on my
 windows
 machine.
 which encoder are you using ??

 thanx a lot,

 Fernando.


 Fernando Krum
 twitter.com/ferkrum


 On Fri, Sep 24, 2010 at 4:57 PM, J bz jbee...@gmail.com wrote:



 -- Forwarded message --
 From: J bz jbee...@gmail.com
 Date: 24 September 2010 20:56
 Subject: Re: [PD] Fwd: GEM Neupert Tutorial '10-av-more control'. How do I
 play more than 1 video?
 To: Jack j...@rybn.org


 Hi Jack,

 Aaah, thank you indeed.

 I checked the original on a mac today, and it sort of worked, no crashing.

 Will report back after more testing.

 Not the first time you have waded in and lent a hand, much appreciated.

 Jb




 On 24 September 2010 12:08, Jack j...@rybn.org wrote:

 Try this patch and abstraction and use small soundfiles and movies to
 test.
 I don't know which video codec is better on Windows for your patch.

 Le jeudi 23 septembre 2010 à 22:36 +0100, J bz a écrit :
  Hi Benjamin,
 
  Thanks for that, I will check it out.
 
  Jack,
 
  The machine I was testing with today was very souped-up and the [dsp]
  object never got over 25%.
 
  I don't know if this would make a difference but the avi's are
  slightly longer than the audio, if the audio is driving the sync is it
  possible that that could cause the crashes?  Also audio is 32bit
  floating point, if that could make a difference?
 
  Still somewhat unsure about the best way of using the abstraction, if
  as I thought, to use 3 files I need 3 gemheads, how can I use 1
  abstraction that contains a single gemhead?  That was the impulse to
  use three different files.  Then if I'm using 3 different files, why
  do I need to use $0, apart from good coding practice??
 You needn't $0 in your patch but it is a good practice if you want to
 send variables in local.
 In your subpatch you use '$0-frame' to send the number of frame of your
 movies. The problem is all your receive $0-frame will receive the value
 of the 3 movies.
 So i remove these objects (heve a look inside the subpatch).
 ++

 Jack


 
  Guess I'm thinking aloud here.
 
  With the first version that I made, all the files load fine and play,
  though there is now no sync now I stopped using [readanysf~].  S'pose
  one of the joys of pd is that there are umpteen ways of skinning any
  particular feline, though I really don't have the time to be starting
  from scratch again with this.
 
  I'm going to make the audio 16b and trim the avi's so they are the
  same length as the audio.
 
  Otherwise I'm really unsure what's going on This whole codec thing
  is a bloody nightmare.
 
  Will try again tomorrow.
 
  Cheers,
 
  Jb
 
 
 
  On 23 September 2010 17:51, benjamin 01xy ben...@free.fr wrote:
  hello,
 
  for audio, sfread2~ in moonlib worked well for me to scratch
  audio/video synchro, I think it is cross plateform
  
  https://wiki.puredata.info/en/sfread2~https://wiki.puredata.info/en/sfread2%7E
 
  ++Benjamin
 
  J bz a écrit :
 
 
  Avi's are 10fps mjpeg recoded in avidemux.
 
  Audio 44.1 wav in audacity
  All files play fine on the windows computer on their
  own.  I do get audio and one video, which works great.
 
  They also play fine in my earlier patch when I was
  first experimenting with GEM and video.  I went the
  Neupert way because I wanted more control.
 
  Other problem is that my ancient laptop wont come
  anywhere near running the patch, which is why I'm at 

Re: [PD] ugly fonts under pdextended 0.42.5

2010-10-04 Thread michael noble
Is there a reason the pd-extended builds have a hard dependency on
tcl/tk 8.4. The vanilla in the repos depends on 8.5. Would that make a
difference?

-m

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


Re: [PD] Shuffling arrays

2010-10-04 Thread Lorenzo

 tim vets wrote:

William Brent's tabletool ?
http://williambrent.conflations.com/pages/research.html
gr,
Tim

2010/10/4 Andrew Faraday jbtur...@hotmail.com 
mailto:jbtur...@hotmail.com


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)?

I guess if you only need to *read* elements of the array you could also 
use the [urn] object from cyclone feeding a [tabread].


Lorenzo



Help would be appreciated

Andrew

___
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 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-04 Thread michael noble
Hi Hans,

Neither reinstalling the fonts or switching to Tcl/Tk 8.5 made a
difference. Fonts in PD vanilla (0.42.6 from the repos) look fine, by
the way. This is in Lucid and Maverick, not able to test on Squeeze at
the moment.

-m

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


Re: [PD] Shuffling arrays

2010-10-04 Thread Mathieu Bouchard

On Sun, 3 Oct 2010, Andrew Faraday wrote:

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)? 


there's an example of shuffling at the top of [#sort]'s help file :

  http://gridflow.ca/help/%23sort-help.html

 ___
| 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] Shuffling arrays

2010-10-04 Thread Claude Heiland-Allen

On 03/10/10 23:21, Andrew Faraday wrote:


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  


You can pick pairs of indices at random and swap them with 
tabread/tabwrite; repeat to shuffle more.


I used a similar technique to gradually sort an array (swap random 
elements only if they are out of order):


https://code.goto10.org/svn/maximus/2007/clouds-are-made-of-water/
http://www.archive.org/details/ClaudiusMaximus_-_Clouds_Are_Made_Of_Water
(track 5)


Claude
--
http://claudiusmaximus.goto10.org

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


Re: [PD] Shuffling arrays

2010-10-04 Thread martin.peach

That's a bad way to shuffle, as it can swap things back again and generally 
reduce the randomness, the way someone who is good at shufflng cards can put 
them all back the way they started while appearing to mix them up.

A better way is to start at the beginning of the array, swap the first item 
with one of the remaining items, then swap the second item, up to the end.

Martin

Claude wrote:
 On 03/10/10 23:21, Andrew Faraday wrote:

 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

 You can pick pairs of indices at random and swap them with
 tabread/tabwrite; repeat to shuffle more.

 I used a similar technique to gradually sort an array (swap random
 elements only if they are out of order):

 https://code.goto10.org/svn/maximus/2007/clouds-are-made-of-water/
 http://www.archive.org/details/ClaudiusMaximus_-_Clouds_Are_Made_Of_Water
 (track 5)


 Claude
 --
 http://claudiusmaximus.goto10.org

 ___
 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] Shuffling arrays

2010-10-04 Thread Mathieu Bouchard

On Mon, 4 Oct 2010, martin.pe...@sympatico.ca wrote:

That's a bad way to shuffle, as it can swap things back again and 
generally reduce the randomness, the way someone who is good at shufflng 
cards can put them all back the way they started while appearing to mix 
them up.


But the programme is not meaning to swap things back. If things are 
swapped back in a random fashion, where the probability of swapping back 
follows from a sequence of independent uniform random-variables, what's 
the problem with that ? It's like the probability of getting twice the 
same dice number in a row, there's a certain amount of random repetition 
that is considered normal.


How would you write a formal proof of what you say ?

But I also believe that the quickest perfectly fair shuffle is done a lot 
more like [urn] than like swapping random elements. The latter converges 
towards being fair eventually, whereas [urn] is fair in N steps if 
random() is fair. The former doesn't take so many steps, but one has to 
decide where to stop swapping, and that's not a decision I'd like to be 
making, so I prefer [urn]-like processes (or similarly, [#grade]-like 
processes).


 ___
| 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] problem in compiling puredata_opencv

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


ola,

yeh it's quite clear...

the yuv images that comes from your cam
must be converted to rgba with pix_rgba
before being passed to opencv
that only works with rgb and grey internally..

[pix_video]
|
[pix_rgba]
|
[pix_opencv_...]

suerte,
sevy

Adityo Pratomo wrote:

hey everyone,

I was playing with the pix_opencv_hu_compare because I figure that 
it's the best way to track and detect a picture in a card. But then I 
got the error message:


[pix_opencv_threshold]: pix_opencv_threshold : yuv format not supported
error: [pix_opencv_hu_compare] : no method to combine (YUV) and (RGBA)

do you know why is it?

Thanks a lot :)


On Mon, Oct 4, 2010 at 5:31 PM, Adityo Pratomo quietdi...@gmail.com 
mailto:quietdi...@gmail.com wrote:


ola yves,

ookay, i'll try that, even though i did try to go back to
pd-extended 0.41-4, and yeah your opencv works :) but i'll try
your suggestion anyway :D

Anyway, i Was wondering, what is the best way to implement blob
detection on pd? or if I want to detect and track an edge of an
object from a camera, what is the best way to do it?

Thank you

Regards,

didit


On Mon, Oct 4, 2010 at 2:23 PM, ydego...@gmail.com
mailto:ydego...@gmail.com ydego...@gmail.com
mailto:ydego...@gmail.com wrote:

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

http://mataharipertama.wordpress.com
http://mataharipertama.wordpress.com
kotakmakan.multiply.com http://kotakmakan.multiply.com
http://kotakmakan.multiply.com


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





-- 
mataharipertama.wordpress.com http://mataharipertama.wordpress.com

kotakmakan.multiply.com http://kotakmakan.multiply.com




--
mataharipertama.wordpress.com http://mataharipertama.wordpress.com
kotakmakan.multiply.com http://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] jMax Phoenix

2010-10-04 Thread Mathieu Bouchard

On Thu, 23 Sep 2010, Jonathan Wilkes wrote:

I thought it was in 0.43-- at least I'm using Pd version 0.42.5-extended 
and there isn't the autopatching feature.


This is one of the rare features of Pd-vanilla 42 that is disabled in 
Pd-extended 42.


I initially liked what I saw of the autopatching features in Desiredata, 
but I haven't tried them enough to judge.


It's not very related : you'd press a separate keyboard shortcut to 
explicitly get an autopatched objects. That's not incompatible with users' 
habits. Miller's implementation goes against the existing habits of users.


I also seem to remember the possibility of increasing the mouse-over 
radius around each inlet so you don't have to be so precise to make a 
connection.


That applied to everything you could click on (and drag from or to) in a 
canvas.


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


[PD] problem when comparing numbers from TUIO Client, Reactivision, any ideas ?

2010-10-04 Thread Fernando Krum
Hello everybody,


i'm trying to figure out a way to filter messages from the tuio client to
send a single
bang to a playlist where i want to playback videos...

have tried using moses and  comparison =, and others,
but won work...
anybody have went through the same problem ?

i'm using ubuntustudio 9.10
and Pd version 0.42.5.

thank you very much,
hope you can help me on that.. :)



Fernando Krum.
#N canvas 303 25 1060 766 10;
#X obj 95 108 route updateObject;
#X floatatom 362 172 5 0 0 3 y-pos - y-pos;
#X floatatom 273 172 5 0 0 3 x-pos - x-pos;
#X floatatom 184 172 5 0 0 3 fid-id - fid-id;
#X obj 95 138 unpack \$1-session_id \$1-fiducial-id \$1-xpos \$1-ypos
\$1-angle;
#X floatatom 452 172 5 0 0 0 - - -;
#X obj 452 196 / 6.28;
#X obj 452 220 * 360;
#X floatatom 452 244 5 0 0 3 angle - angle;
#X obj 94 63 TuioClient;
#X obj 196 81 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X floatatom 178 337 5 0 0 0 - - -;
#X obj 178 300 * 100;
#X obj 358 366  50;
#X obj 357 409 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
1;
#X obj 362 305 hsl 128 15 0 127 0 0 empty empty empty -2 -8 0 10 -262144
-1 -1 3600 1;
#X obj 180 382 int;
#X floatatom 517 329 5 0 0 0 - - -;
#X text 318 477 How to make tuio send a bang when the coordinate is
less than 50 ?? just works when change the number on the slider. when
receives number from tuio \, doesn't changes output from comparison.
any ideas ?!? thanx a lot \, ferk...@gmail.com;
#X obj 430 399 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X connect 0 0 4 0;
#X connect 4 1 3 0;
#X connect 4 2 2 0;
#X connect 4 2 12 0;
#X connect 4 2 13 0;
#X connect 4 3 1 0;
#X connect 4 4 5 0;
#X connect 5 0 6 0;
#X connect 6 0 7 0;
#X connect 7 0 8 0;
#X connect 9 0 0 0;
#X connect 9 1 10 0;
#X connect 11 0 16 1;
#X connect 11 0 16 0;
#X connect 12 0 11 0;
#X connect 13 0 14 0;
#X connect 13 0 19 0;
#X connect 15 0 13 0;
#X connect 15 0 17 0;
#X connect 16 0 15 0;
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] problem when comparing numbers from TUIO Client, Reactivision, any ideas ?

2010-10-04 Thread Husk 00

-
Fernando Krumferk...@gmail.com wrote:

Hello everybody,


i'm trying to figure out a way to filter messages from the tuio client to
send a single
bang to a playlist where i want to playback videos...

have tried using moses and  comparison =, and others,
but won work...
anybody have went through the same problem ?

i'm using ubuntustudio 9.10
and Pd version 0.42.5.

thank you very much,
hope you can help me on that.. :)



Fernando Krum.
___
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] problem when comparing numbers from TUIO Client, Reactivision, any ideas ?

2010-10-04 Thread Fernando Krum
?



On Mon, Oct 4, 2010 at 4:46 PM, Husk 00 hus...@gmail.com wrote:


 -
 Fernando Krumferk...@gmail.com wrote:

 Hello everybody,


 i'm trying to figure out a way to filter messages from the tuio client to
 send a single
 bang to a playlist where i want to playback videos...

 have tried using moses and  comparison =, and others,
 but won work...
 anybody have went through the same problem ?

 i'm using ubuntustudio 9.10
 and Pd version 0.42.5.

 thank you very much,
 hope you can help me on that.. :)



 Fernando Krum.
 ___
 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] jMax Phoenix

2010-10-04 Thread Jonathan Wilkes


--- On Mon, 10/4/10, Mathieu Bouchard ma...@artengine.ca wrote:

 From: Mathieu Bouchard ma...@artengine.ca
 Subject: Re: [PD] jMax Phoenix
 To: Jonathan Wilkes jancs...@yahoo.com
 Cc: IOhannes m zmoelnig zmoel...@iem.at, pd-list@iem.at
 Date: Monday, October 4, 2010, 8:40 PM
 On Thu, 23 Sep 2010, Jonathan Wilkes
 wrote:
 
  I thought it was in 0.43-- at least I'm using Pd
 version 0.42.5-extended and there isn't the autopatching
 feature.
 
 This is one of the rare features of Pd-vanilla 42 that is
 disabled in Pd-extended 42.
 
  I initially liked what I saw of the autopatching
 features in Desiredata, but I haven't tried them enough to
 judge.
 
 It's not very related : you'd press a separate keyboard
 shortcut to explicitly get an autopatched objects. That's
 not incompatible with users' habits. Miller's implementation
 goes against the existing habits of users.

Right, I remember that.  I just didn't use it enough to find out 
exactly how convenient navigating around different objects/inlet 
/outlets and making connections with the keyboard was.

I do remember that in Desiredata you have to actually create the 
object with ctrl-Enter before you are able to autoconnect 
another one, which is an unnecessary step.

-Jonathan

 
  I also seem to remember the possibility of increasing
 the mouse-over radius around each inlet so you don't have to
 be so precise to make a connection.
 
 That applied to everything you could click on (and drag
 from or to) in a canvas.
 
 
 ___
 | 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] problem when comparing numbers from TUIO Client, Reactivision, any ideas ?

2010-10-04 Thread Pedro Lopes
TUIO is OSC, you have to parse the messages and see what you want to do with
the fields (aka arguments). Please read more about TUIO and OSC. Then inside
PD use a OSCroute or whatever object that is able to parse the messages.
Then its all trivial.

The key that you are missing (judging by your email) is: understanding OSC
protocol - which are just simple string tokens.

Best regards,
Pedro

On Mon, Oct 4, 2010 at 9:10 PM, Fernando Krum ferk...@gmail.com wrote:

 ?




 On Mon, Oct 4, 2010 at 4:46 PM, Husk 00 hus...@gmail.com wrote:


 -
 Fernando Krumferk...@gmail.com wrote:

 Hello everybody,


 i'm trying to figure out a way to filter messages from the tuio client to
 send a single
 bang to a playlist where i want to playback videos...

 have tried using moses and  comparison =, and others,
 but won work...
 anybody have went through the same problem ?

 i'm using ubuntustudio 9.10
 and Pd version 0.42.5.

 thank you very much,
 hope you can help me on that.. :)



 Fernando Krum.
 ___
 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 (ongoing MSc)
contact: pedro.lo...@ist.utl.pt
website: http://web.ist.utl.pt/Pedro.Lopes
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] problem when comparing numbers from TUIO Client, Reactivision, any ideas ?

2010-10-04 Thread Fernando Krum
good.
got it.
i think i'm leaving the tuio behind, will listen straight
to the  port using dumpOSC...

thank you very much for your help !



Fernando.




On Mon, Oct 4, 2010 at 6:01 PM, Pedro Lopes pedro.lo...@ist.utl.pt wrote:

 TUIO is OSC, you have to parse the messages and see what you want to do
 with the fields (aka arguments). Please read more about TUIO and OSC. Then
 inside PD use a OSCroute or whatever object that is able to parse the
 messages. Then its all trivial.

 The key that you are missing (judging by your email) is: understanding OSC
 protocol - which are just simple string tokens.

 Best regards,
 Pedro


 On Mon, Oct 4, 2010 at 9:10 PM, Fernando Krum ferk...@gmail.com wrote:

 ?




 On Mon, Oct 4, 2010 at 4:46 PM, Husk 00 hus...@gmail.com wrote:


 -
 Fernando Krumferk...@gmail.com wrote:

 Hello everybody,


 i'm trying to figure out a way to filter messages from the tuio client to
 send a single
 bang to a playlist where i want to playback videos...

 have tried using moses and  comparison =, and others,
 but won work...
 anybody have went through the same problem ?

 i'm using ubuntustudio 9.10
 and Pd version 0.42.5.

 thank you very much,
 hope you can help me on that.. :)



 Fernando Krum.
 ___
 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 (ongoing MSc)
 contact: pedro.lo...@ist.utl.pt
 website: http://web.ist.utl.pt/Pedro.Lopes

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


Re: [PD] problem when comparing numbers from TUIO Client, Reactivision, any ideas ?

2010-10-04 Thread Pedro Lopes
TUIO is (on top of) OSC. :)

Use dumpOSC, or whatever, the key is parsing the messages. I use TUIO out of
CCV (aka tbeta) or Reactivision or SimTouch (both multitouch simulators),
they all work very simply. The idea behind TUIO is indeed to offer a simple
way to receive the blob and their respective parameters.

have fun with this :)

Best regards,
Pedro Lopes

On Mon, Oct 4, 2010 at 10:10 PM, Fernando Krum ferk...@gmail.com wrote:

 good.
 got it.
 i think i'm leaving the tuio behind, will listen straight
 to the  port using dumpOSC...

 thank you very much for your help !



 Fernando.





 On Mon, Oct 4, 2010 at 6:01 PM, Pedro Lopes pedro.lo...@ist.utl.ptwrote:

 TUIO is OSC, you have to parse the messages and see what you want to do
 with the fields (aka arguments). Please read more about TUIO and OSC. Then
 inside PD use a OSCroute or whatever object that is able to parse the
 messages. Then its all trivial.

 The key that you are missing (judging by your email) is: understanding OSC
 protocol - which are just simple string tokens.

 Best regards,
 Pedro


 On Mon, Oct 4, 2010 at 9:10 PM, Fernando Krum ferk...@gmail.com wrote:

 ?




 On Mon, Oct 4, 2010 at 4:46 PM, Husk 00 hus...@gmail.com wrote:


 -
 Fernando Krumferk...@gmail.com wrote:

 Hello everybody,


 i'm trying to figure out a way to filter messages from the tuio client
 to
 send a single
 bang to a playlist where i want to playback videos...

 have tried using moses and  comparison =, and others,
 but won work...
 anybody have went through the same problem ?

 i'm using ubuntustudio 9.10
 and Pd version 0.42.5.

 thank you very much,
 hope you can help me on that.. :)



 Fernando Krum.
 ___
 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 (ongoing MSc)
 contact: pedro.lo...@ist.utl.pt
 website: http://web.ist.utl.pt/Pedro.Lopes





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


Re: [PD] problem in compiling puredata_opencv

2010-10-04 Thread Adityo Pratomo
ow, okay, that should solve the problem. let me give it a try. anyway, the
pix_rgba must also be applied to the referenced image isn't it? i mean the
image that the image from the camera should be compared to...

thank you

Didit

On Tue, Oct 5, 2010 at 5:21 AM, ydego...@gmail.com ydego...@gmail.comwrote:


 ola,

 yeh it's quite clear...

 the yuv images that comes from your cam
 must be converted to rgba with pix_rgba
 before being passed to opencv
 that only works with rgb and grey internally..

 [pix_video]
 |
 [pix_rgba]
 |
 [pix_opencv_...]

 suerte,
 sevy

 Adityo Pratomo wrote:

 hey everyone,

 I was playing with the pix_opencv_hu_compare because I figure that it's
 the best way to track and detect a picture in a card. But then I got the
 error message:

 [pix_opencv_threshold]: pix_opencv_threshold : yuv format not supported
 error: [pix_opencv_hu_compare] : no method to combine (YUV) and (RGBA)

 do you know why is it?

 Thanks a lot :)


 On Mon, Oct 4, 2010 at 5:31 PM, Adityo Pratomo quietdi...@gmail.commailto:
 quietdi...@gmail.com wrote:

ola yves,

ookay, i'll try that, even though i did try to go back to
pd-extended 0.41-4, and yeah your opencv works :) but i'll try
your suggestion anyway :D

Anyway, i Was wondering, what is the best way to implement blob
detection on pd? or if I want to detect and track an edge of an
object from a camera, what is the best way to do it?

Thank you

Regards,

didit


On Mon, Oct 4, 2010 at 2:23 PM, ydego...@gmail.com
mailto:ydego...@gmail.com ydego...@gmail.com

mailto:ydego...@gmail.com wrote:

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
http://mataharipertama.wordpress.com
http://mataharipertama.wordpress.com
kotakmakan.multiply.com http://kotakmakan.multiply.com
http://kotakmakan.multiply.com


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

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





-- mataharipertama.wordpress.com 
 http://mataharipertama.wordpress.com
kotakmakan.multiply.com http://kotakmakan.multiply.com




 --
 mataharipertama.wordpress.com http://mataharipertama.wordpress.com
 kotakmakan.multiply.com http://kotakmakan.multiply.com


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






-- 
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] problem in compiling puredata_opencv

2010-10-04 Thread Adityo Pratomo
okay, good news, everything's work yves. thanks a lot. I'm playing with the
help file now. anyway, couple questions for [pix_opencv_pgh_compare]:

1. why are the images appear at the gemwin is all yellow and black?
2. does the images and the video from webcam has the same size (320x240 in
your help file)
3. does the referenced image have to appear in the gemwin? Can it be resized
to a smaller size? I see that in the video that you give, the referenced
image appears in a small size in the corner of the screen, howdid you do it?

other than those, this object works like a charm. absolutely gorgeous. your
the master, hands down :)

regards,

Didit

On Tue, Oct 5, 2010 at 10:21 AM, Adityo Pratomo quietdi...@gmail.comwrote:

 ow, okay, that should solve the problem. let me give it a try. anyway, the
 pix_rgba must also be applied to the referenced image isn't it? i mean the
 image that the image from the camera should be compared to...

 thank you

 Didit


 On Tue, Oct 5, 2010 at 5:21 AM, ydego...@gmail.com ydego...@gmail.comwrote:


 ola,

 yeh it's quite clear...

 the yuv images that comes from your cam
 must be converted to rgba with pix_rgba
 before being passed to opencv
 that only works with rgb and grey internally..

 [pix_video]
 |
 [pix_rgba]
 |
 [pix_opencv_...]

 suerte,
 sevy

 Adityo Pratomo wrote:

 hey everyone,

 I was playing with the pix_opencv_hu_compare because I figure that it's
 the best way to track and detect a picture in a card. But then I got the
 error message:

 [pix_opencv_threshold]: pix_opencv_threshold : yuv format not supported
 error: [pix_opencv_hu_compare] : no method to combine (YUV) and (RGBA)

 do you know why is it?

 Thanks a lot :)


 On Mon, Oct 4, 2010 at 5:31 PM, Adityo Pratomo quietdi...@gmail.commailto:
 quietdi...@gmail.com wrote:

ola yves,

ookay, i'll try that, even though i did try to go back to
pd-extended 0.41-4, and yeah your opencv works :) but i'll try
your suggestion anyway :D

Anyway, i Was wondering, what is the best way to implement blob
detection on pd? or if I want to detect and track an edge of an
object from a camera, what is the best way to do it?

Thank you

Regards,

didit


On Mon, Oct 4, 2010 at 2:23 PM, ydego...@gmail.com
mailto:ydego...@gmail.com ydego...@gmail.com

mailto:ydego...@gmail.com wrote:

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
http://mataharipertama.wordpress.com
http://mataharipertama.wordpress.com
kotakmakan.multiply.com http://kotakmakan.multiply.com
http://kotakmakan.multiply.com


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

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





-- mataharipertama.wordpress.com 
 http://mataharipertama.wordpress.com
kotakmakan.multiply.com http://kotakmakan.multiply.com




 --
 mataharipertama.wordpress.com http://mataharipertama.wordpress.com
 kotakmakan.multiply.com http://kotakmakan.multiply.com


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






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




-- 
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] problem in compiling puredata_opencv

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

ola,

Adityo Pratomo wrote:
okay, good news, everything's work yves. thanks a lot. I'm playing 
with the help file now. anyway, couple questions for 
[pix_opencv_pgh_compare]:


1. why are the images appear at the gemwin is all yellow and black?

there are still some colorspace issues on mac OSX,
actually it's not RGBA, it's GRAB, due to some endianness issues...
mm, we could fix it if we really had any mac OSX but we don't ( lluis 
and me,

lluis's one died and i never had one ).
2. does the images and the video from webcam has the same size 
(320x240 in your help file)
it's not a requisite, the object should be intelligent enough to detect 
any sizes.
3. does the referenced image have to appear in the gemwin? Can it be 
resized to a smaller size? I see that in the video that you give, the 
referenced image appears in a small size in the corner of the screen, 
howdid you do it?

well, analyse the patch it's just with a separator,
a translate -2 or +2 and two rectangles,
if you don't want it, just remove one rectangle
( and all its branch ).



other than those, this object works like a charm. absolutely gorgeous. 
your the master, hands down :)



the real work is in opencv here..
so thanks to them.

saludos,
sevy

regards,

Didit




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


[PD] Res: music made with Pd

2010-10-04 Thread Eduardo Patricio

Hi there!

I'd like to share with you two recorded live performances made with my M.M.S. 
(a 
digital instrument: joystick + Pure Data)


http://soundcloud.com/eduardopatricio/discos-de-cobre-2010

http://soundcloud.com/eduardopatricio/electric-talk



Cheers!

Eduardo

 

_
Eduardo Patrício
http://www.eduardopatricio.com.br
(41) 8434-0480






De: Eduardo Patricio epatri...@yahoo.com
Para: pd-list pd-list@iem.at
Enviadas: Sábado, 2 de Outubro de 2010 1:59:24
Assunto: [PD] Res:  Res:  Res:  music made with Pd




Performance using Pd: 


http://vimeo.com/15466046


Cheers


Eduardo


 

_
Eduardo Patrício
http://www.eduardopatricio.com.br
(41) 8434-0480






De: Mathieu Bouchard ma...@artengine.ca
Para: olsen sesselastron...@googlemail.com
Cc: Eduardo Patricio epatri...@yahoo.com; pd-list pd-list@iem.at
Enviadas: Quarta-feira, 7 de Julho de 2010 11:50:02
Assunto: Re: [PD] Res:  Res:  music made with Pd

On Wed, 7 Jul 2010, olsen wrote:

 http://www.cyberpresse.ca/images/bizphotos/569x379/201006/12/178123.jpg
 (really.)
 like that! though the tracks are nice too - thanks for sharing man!

Here's for you guys, a more detailed view of the score :

http://artengine.ca/matju/musique/gamelan_binomial.png

though in reality, this is a kind of « pre-score », as the data still needs to 
be transformed a bit. For example, this picture does not talk about the scale 
being used, and it also does not represent the way that notes are omitted.

And then, the actual used part of the score was originally a small square in 
the 
top left... or a long strip of the same width in the case of « version trois ».

_ _ __ ___ _  _ _ ...
| Mathieu Bouchard, Montréal, Québec. téléphone:  +1.514.383.3801


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