Re: [PD] shell object
Hi, on linux, [shell] object is working when I launch Pd from a terminal hope it helps benjamin Achim Bornhoeft a écrit : Hi, PD is terminated after I execute this: [ls( | [shell] | [print] System: Mac OS 10.5.5 PD: 0.41.4-extended Can somebody help? Achim Achim Bornhoeft Neckarhalde 38, D-72070 Tuebingen tel/fax +49 (0)7071 942745 mobil +49 (0)179 6936930 bornhoeft.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] Wii Windows?
hello, as discussed in http://lists.puredata.info/pipermail/pd-list/2009-08/071722.html wiisense seems a little tricky, GlovePie OSC Pd may be a solution a friend of mine (cc) wrote an abstraction for windows : 4 wiimotes GlovePie OSC Pd, it was working quite well as far as I know, don't hesitate to mail (adress at the bottom of the page) him for + infos if needed http://yamatierea.org/papatchs/#4wii2osc http://ressources.levillagenumerique.org/index.php/Quelques_infos... a+ benjamin http://ressources.levillagenumerique.org/index.php/Quelques_infos... Pagano, Patrick a écrit : Is there a wii external for windows users? I see a Wiisense that uses BlueSoliel Is that the proper stuff? [pp] ___ 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] pdp question
ola, I use a small trick for gnome with pdp : I configure xorg.conf as below (for nvidiaaa cards, must be adapted to each config) or use the graphic interface to put the second screen 100 pix below the first, then [dimen 816 612 and [1670 76 before creating a pdp_glx screen then I alt + click on the pdp window and move it to hide the borders outside the second screen, it is also possible to rezise it by hand to adapt catching the corner of the window on your first screen ... a++ benjamin === Section Screen Identifier Screen0 Device Videocard0 MonitorMonitor0 DefaultDepth24 Option NoLogo TRUE Option TwinView 1 Option TwinViewXineramaInfoOrder DFP-0 Option metamodes CRT: 800x600 +1680+100, DFP: 1680x1050 +0+0 SubSection Display Depth 24 EndSubSection EndSection ydego...@gmail.com a écrit : ola, the pdp_glx object accepts a message : [posdim x y width height (, so a message [posdim 1025 0 1024 768( should work for a resolution of 1024x768, it should be full screen on your extended desktop. in linux, gnome doesn't let you position a window on 0, so you have to use a window manager like fluxbox. i don't know the situation on macosx. saludos, sevy budi prakosa wrote: can i use fullscreen+borderless window using pdp like gem? i use macosx thanks! ___ 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] Multiblob and matrices...
Hello, 2 examples +/- from help patches that may help ++ Benjamin Simon Ball a écrit : Thanks for the response. However, I am still struggling with this. I probably need a much more basic explanation. Sorry. I assume that the patches you've provided (greatly appreciated) collate the data in someway in order for me to be able to unpack it? However, I'm not sure that I even understand exactly how 'unpack' and 'route' work, which is obviously a problem! If anyone can provide a more simplified explanation I would really appreciate it. I'm not that familiar with programming, so layman's terms are all I can manage! Thanks Simon On Sat, Apr 4, 2009 at 2:14 PM, IOhannes m zmoelnig zmoel...@iem.at mailto:zmoel...@iem.at wrote: Simon Ball wrote: Hi List hi. it seems like i received this email multiple times... However, there are few areas I am still confused about. First of all, I am unsure of how to extract muliple co-ordinates from [pix_multiblob]. I understand that the data from multiblob is collated within a matrix. I am able to see this in the pd window when I print. However, I am unsure how to use a matrix. Is there a certain object that I should be sending to from [pix_multiblob]? And in turn, how would I convert the matrix into xy co-ordinates. there is a separate library dedicated to the kind of matrices output by [pix_multiblob]; it's called iemmatrix. however, you should have an understanding of matrices in order to use it. matrices of this form are simple messages which you can treat like any other message. attached are two examples on how to extract the rows of a matrix (and pix_multiblob will give you one row per blob; so this is interesting data), one using iemmatrix ([pix_rows]) and one using zexy ([pix_rowz]). it is left as an exercise for the user to make a pd-vanilla implementation. just send the mtx-output of [pix_multiblob] to the object, and you will get nice lists for each blob, starting with the index of the blob (zero-based) and then comes the data. use [route] to filter the relevant blobs and [unpack] to access the data. In the archives I found a response to similar a question saying there was a gem example with matrix and multiblob, but I can not seem to find it. Any idea what and where this is? there's an abstraction called [pix_blobtracker] which uses [pix_multiblob] and matrix operations to track blobs. Hope thats not too many questions. And is it easier for the list if I divide questions up (for archive purposes perhaps)? personally i would prefer separate threads for separate questions for starters. it always ends in confusion, but we could try to delay this... gmsdr IOhannes #N canvas 0 0 552 353 10; #X obj 153 163 mtx; #X msg 153 143 col; #X obj 153 123 t b a b; #X obj 153 208 list prepend; #X obj 153 184 t a b; #X obj 196 185 i; #X obj 225 187 + 1; #X msg 214 165 0; #X obj 153 97 inlet; #X obj 153 236 outlet; #X text 72 48 output thw rows of a matrix \, prepended with a (zero-based) index; #X text 50 265 depends on [iemmatrix]; #X connect 0 0 4 0; #X connect 1 0 0 0; #X connect 2 0 1 0; #X connect 2 1 0 1; #X connect 2 2 7 0; #X connect 3 0 9 0; #X connect 4 0 3 0; #X connect 4 1 5 0; #X connect 5 0 6 0; #X connect 5 0 3 1; #X connect 6 0 5 1; #X connect 7 0 5 1; #X connect 8 0 2 0; #N canvas 166 277 450 419 10; #X msg 176 195 \$2; #X obj 184 249 repack; #X obj 144 221 list split 3; #X obj 184 321 list prepend; #X obj 144 170 t a a b; #X obj 184 274 t a b; #X obj 216 297 i; #X obj 246 298 + 1; #X msg 234 276 0; #X obj 144 145 inlet; #X obj 184 351 outlet; #X text 72 108 output thw rows of a matrix \, prepended with a (zero-based) index; #X text 50 375 depends on [zexy]; #X connect 0 0 1 1; #X connect 1 0 5 0; #X connect 2 1 1 0; #X connect 3 0 10 0; #X connect 4 0 2 0; #X connect 4 1 0 0; #X connect 4 2 8 0; #X connect 5 0 3 0; #X connect 5 1 6 0; #X connect 6 0 7 0; #X connect 6 0 3 1; #X connect 7 0 6 1; #X connect 8 0 6 1; #X connect 9 0 4 0; ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list #N canvas 509 42 863 826 10; #X obj 9 265 cnv 15 430 145 empty empty empty 20 12 0 14 -233017 -66577 0; #X text 40 267 Inlets:; #X text 39 352 Outlets:; #X obj 9 227 cnv 15 430 30 empty empty empty 20 12 0 14 -195568 -66577 0; #X text 18 226 Arguments:; #X obj 8 56 cnv 15 430 165 empty empty empty 20 12 0
Re: [PD] dyn~
Hello patrick, hello pd list speech dynamic patching looks great ! same for me here : the dyn~.pd_linux eats all my CPU (see compilation options below, I tried friendly flags) on ubuntu hardy nearly the same for xsample whereas py external works fine ### # make flags (e.g. use multiprocessor) # MFLAGS=-j 2 # user defined compiler flags # (check if they match your system!) # UFLAGS=-msse # user defined optimization flags # (check if they match your system!) OFLAGS=-O2 # optimizations for Pentium 4 OFLAGS+=-march=i486 a+ benjamin patrick a écrit : i didn't find dyn~ in pd-extended for linux. it's included in pd-extended for windows. anyone have dyn~.pd_linux? pat ___ 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] Pdpedia spam
Hi, we are working on french PdPedia and the english version has been spammed today after we cleaned somes pages so would it be possible to allow only registered user to edit on the pdpedia wiki (urgent), and would it be possible to add a captcha to register (maybe later) ? let's fight against bot !!! thanks Benjamin ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] French Pdpedia : workshop + script @ Orleans 18-19 december
Hello, Labomedia is organising a workshop to fill french Pdpedia and produce pedagogical contents on Pd, OSC, Python, Blender it seems that english Pdpedia is filled with a script that upload the text content of help patches : would it be possible to get this script, maybe improve it if we can, and fill french pdpedia with it so as to start from the english content and translate it in french rather than starting from blank pages ? thanks for any reply Benjamin P.S. : workshop take place at http://www.labomedia.org in Orléans France and it's free to participate ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] iChat / SMS - PD
hello, for sms, maybe http://www.gammu.org and [shell] object can help a+ benjamin mark edward grimm a écrit : Hello, Might there be a method for sending iChat/SMS messages to pd? I see some experiments but nothing is clear. iChat can send and receive SMS so I would just use it as my gateway to PD. I saw a post on Jabber-PD which seems to be a solution but I have been unable to locate the original thread or example patch... Thanks mark ___ 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] webcam piano? can any one help?
Hi, linked an old patch that simply uses GEM [pix_blob] * 127 Midi on X Y axis, it can be downloaded here : http://dl.free.fr/qumKwAO6f ( 100ko so not attached to the mail) then using alsamidi with jack, midiyoke (win) or equivalent on macos, you can send the midi notes/velocity to any software/synth there is also basic synthesis inside the patch to test without midi synth hope it helps benjamin Jordi Sala a écrit : Hi, Look at motionCutreTheremin and motionDrum patches in this post (you can download the two patches) http://musa.poperbu.net/index.php?option=com_contenttask=viewid=37Itemid=30lang=ca http://musa.poperbu.net/index.php?option=com_contenttask=viewid=37Itemid=30lang=ca (sorry, I haven't translated it to english). I think they are a VERY SIMPLE examples that can help you If you have any question ask me! Jordi ** On Tue, Sep 23, 2008 at 7:02 PM, bernardo amorim [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: hi there i would like to know if anyone has ever made a thing like this? http://memo.tv/webcam_piano in puredata. I have a grid example but i cant seem to understand how if functions can anyone help? :) hugs bern ___ Pd-list@iem.at mailto:Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Jordi Sala http://musa.poperbu.net ___ 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] pix_record + DV
Hello, There are nice informations about DV cam in doc/5.reference/Gem/pix_video.pd (see at the bottom of the file [pd linux notes]) have you tried [driver 1 and [device 0 ? or [open /dev/dv1394/0 ? dv cam works fine for me Pd version 0.39.3-extended on ubuntu 7.04 bellow my personnal notes, don't know if all those are still necessary four you : ubuntu festy : 1. create directory : sudo mkdir /dev/ieee1394/dv/host0/PAL (in fact you have to create directories one by one) 2. symbolic link : ln -s /dev/dv1394/0 /dev/ieee1394/dv/host0/PAL/in 3. Before, to use a software to encode in theora (TSS), I did (not sure neither if necessary) cd /dev/ chmod 777 raw1394 chgrp benjamin raw1394 sudo adduser benjamin disk a+benjamin bruno tarin a écrit : sorry, im using ubuntu 7.10 and pd extended 0.39.3 and i cant put dv cameras working on pd in linux, with your path i get a error saying that pix_video not work in my os. Anyone knows how to put a dv camera in pd on linux? Any idea? Thanks 2008/5/16 ---[O:O]--- [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: Hello, the attachement was in my previous e-mail (see at the bottom) In case of pb, I put the file there : http://dl.free.fr/lnSR3uQU9/dyn-pix_record_list-files.pd a+ benjamin [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] a écrit : Thanx benjamin But you forgot the attachment :) - Mail Original - De: ---[O:O]--- [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] À: pd-list@iem.at mailto:pd-list@iem.at Cc: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Envoyé: Vendredi 16 Mai 2008 12:20:10 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: [PD] pix_record + DV Hi list, I had the same problem (fixed image on the second recording) so I made a small dynamic patch that re-recreates [pix_record] each time It was working fine on MacOS and Linux, we were able to record DV Cam in full resolution with mjpeg codec (? not sure to remember well the codec) and good quality In attached patch, I put also a small shell system to count the number of files in the directory and add +1 to the filename to avoid same names hope it helps benjamin marius schebella a écrit : [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I've just tested with your patch and still got the same bug... What's pd version are you using??? And how many successives recording did you do? I made 4 recordings, each a few seconds. I am using pd-extended version from 0428. another thing that seems important, I got crashes when the file I wanted to record already existed. but besides that, everything seems to work fine. maybe this is related to some system libraries, I downloaded lots of them (to be able to compile gem myself). I just tested with 0515 now, and it works for me, too. just make sure you don't try to record a file that already exists. marius. ___ PD-list@iem.at mailto:PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list #N canvas 263 26 1252 914 10; #X obj -2 1 cnv 15 1280 1024 empty empty Presence 20 12 0 14 -1 -128992 0; #X obj 0 726 cnv 15 390 200 empty empty Affichage 20 12 0 14 -195568 -66577 0; #X obj 402 727 cnv 15 390 200 empty empty Initialisations 20 12 0 14 -195568 -66577 0; #X obj 19 261 cnv 15 1240 460 empty empty empty 20 12 0 14 -66577 -66577 0; #X obj 409 66 cnv 15 380 180 empty empty Seuil 12 12 0 12 -233017 -66577 0; #N canvas 0 22 594 444 initialisations 0; #X obj 20 -10 loadbang; #X obj 235 108 s ib; #X obj 156 137 s ib1; #X obj 117 158 s ib0; #X obj 166 117 s init1; #X msg 117 98 0; #X msg 156 97 1; #X obj 52 47 t b b b b b b b b b b b b b; #X obj 195 96 s ibb; #X obj 61 24 inlet; #X obj 117 26 inlet; #X obj 156 26 inlet; #X obj 195 25 inlet; #X obj 251 24 inlet; #X obj 99 330 s ibbb; #X obj 38 241 s ibbb0; #X msg 38 173 0; #X obj 250 69 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 53 112 delay 3000; #X obj 53 212 s i; #X obj 178 68 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 155 277 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 70 174 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 100 240 delay 500; #X obj 38 136 delay 1500; #X
Re: [PD] pix_record + DV
Hi list, I had the same problem (fixed image on the second recording) so I made a small dynamic patch that re-recreates [pix_record] each time It was working fine on MacOS and Linux, we were able to record DV Cam in full resolution with mjpeg codec (? not sure to remember well the codec) and good quality In attached patch, I put also a small shell system to count the number of files in the directory and add +1 to the filename to avoid same names hope it helps benjamin marius schebella a écrit : [EMAIL PROTECTED] wrote: I've just tested with your patch and still got the same bug... What's pd version are you using??? And how many successives recording did you do? I made 4 recordings, each a few seconds. I am using pd-extended version from 0428. another thing that seems important, I got crashes when the file I wanted to record already existed. but besides that, everything seems to work fine. maybe this is related to some system libraries, I downloaded lots of them (to be able to compile gem myself). I just tested with 0515 now, and it works for me, too. just make sure you don't try to record a file that already exists. marius. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list #N canvas 263 26 1252 914 10; #X obj -2 1 cnv 15 1280 1024 empty empty Presence 20 12 0 14 -1 -128992 0; #X obj 0 726 cnv 15 390 200 empty empty Affichage 20 12 0 14 -195568 -66577 0; #X obj 402 727 cnv 15 390 200 empty empty Initialisations 20 12 0 14 -195568 -66577 0; #X obj 19 261 cnv 15 1240 460 empty empty empty 20 12 0 14 -66577 -66577 0; #X obj 409 66 cnv 15 380 180 empty empty Seuil 12 12 0 12 -233017 -66577 0; #N canvas 0 22 594 444 initialisations 0; #X obj 20 -10 loadbang; #X obj 235 108 s ib; #X obj 156 137 s ib1; #X obj 117 158 s ib0; #X obj 166 117 s init1; #X msg 117 98 0; #X msg 156 97 1; #X obj 52 47 t b b b b b b b b b b b b b; #X obj 195 96 s ibb; #X obj 61 24 inlet; #X obj 117 26 inlet; #X obj 156 26 inlet; #X obj 195 25 inlet; #X obj 251 24 inlet; #X obj 99 330 s ibbb; #X obj 38 241 s ibbb0; #X msg 38 173 0; #X obj 250 69 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 53 112 delay 3000; #X obj 53 212 s i; #X obj 178 68 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 155 277 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 70 174 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 100 240 delay 500; #X obj 38 136 delay 1500; #X connect 5 0 3 0; #X connect 6 0 2 0; #X connect 6 0 4 0; #X connect 7 1 24 0; #X connect 7 2 18 0; #X connect 7 3 23 0; #X connect 7 5 5 0; #X connect 7 8 6 0; #X connect 7 11 8 0; #X connect 7 12 1 0; #X connect 9 0 7 0; #X connect 10 0 5 0; #X connect 11 0 6 0; #X connect 12 0 8 0; #X connect 13 0 1 0; #X connect 16 0 15 0; #X connect 17 0 1 0; #X connect 18 0 19 0; #X connect 20 0 8 0; #X connect 21 0 14 0; #X connect 22 0 19 0; #X connect 23 0 14 0; #X connect 24 0 16 0; #X restore 410 893 pd initialisations; #X obj 547 265 cnv 15 350 450 empty empty empty 20 12 0 14 -128992 -66577 0; #N canvas 285 284 894 744 Gestion_Affichage 0; #N canvas 222 270 578 758 GemWin_Benj 0; #X msg 75 111 create \, 1; #X msg 61 54 stereo 2; #X msg 53 34 border 0; #X msg -35 95 dimen 800 600; #X msg -35 112 offset 0 0; #X msg -35 130 dimen 400 300; #X msg -35 148 fullscreen 1; #X msg -35 77 offset 1024 0; #X msg -35 166 fullscreen 0; #X msg -35 184 lighting 1; #X msg -35 201 lighting 0; #X msg -36 215 dimen 200 150; #X msg -35 235 cursor 0; #X msg -35 253 cursor 1; #X msg 62 77 stereo 0; #X obj 53 9 loadbang; #X msg 74 132 destroy \, 0; #X msg 55 151 dimen 1024 768; #X msg -35 272 dimen 1024 768; #X obj 126 11 inlet; #X obj 150 77 key; #X obj 150 117 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 150 97 select 81; #X obj 278 94 vsl 8 50 0 1 0 0 empty empty empty 0 -8 0 8 -258699 -1 -1 0 1; #X obj 286 94 vsl 8 50 0 1 0 0 empty empty empty 0 -8 0 8 -24198 -1 -1 0 1; #X obj 294 94 vsl 8 50 0 1 0 0 empty empty empty 0 -8 0 8 -355 -1 -1 0 1; #X obj 281 179 vsl 8 50 0 1 0 0 empty empty empty 0 -8 0 8 -258699 -1 -1 0 1; #X obj 289 179 vsl 8 50 0 1 0 0 empty empty empty 0 -8 0 8 -24198 -1 -1 0 1; #X obj 297 179 vsl 8 50 0 1 0 0 empty empty empty 0 -8 0 8 -355 -1 -1 0 1; #X obj 275 353 vsl 8 50 0 1 0 0 empty empty empty 0 -8 0 8 -258699 -1 -1 0 1; #X obj 283 353 vsl 8 50 0 1 0 0 empty empty empty 0 -8 0 8 -24198 -1 -1 0 1; #X obj 291 353 vsl 8 50 0 1 0 0 empty empty empty 0 -8 0 8 -355 -1 -1 0 1; #N canvas 0 22 470 320 speculargem 0; #X obj 26 145 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 41 144 t b f; #X obj 41 35 vsl 8 50 0 1 0 0 empty empty empty 0 -8 0 8 -258699 -1 -1 0 1; #X obj 49 35 vsl 8 50 0 1 0 0 empty empty empty 0 -8 0 8 -24198 -1 -1 0 1; #X obj 57 35 vsl 8 50 0 1 0 0 empty empty empty 0 -8 0 8 -355 -1 -1 0 1; #X obj 63 167 t b f; #X floatatom 67 101 5 0 0
Re: [PD] pix_record + DV
Hello, the attachement was in my previous e-mail (see at the bottom) In case of pb, I put the file there : http://dl.free.fr/lnSR3uQU9/dyn-pix_record_list-files.pd a+ benjamin [EMAIL PROTECTED] a écrit : Thanx benjamin But you forgot the attachment :) - Mail Original - De: ---[O:O]--- [EMAIL PROTECTED] À: pd-list@iem.at Cc: [EMAIL PROTECTED] Envoyé: Vendredi 16 Mai 2008 12:20:10 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: [PD] pix_record + DV Hi list, I had the same problem (fixed image on the second recording) so I made a small dynamic patch that re-recreates [pix_record] each time It was working fine on MacOS and Linux, we were able to record DV Cam in full resolution with mjpeg codec (? not sure to remember well the codec) and good quality In attached patch, I put also a small shell system to count the number of files in the directory and add +1 to the filename to avoid same names hope it helps benjamin marius schebella a écrit : [EMAIL PROTECTED] wrote: I've just tested with your patch and still got the same bug... What's pd version are you using??? And how many successives recording did you do? I made 4 recordings, each a few seconds. I am using pd-extended version from 0428. another thing that seems important, I got crashes when the file I wanted to record already existed. but besides that, everything seems to work fine. maybe this is related to some system libraries, I downloaded lots of them (to be able to compile gem myself). I just tested with 0515 now, and it works for me, too. just make sure you don't try to record a file that already exists. marius. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list #N canvas 263 26 1252 914 10; #X obj -2 1 cnv 15 1280 1024 empty empty Presence 20 12 0 14 -1 -128992 0; #X obj 0 726 cnv 15 390 200 empty empty Affichage 20 12 0 14 -195568 -66577 0; #X obj 402 727 cnv 15 390 200 empty empty Initialisations 20 12 0 14 -195568 -66577 0; #X obj 19 261 cnv 15 1240 460 empty empty empty 20 12 0 14 -66577 -66577 0; #X obj 409 66 cnv 15 380 180 empty empty Seuil 12 12 0 12 -233017 -66577 0; #N canvas 0 22 594 444 initialisations 0; #X obj 20 -10 loadbang; #X obj 235 108 s ib; #X obj 156 137 s ib1; #X obj 117 158 s ib0; #X obj 166 117 s init1; #X msg 117 98 0; #X msg 156 97 1; #X obj 52 47 t b b b b b b b b b b b b b; #X obj 195 96 s ibb; #X obj 61 24 inlet; #X obj 117 26 inlet; #X obj 156 26 inlet; #X obj 195 25 inlet; #X obj 251 24 inlet; #X obj 99 330 s ibbb; #X obj 38 241 s ibbb0; #X msg 38 173 0; #X obj 250 69 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 53 112 delay 3000; #X obj 53 212 s i; #X obj 178 68 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 155 277 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 70 174 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 100 240 delay 500; #X obj 38 136 delay 1500; #X connect 5 0 3 0; #X connect 6 0 2 0; #X connect 6 0 4 0; #X connect 7 1 24 0; #X connect 7 2 18 0; #X connect 7 3 23 0; #X connect 7 5 5 0; #X connect 7 8 6 0; #X connect 7 11 8 0; #X connect 7 12 1 0; #X connect 9 0 7 0; #X connect 10 0 5 0; #X connect 11 0 6 0; #X connect 12 0 8 0; #X connect 13 0 1 0; #X connect 16 0 15 0; #X connect 17 0 1 0; #X connect 18 0 19 0; #X connect 20 0 8 0; #X connect 21 0 14 0; #X connect 22 0 19 0; #X connect 23 0 14 0; #X connect 24 0 16 0; #X restore 410 893 pd initialisations; #X obj 547 265 cnv 15 350 450 empty empty empty 20 12 0 14 -128992 -66577 0; #N canvas 285 284 894 744 Gestion_Affichage 0; #N canvas 222 270 578 758 GemWin_Benj 0; #X msg 75 111 create \, 1; #X msg 61 54 stereo 2; #X msg 53 34 border 0; #X msg -35 95 dimen 800 600; #X msg -35 112 offset 0 0; #X msg -35 130 dimen 400 300; #X msg -35 148 fullscreen 1; #X msg -35 77 offset 1024 0; #X msg -35 166 fullscreen 0; #X msg -35 184 lighting 1; #X msg -35 201 lighting 0; #X msg -36 215 dimen 200 150; #X msg -35 235 cursor 0; #X msg -35 253 cursor 1; #X msg 62 77 stereo 0; #X obj 53 9 loadbang; #X msg 74 132 destroy \, 0; #X msg 55 151 dimen 1024 768; #X msg -35 272 dimen 1024 768; #X obj 126 11 inlet; #X obj 150 77 key; #X obj 150 117 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 150 97 select 81; #X obj 278 94 vsl 8 50 0 1 0 0 empty empty empty 0 -8 0 8 -258699 -1 -1 0 1; #X obj 286 94 vsl 8 50 0 1 0 0 empty empty empty 0 -8 0 8 -24198 -1 -1 0 1; #X obj 294 94 vsl 8 50 0 1 0 0 empty empty empty 0 -8 0 8 -355 -1 -1 0 1; #X obj 281 179 vsl 8 50 0 1 0 0 empty empty empty 0 -8 0 8 -258699 -1 -1 0 1; #X obj 289 179 vsl 8 50 0 1 0 0 empty empty empty 0 -8 0 8 -24198 -1 -1 0 1; #X obj 297 179 vsl 8 50 0 1
Re: [PD] pix_invert for livevideo?
hi, I quickly integrated [mtx] object in the help patch to have separates values for each blob ... if it can help works on linux Pd-extended rc5 pix_invert works fine for me : maybe [pix_rgba] after your [pix_video] ? a++ benjamin IOhannes m zmoelnig a écrit : |||__||| wrote: also i'm not really sure about the way the list works that pix multiblob outputs: am i right assuming that i have to add + 10 for every additional blob in order to get their values? so $6 is minX for the first blob, $16 minXfor the second blob... ? for now, the [pix_multiblob] outputs a matrix (as used by the iemmatrix objects). the format is matrix rows columns el_1_1 el_1_2 ... el_1_columns el_2_1 ... ... el_rows_columns so if you [list split] the meta information matrix rows columns then your assumption is somewhat correct: the #columns is 8(!) mfga.sdr IOhannes ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list #N canvas 509 42 863 826 10; #X obj 9 265 cnv 15 430 145 empty empty empty 20 12 0 14 -233017 -66577 0; #X text 40 267 Inlets:; #X text 39 352 Outlets:; #X obj 9 227 cnv 15 430 30 empty empty empty 20 12 0 14 -195568 -66577 0; #X text 18 226 Arguments:; #X obj 8 56 cnv 15 430 165 empty empty empty 20 12 0 14 -233017 -66577 0; #X obj 449 37 cnv 15 200 380 empty empty empty 20 12 0 14 -228992 -66577 0; #X obj 451 684 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577 0; #N canvas 0 0 450 300 gemwin 0; #X obj 132 136 gemwin; #X obj 64 202 outlet; #X obj 67 10 inlet; #X msg 64 183 set destroy; #X msg 132 112 create \, 1; #X msg 216 117 destroy; #X msg 190 58 set create; #X obj 67 41 route create; #X obj 219 6 inlet; #X connect 2 0 7 0; #X connect 3 0 1 0; #X connect 4 0 0 0; #X connect 5 0 0 0; #X connect 6 0 1 0; #X connect 7 0 3 0; #X connect 7 0 4 0; #X connect 7 1 6 0; #X connect 7 1 5 0; #X connect 8 0 0 0; #X restore 456 723 pd gemwin; #X msg 456 704 destroy; #X text 452 683 Create window:; #X obj 451 133 cnv 15 185 120 empty empty empty 20 12 0 14 -24198 -66577 0; #X obj 451 43 gemhead; #X text 17 366 Outlet 1: gemlist; #X text 24 281 Inlet 1: gemlist; #X obj 453 605 pix_texture; #X floatatom 491 235 3 0 100 2 threshold - -; #X obj 491 252 / 100; #X text 71 31 Class: pix object (analysis); #X msg 491 273 treshold \$1; #X floatatom 581 235 3 0 100 2 blobsize - -; #X obj 581 252 / 100; #X msg 581 273 blobSize \$1; #X text 24 296 Inlet 1: treshold float: minimum luminance of a pixel to be considered part of a blob. (default=0.04); #X text 24 325 Inlet 1: blobSize float: minimum relative size of a blob. (default=0.1); #X text 50 12 Synopsis: [pix_multiblob]; #X text 29 57 Description: blob detector (for multiple blobs); #X text 17 73 [pix_multiblob] is able to detect multiple blobs within an image.; #X text 17 103 a blob is a number of adjacent(!) pixels with a luminance that is bigger than the value defined by treshold. you can set the minimum size of a blob that is needed to be detected.; #X text 17 156 the output is a matrix following the conventions of the mtx-objects from zexy/iemmatrix. each row describes one detected blob as follows: centerX(weighted) \, centerY(weighted) \, size(weighted) \, minX \, minY \, maxX \, maxY \, size; #X text 64 237 int: max number N of blobs to detect; #X text 17 381 Outlet 2: (k \, 8) matrix: describing k detected blobs (with 0=kN); #X obj 604 114 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #X obj 453 325 pix_multiblob 6; #X obj 451 111 pix_video; #X msg 683 93 driver 0; #X obj 453 660 rectangle 5.33 4; #X msg 683 69 device 1; #X obj 451 146 pix_rgba; #X floatatom 580 465 5 0 0 1 x - -; #X floatatom 581 481 5 0 0 1 y - -; #X floatatom 581 497 5 0 0 1 size - -; #X floatatom 582 513 5 0 0 1 minX - -; #X floatatom 582 529 5 0 0 1 minY - -; #X floatatom 583 545 5 0 0 1 maxX - -; #X floatatom 583 561 5 0 0 1 maxY - -; #X floatatom 584 577 5 0 0 1 area - -; #N canvas 183 567 687 354 showblob 0; #X obj 67 86 inlet blobinformation; #X obj 67 138 unpack 0 0 0 0 0 0 0 0; #X obj 67 167 outlet weightedX; #X obj 88 187 outlet weightedY; #X obj 109 207 outlet weightedSize; #X obj 156 236 outlet minX; #X obj 177 256 outlet minY; #X obj 243 236 outlet maxX; #X obj 260 256 outlet maxY; #X obj 348 238 outlet size; #X text 60 45 this extracts information of the 1st detected blob; #N canvas 517 405 450 300 rectangle 0; #X obj 68 75 inlet; #X obj 215 -1 inlet; #X obj 68 269 rectangle; #X obj 68 234 translateXYZ; #X obj 215 69 unpack 0 0 0 0; #X obj 215 94 +; #X obj 254 95 +; #X text 248 125 0..2; #X text 250 145 -1..+1; #X obj 340 148 -; #X obj 377 149 -; #X obj 193 124 - 1; #X obj 222 123 - 1; #X obj 222 146 * 4; #X obj 377 180 * -4; #X obj 155 151 * 5.334; #X obj 320 179 * -5.334; #X msg 184 263 draw line; #X obj 245 246 loadbang; #X connect 0 0 3 0; #X connect 1 0 4 0; #X connect 3 0 2 0; #X connect 4 0 5 0; #X connect 4 0 9 0; #X connect 4 1
Re: [PD] GEM : fx to make persons appear only when they move
Thanks Max for this example, in fact it is quite close to my first trial, it works fine but if there is 2 persons in the image, one move, the 2 persons appears and I would like to see only the person who is moving. I'll dig deeper... Benjamin Max Neupert a écrit : hi benjamin, sebastian trippner did exactly this in i seminar i gave. here is the description and patch to download: http://kunstundmedien.burg-halle.de/LEF/index.php?labor=erkenntniss=LEF he was using a very simple method: a snapshot (still image) from the video feed was placed over the video image as soon as the video showed no more movement. it's a very simple patch with not many onbjects. have fun with it. Am 01.03.2007 um 06:41 schrieb --: Hi list, I' trying to make an effect on a live camera feed with GEM for an installation in which only persons who move appear on a kind of video mirror, as chameleonTv of effecTv (http://effectv.sourceforge.net/chameleon.html) I tryed severals ways : with pix_background and pix_blob, modulating the alpha value of the rectangle on which the video is textured in function of the quantity of movement but if one person moves, everybody appears. with pix_multiblob and combination of pix_image pix_rectangle and pix_mask, the [pix_multiblob 2] seems to eat all the processor, even if I [pix_resize 320 240] the image before the multiblob. accumulating many (25) pix_movement and using the result by pix_masking it with the live feed dig a hole in the person that moves a little. Maybe I did not the average of alpha channel of the 25 previous frame as I thought, due to the fact that pix_movement works on the previous frame ? is there a better way with opengl instructions ? I tryed to look in that direction but I didn't manage yet to find how to analyze and affect the pixels of a live feed thanks for any advice benjamin for the tech note : the video feed is from a PCI capture card (AlchemyTv) connected in s-video to a dv camera with [pix_video 720 576] on a G5 10.4 Pd ext7, for the first trial, I manage to mix this video feed with another DV camera connected in firewire, putting into a buffer an image background, filling and playing another buffer with PAL images, and playing a non compressed video of the same size output on a second screen 800x600, with all that, the motion capture was really fast, only 40% of the proc used, it was really impressive (and stable), great dev work, thks -- ^ -[O:O]- ~ +--[¨]-- | | _/ \_ ___ 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 -- ^ -[O:O]- ~ +--[¨]-- | | _/ \_ ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] GEM : fx to make persons appear only when they move
Hi list, I' trying to make an effect on a live camera feed with GEM for an installation in which only persons who move appear on a kind of video mirror, as chameleonTv of effecTv (http://effectv.sourceforge.net/chameleon.html) I tryed severals ways : with pix_background and pix_blob, modulating the alpha value of the rectangle on which the video is textured in function of the quantity of movement but if one person moves, everybody appears. with pix_multiblob and combination of pix_image pix_rectangle and pix_mask, the [pix_multiblob 2] seems to eat all the processor, even if I [pix_resize 320 240] the image before the multiblob. accumulating many (25) pix_movement and using the result by pix_masking it with the live feed dig a hole in the person that moves a little. Maybe I did not the average of alpha channel of the 25 previous frame as I thought, due to the fact that pix_movement works on the previous frame ? is there a better way with opengl instructions ? I tryed to look in that direction but I didn't manage yet to find how to analyze and affect the pixels of a live feed thanks for any advice benjamin for the tech note : the video feed is from a PCI capture card (AlchemyTv) connected in s-video to a dv camera with [pix_video 720 576] on a G5 10.4 Pd ext7, for the first trial, I manage to mix this video feed with another DV camera connected in firewire, putting into a buffer an image background, filling and playing another buffer with PAL images, and playing a non compressed video of the same size output on a second screen 800x600, with all that, the motion capture was really fast, only 40% of the proc used, it was really impressive (and stable), great dev work, thks -- ^ -[O:O]- ~ +--[¨]-- | | _/ \_ ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list