[PD] [PD-announce] Oracle (2003) patches online

2012-01-26 Thread B. Bogart
Hello all,

Someone finally asked me to post code on Oracle (my BFA final project
from 2003). So I've put all the source online, including my process
patches (PD), misc tcl scripts, videos and images. (so its 230MB)

http://www.ekran.org/ben/art-source/oracle.tar.bz2

Note I could not get it to work with current PD/Gem, so I gave up and
put it up as is. It still maybe useful for some people to look at.

Ben Bogart
www.ekran.org/ben

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

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


Re: [PD] XY abstraction

2011-05-19 Thread B. Bogart
I forgot this existed.

I also get the CRC error, but the files seem to work fine.

B.

On 11-05-19 10:00 AM, Pedro Lopes wrote:
 Yes, I have it running now. It gives the extract error, by it gets the files.
 
 On Thu, May 19, 2011 at 5:55 PM, Pedro Lopes pedro.lo...@ist.utl.pt wrote:
 The issue is I get an:
 gzip: stdin: invalid compressed data--crc error

 It sees the files so I can get them, I'll try to extract them anyway
 (forcing it).

 Best regards,
 Pedro

 On Thu, May 19, 2011 at 4:25 PM, IOhannes m zmoelnig zmoel...@iem.at wrote:
 On 2011-05-19 16:20, Pedro Lopes wrote:
 I'm trying to find an already-made XY abstraction, and it seems that
 this could be the one:
 - http://puredata.info/Members/bbogart/XY-Controller/view

 Although I cannot use it, what file type is this?

 p.s.: I did some digging into file type and I got:
 pedro@io:~/Downloads$ file file
 file: gzip compressed data, was xy-controller.tar, from FAT
 
 so the file type is gz and was made from xy-controller.tar
 
 filesystem (MS-DOS, OS/2, NT), last modified: Mon Jun  2 23:29:18 2003

 But even so, it doesn't uncompress here in my Linux.

 
 tools are getting too intelligent nowadays, as they refuse to gunzip
 files not endig with gz.
 so this should work:
 $ cat file | gunzip -c | tar xv
 
 or this:
 $ mv file xy-controller.tar.gz
 $ tar xvzf xy-controller.tar.gz
 
 
 fgmasdr
 IOhannes





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



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


Re: [PD] Pd-extended 0.42.5 (stable + nightly) tiny fonts?

2010-12-14 Thread B. Bogart
I was able to compile pd-extended on my machine, and it behaves just the
same as the stable release in the repo.

The puredata package from the official repos does accept a -font-face
flag, but the -font-size does not seem to change (I tried from 10 to
1000 as args).

So I'll either compare the config between the liveDVD and my machine to
figure out what is different that messes with PD extended, or I'll wait
for the gui rewrite pd extended and stick with vanilla. Until this
reinstallation I was using 0.39 for all my work still! No harm is
sticking with vanilla 42-5.

.b.

On 10-12-10 12:05 PM, B. Bogart wrote:
 Ok, so after booting a ubuntu liveDVD (on a usb key) I found three
 interesting things:
 
 1. Fonts look fine in pd-extended!! (no nvidia driver used)
 
 2. the PD console prints some stuff that pdextended on my installation
 does not: (no such messages on my installation)
 
 Pd Version: 0.42.5-extended
 Tcl Version: 8.5.8
 
 3. The tk scaling value is ~1. on liveDVD (not the ~1.25 on my
 installation) Ok, my nvidia card says my dpi (provided by EDID) is
 90x96. So the width tk scaling should be 1.25 and the height 1.33, so
 what does tk scaling mean when pixels are nonsquare?
 
 For fun I manually changed the display DPI to crazy numbers (150x150),
 the tk scaling report changes, but the appearance of the fonts in PD do
 not change, but they do everywhere else.
 
 I'll try compiling pd-extended from source next.
 
 .b.
 
 
 On 10-12-10 10:30 AM, B. Bogart wrote:
 Hi Hans  Andras,

 Andraz, Indeed the wish test looks fine.

 Hans, I removed 8.4 to make sure everything was running on 8.5. wish
 certainly (eventually) points to wish8.5

 Note I have pd-vanilla (puredata) installed from the lucid repos also.
 It looks fine, and since I removed 8.4, and only 8.5 is installed,
 vanilla must be using 8.5.

 To check if its some weird nvidia thing, I'm going to boot up in the
 live DVD and see if pd-extended still looks tiny.

 Thanks for the debugging suggestions all.

 .b.

 On 10-12-10 07:52 AM, Hans-Christoph Steiner wrote:

 try running your Tk font test with only wish not wish8.5.  That's
 what Pd uses.  wish could be pointing to wish8.4

 .hc

 On Dec 9, 2010, at 1:53 PM, B. Bogart wrote:

 Hi Hans,

 Now I'm really confused. I tried -verbose and it shows the following in
 the path.

 /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType/

 I rechecked the installation of the recommended fonts (see
 small-font-pd-extended-#2.png) and verified the command line flags. Even
 the font size does not change. Tk scaling is 1.2508464142813174.

 So maybe tk is not reading the fonts for some reason, so I did a little
 wish8.5 test, presented in tk_likes_dejavu.png.

 Am I the only one trying to use pd-extended 0.42-5 on a 64bit lucid
 machine with nvidia proprietary drivers?

 I tried switching to nv or nouveau but X does not start, looks like
 I'd have to remove the proprietary drivers just to test.

 I'll try it on my lucid live DVD when I get a chance.

 .b.

 On 10-12-09 07:46 AM, Hans-Christoph Steiner wrote:

 If -font-face doesn't change the font, then the font you asked for is
 not installed correctly, or there is a typo in the font name.  Font
 names are case-sensitive, IIRC.

 .hc

 On Dec 8, 2010, at 8:52 PM, B. Bogart wrote:

 Thanks Hans,

 I installed those fonts, removed tcl8.4 (leaving 8.5) and reinstalled
 pd-extended.

 No change in font size.

 I also tried starting pd-extended with the -font-face flags, and still
 no change.

 I also switched from the binary on puredata to the pd-extended package
 in the ubuntu repo, which is version 0.42.5-3.

 I also confirmed in xfce and in the nvidia settings that my screen dpi
 is 96, and a 96 pixel wide square is indeed 1in on screen.

 What else can I try?

 An interesting note, If I open the 'about PD' patch, and change the
 font
 size, 10 and 12 point choices change only the height of the font, the
 width stays constant between them. Both x and y change for the other
 font size choices. I can make a screenshot if that helps.

 I have to say its great to have pd-extended in the repos! and 64 bit!
 Much has changed. :)

 Thanks,
 B.

 On 10-12-07 03:34 PM, Hans-Christoph Steiner wrote:

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



 .hc

 On Tue, 2010-12-07 at 15:22 -0800, B. Bogart wrote:
 Hi Hans and all,

 After reading too many books and not doing much PD, I'm back.

 I'm now running on an ubuntu64 lucid installation, and using the
 corresponding pd-extended package. I also tried yesterdays nightly
 build.

 Both versions show object and console text in a super small font. It
 looks like 8 or 9 point. I thought it may be the dpi setting (since
 nvidia cards seems to mess with that a bit) but changing the dpi
 setting
 in xfce font settings appears to make no difference.

 Also the object boxes are bigger than needed for the text size. I've
 attached a screenshot

Re: [PD] Pd-extended 0.42.5 (stable + nightly) tiny fonts?

2010-12-10 Thread B. Bogart
Ok, so after booting a ubuntu liveDVD (on a usb key) I found three
interesting things:

1. Fonts look fine in pd-extended!! (no nvidia driver used)

2. the PD console prints some stuff that pdextended on my installation
does not: (no such messages on my installation)

Pd Version: 0.42.5-extended
Tcl Version: 8.5.8

3. The tk scaling value is ~1. on liveDVD (not the ~1.25 on my
installation) Ok, my nvidia card says my dpi (provided by EDID) is
90x96. So the width tk scaling should be 1.25 and the height 1.33, so
what does tk scaling mean when pixels are nonsquare?

For fun I manually changed the display DPI to crazy numbers (150x150),
the tk scaling report changes, but the appearance of the fonts in PD do
not change, but they do everywhere else.

I'll try compiling pd-extended from source next.

.b.


On 10-12-10 10:30 AM, B. Bogart wrote:
 Hi Hans  Andras,
 
 Andraz, Indeed the wish test looks fine.
 
 Hans, I removed 8.4 to make sure everything was running on 8.5. wish
 certainly (eventually) points to wish8.5
 
 Note I have pd-vanilla (puredata) installed from the lucid repos also.
 It looks fine, and since I removed 8.4, and only 8.5 is installed,
 vanilla must be using 8.5.
 
 To check if its some weird nvidia thing, I'm going to boot up in the
 live DVD and see if pd-extended still looks tiny.
 
 Thanks for the debugging suggestions all.
 
 .b.
 
 On 10-12-10 07:52 AM, Hans-Christoph Steiner wrote:

 try running your Tk font test with only wish not wish8.5.  That's
 what Pd uses.  wish could be pointing to wish8.4

 .hc

 On Dec 9, 2010, at 1:53 PM, B. Bogart wrote:

 Hi Hans,

 Now I'm really confused. I tried -verbose and it shows the following in
 the path.

 /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType/

 I rechecked the installation of the recommended fonts (see
 small-font-pd-extended-#2.png) and verified the command line flags. Even
 the font size does not change. Tk scaling is 1.2508464142813174.

 So maybe tk is not reading the fonts for some reason, so I did a little
 wish8.5 test, presented in tk_likes_dejavu.png.

 Am I the only one trying to use pd-extended 0.42-5 on a 64bit lucid
 machine with nvidia proprietary drivers?

 I tried switching to nv or nouveau but X does not start, looks like
 I'd have to remove the proprietary drivers just to test.

 I'll try it on my lucid live DVD when I get a chance.

 .b.

 On 10-12-09 07:46 AM, Hans-Christoph Steiner wrote:

 If -font-face doesn't change the font, then the font you asked for is
 not installed correctly, or there is a typo in the font name.  Font
 names are case-sensitive, IIRC.

 .hc

 On Dec 8, 2010, at 8:52 PM, B. Bogart wrote:

 Thanks Hans,

 I installed those fonts, removed tcl8.4 (leaving 8.5) and reinstalled
 pd-extended.

 No change in font size.

 I also tried starting pd-extended with the -font-face flags, and still
 no change.

 I also switched from the binary on puredata to the pd-extended package
 in the ubuntu repo, which is version 0.42.5-3.

 I also confirmed in xfce and in the nvidia settings that my screen dpi
 is 96, and a 96 pixel wide square is indeed 1in on screen.

 What else can I try?

 An interesting note, If I open the 'about PD' patch, and change the
 font
 size, 10 and 12 point choices change only the height of the font, the
 width stays constant between them. Both x and y change for the other
 font size choices. I can make a screenshot if that helps.

 I have to say its great to have pd-extended in the repos! and 64 bit!
 Much has changed. :)

 Thanks,
 B.

 On 10-12-07 03:34 PM, Hans-Christoph Steiner wrote:

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



 .hc

 On Tue, 2010-12-07 at 15:22 -0800, B. Bogart wrote:
 Hi Hans and all,

 After reading too many books and not doing much PD, I'm back.

 I'm now running on an ubuntu64 lucid installation, and using the
 corresponding pd-extended package. I also tried yesterdays nightly
 build.

 Both versions show object and console text in a super small font. It
 looks like 8 or 9 point. I thought it may be the dpi setting (since
 nvidia cards seems to mess with that a bit) but changing the dpi
 setting
 in xfce font settings appears to make no difference.

 Also the object boxes are bigger than needed for the text size. I've
 attached a screenshot.

 Thanks,
 B. Bogart

 On 10-06-14 06:25 AM, Hans-Christoph Steiner wrote:

 On Jun 13, 2010, at 6:56 AM, João Pais wrote:

 from testing 5m with windows (in a hurry):

 - path and other menus are now in normal size again.
 - properties menu for the guis/gop is still with small font size

 Should be fixed.

 - if you have a canvas with dynamic label inside a GOP, the label
 will
 appear in a differente place in the main patch (I have a patch that
 does this, but can't put it in now, it's too complicated)

 Sounds like this is worth a bug report with an example patch, I
 don't
 really understand it from this description.

 .hc


 João

Re: [PD] Pd-extended 0.42.5 (stable + nightly) tiny fonts?

2010-12-08 Thread B. Bogart
Thanks Hans,

I installed those fonts, removed tcl8.4 (leaving 8.5) and reinstalled
pd-extended.

No change in font size.

I also tried starting pd-extended with the -font-face flags, and still
no change.

I also switched from the binary on puredata to the pd-extended package
in the ubuntu repo, which is version 0.42.5-3.

I also confirmed in xfce and in the nvidia settings that my screen dpi
is 96, and a 96 pixel wide square is indeed 1in on screen.

What else can I try?

An interesting note, If I open the 'about PD' patch, and change the font
size, 10 and 12 point choices change only the height of the font, the
width stays constant between them. Both x and y change for the other
font size choices. I can make a screenshot if that helps.

I have to say its great to have pd-extended in the repos! and 64 bit!
Much has changed. :)

Thanks,
B.

On 10-12-07 03:34 PM, Hans-Christoph Steiner wrote:
 
 Start here for debugging it:
 http://puredata.info/docs/faq/on-gnu-linux-the-fonts-are-strange-and-or-too-big-or-small
 
 .hc
 
 On Tue, 2010-12-07 at 15:22 -0800, B. Bogart wrote:
 Hi Hans and all,

 After reading too many books and not doing much PD, I'm back.

 I'm now running on an ubuntu64 lucid installation, and using the
 corresponding pd-extended package. I also tried yesterdays nightly build.

 Both versions show object and console text in a super small font. It
 looks like 8 or 9 point. I thought it may be the dpi setting (since
 nvidia cards seems to mess with that a bit) but changing the dpi setting
 in xfce font settings appears to make no difference.

 Also the object boxes are bigger than needed for the text size. I've
 attached a screenshot.

 Thanks,
 B. Bogart

 On 10-06-14 06:25 AM, Hans-Christoph Steiner wrote:

 On Jun 13, 2010, at 6:56 AM, João Pais wrote:

 from testing 5m with windows (in a hurry):

 - path and other menus are now in normal size again.
 - properties menu for the guis/gop is still with small font size

 Should be fixed.

 - if you have a canvas with dynamic label inside a GOP, the label will
 appear in a differente place in the main patch (I have a patch that
 does this, but can't put it in now, it's too complicated)

 Sounds like this is worth a bug report with an example patch, I don't
 really understand it from this description.

 .hc


 João

 Of course we missed somethings, so now we have 0.42.5-rc2!  Fixed
 since 0.42.5-rc1:

  * 64-bit builds on Ubuntu
  * 64-bit build on Mac OS X 10.6/Snow Leopard, minus Gem, hid, and
 pidip (Carbon)
  * fixed [plugin~] crashes, now also builds on Mac OS X and Windows
  * Pd-extended shows in the GNOME menus again

 There are of course many bug fixes and additions since 0.41.4, here
 are some highlights:

  * fixing Graph-On-Parent GUI bugs
  * complete 64-bit support for GNU/Linux
  * full support for Mac OS X 10.6 Snow Leopard (32-bit)
  * a brand new Help Browser that shows all installed libraries

 For more details, check the notes on the release wiki page:
 http://puredata.info/dev/NextRelease


 Downloading
 ---

 You can download builds for Debian, Mac OS X, Ubuntu, and Windows:
 http://at.or.at/hans/pd/installers.html

 You can get the source and build it yourself here:
 http://puredata.info/docs/developer/GettingPdSource


 BUGS
 

 Test away and file bugs in the bug tracker! Also check the bug
 tracker before reporting bugs, and if you find an existing bug report
 on the same issue, please add your information there:

 http://puredata.info/dev/bugtracker

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


 -- 
 Friedenstr. 58
 10249 Berlin (Deutschland)
 Tel +49 30 42020091 | Mob +49 162 6843570
 Studio +49 30 69509190
 jmmmp...@googlemail.com | skype: jmmmpjmmmp




 


 All mankind is of one author, and is one volume; when one man dies, one
 chapter is not torn out of the book, but translated into a better
 language; and every chapter must be so translated -John Donne



 ___
 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] Skin Detection

2010-06-16 Thread B. Bogart
What is skin detection?

Are you trying to sense electrically or visually?

What is not skin?

I would be very careful with your conception of skin if your going
visual sensing, as it would be very difficult to make a skin detector
that does not privilege certain skin tones.

.b.

On 10-06-16 05:54 AM, Sean Harrigan wrote:
 Hi I am trying to write a simple skin detection program in PD.  Before I
 start I was wondering if someone already had a patch out there that did
 this and if not some pointers of where to start and how to approach this. 
  
 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


Re: [PD] [pix_crop] offY incoherence

2010-06-07 Thread B. Bogart

Hi,

This is normal media-art practise, mapping one range of values to 
another. Having one normalized system of coords does not solve all 
problems, sometimes you want to know the position in actual pixels, 
sometimes you don't. Not to mention the beauty of non-linear mappings.


Getting a handle on mapping from one set of numbers to another is the 
very centre of interactive media, and what one should get used to once 
they figure out what functions/object boxes/operations do.


I've always covered gemunits in my gem classes. Knowledge of things like 
the [rectangle 5.333 4] that fills the 4:3 gemwin, and the [rectangle 
7.111 4] rect that fills the 16:9 gemwin have become normal...


I prefer rounder aspect ratios myself (1:1, 2:1, 3:1,...), blame the 
screen makers!


.b.

On 10-06-07 03:59 AM, patko wrote:



- cyrille henryc...@chnry.net  a écrit :


openGL coordinate can easily be change using the perspec message to
gemwin.



Allright, then if I want to have gemwin coordinates system adapted to the blob,
I'd need to find out how to multiply perspect values to have my zeros at the 
lower corner left
and my ones to higher corner right.

  By fiddling with numberboxes I've figured out that any windows with a 4:3 
ratio has one horizontal
unity that is about 5.33 and vertical unity about 4.
  So it's really tricky to get values that are only between 0 and 1
inside the edges of the rendering window.

  In fact , at the end it's far easier to multiply the values outputed by 
[pix_blob] on x by 10.66 and remove 5.33,
and on y by 8 and remove 4, or divide gemmouse values by gemwin dimen and then 
multiplying by the same values.

  Is there a way to not-have-to fiddle values for getting an accurate 
positioning of objects in gemwin?

___
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] -rt w/ pd-extended on OS X

2010-03-11 Thread B. Bogart

-nosleep seems to have solved the issue.

I'm now getting the right numbers for [delay] in [realtime].

.b.

B. Bogart wrote:

I'm not doing any audio, just Gem rendering.

I did not have a chance to try -nosound (or is it -noaudio) anyhow I'll 
give that a try next time.


On a machine with multiple CPUs I expect all the OS stuff to end up on 
one CPU, and PD using up a whole one, meaning that timing should be 
tight until nearly 100% cpu. Since I'm having problems around 60%, hard 
to say what is up.


I'm using the same pd-extended.

Hans, Miller, does -rt do anything on OSX??

.b.

William Brent wrote:

Hi Ben,

For what it's worth, I just tested a patch running steady at 85% with
0.41.4-extended, and realtime reliably gives me values between
992-1008ms for a [delay 1000].  This is on a 2.5Ghz Intel Core 2 Duo,
4GB, OS 10.5.8.



On Sat, Mar 6, 2010 at 10:25 PM, B. Bogart b...@ekran.org wrote:

Hey all,

I've been running a patch on an intel mac for a while, but noticed some
horrid timing problems [delay 1000] takes ~3000ms according to 
[realtime].

The patch uses between 50% and 105% CPU according to top.

I've not got it down to about ~1500ms, but I can't pull back the 
patch any

further, and top says it using only 50-64% CPU...

I realized I was not using -rt, but when I try and run pd-extended 
(sorry I
don't recall the version, probably the stable one as of Sept 2009) pd 
does
not start in -rt mode, I get no messages from stdout or the console 
like I

do in linux to tell me about priority scheduling.

Are there versions of pd-extended for OSX where -rt works? How do I 
set it.


I tried:

-rt in startup flags

sudo /Application/Pd-extended/.../bin/pd -rt

sudo su
/Application/Pd-extended/.../bin/pd -rt

And nothing works.

So what have I missed? Or what Pd should I be using?

Thanks,
B. Bogart

___
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] -rt w/ pd-extended on OS X

2010-03-07 Thread B. Bogart

I'm not doing any audio, just Gem rendering.

I did not have a chance to try -nosound (or is it -noaudio) anyhow I'll 
give that a try next time.


On a machine with multiple CPUs I expect all the OS stuff to end up on 
one CPU, and PD using up a whole one, meaning that timing should be 
tight until nearly 100% cpu. Since I'm having problems around 60%, hard 
to say what is up.


I'm using the same pd-extended.

Hans, Miller, does -rt do anything on OSX??

.b.

William Brent wrote:

Hi Ben,

For what it's worth, I just tested a patch running steady at 85% with
0.41.4-extended, and realtime reliably gives me values between
992-1008ms for a [delay 1000].  This is on a 2.5Ghz Intel Core 2 Duo,
4GB, OS 10.5.8.



On Sat, Mar 6, 2010 at 10:25 PM, B. Bogart b...@ekran.org wrote:

Hey all,

I've been running a patch on an intel mac for a while, but noticed some
horrid timing problems [delay 1000] takes ~3000ms according to [realtime].
The patch uses between 50% and 105% CPU according to top.

I've not got it down to about ~1500ms, but I can't pull back the patch any
further, and top says it using only 50-64% CPU...

I realized I was not using -rt, but when I try and run pd-extended (sorry I
don't recall the version, probably the stable one as of Sept 2009) pd does
not start in -rt mode, I get no messages from stdout or the console like I
do in linux to tell me about priority scheduling.

Are there versions of pd-extended for OSX where -rt works? How do I set it.

I tried:

-rt in startup flags

sudo /Application/Pd-extended/.../bin/pd -rt

sudo su
/Application/Pd-extended/.../bin/pd -rt

And nothing works.

So what have I missed? Or what Pd should I be using?

Thanks,
B. Bogart

___
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] -rt w/ pd-extended on OS X

2010-03-06 Thread B. Bogart

Hey all,

I've been running a patch on an intel mac for a while, but noticed some 
horrid timing problems [delay 1000] takes ~3000ms according to 
[realtime]. The patch uses between 50% and 105% CPU according to top.


I've not got it down to about ~1500ms, but I can't pull back the patch 
any further, and top says it using only 50-64% CPU...


I realized I was not using -rt, but when I try and run pd-extended 
(sorry I don't recall the version, probably the stable one as of Sept 
2009) pd does not start in -rt mode, I get no messages from stdout or 
the console like I do in linux to tell me about priority scheduling.


Are there versions of pd-extended for OSX where -rt works? How do I set it.

I tried:

-rt in startup flags

sudo /Application/Pd-extended/.../bin/pd -rt

sudo su
/Application/Pd-extended/.../bin/pd -rt

And nothing works.

So what have I missed? Or what Pd should I be using?

Thanks,
B. Bogart

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


Re: [PD] image grid in GEM

2010-03-04 Thread B. Bogart

Hi Frank,

Use rectangle, not pix_draw (its slow)

If you can put images in a pix_buffer it'll be really fast.

Here is a 3x3 grid of images in gem (with lots of extra complexity)

http://www.ekran.org/pd/patches/gem-image-grid.tgz

..b..

Fränk Zimmer wrote:

Hi,
I did an image grid in Processing.- Every 10sec a routine is looking 
images in a folder and displays them in an image grid of 8x8 images.
The Processing sketch does not run very stable, so I would like to know 
, if already somebody did try this in Pd.- Is there a more clever way, 
than using [pix_draw] and [translate] for this?

thanks.-
best, fraenk

___
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] diff frame from previous frame with Gem

2010-03-03 Thread B. Bogart

I don't have a PD here with me.

Why did you not use pix_motion?

.b.

Hans-Christoph Steiner wrote:


I am trying to make a simple patch where the current video frame is 
[pix_diff]'ed against the previous video frame.  I can get it going 
manually, but I would like it to happen every frame.  I think I got 
close, but did manage to create a bizarre effect:




.hc

 



I have always wished for my computer to be as easy to use as my 
telephone; my wish has come true because I can no longer figure out how 
to use my telephone.  --Bjarne Stroustrup (creator of C++)





___
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] pdopencv on lenny?

2010-02-19 Thread B. Bogart

Hello all,

I'm trying to get pdopencv to work on my stock lenny system, but it 
appears ffmpeg and libhighgui packages are out of sync, and I don't want 
to deal with a mixed SID system (as that got me into trouble in the past!)


Both using the debs and compiling from source results in:

/home/bbogart/pd-stuff/OpenCV/pix_opencv/pix_opencv_floodfill.pd_linux: 
/usr/lib/libhighgui.so.1: undefined symbol: img_convert

 pix_opencv_floodfill
... couldn't create

Apparently this is supposed to be fixed in 1.0.0-6.2, but lenny has 
1.0.0-6.1, and testing/sid 1.0.0-6.3: 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487638


So, what is the best solution for getting around this problem?

Thanks to Lluis and Yves, this project looks really great.

.b.

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


Re: [PD] pdopencv on lenny?

2010-02-19 Thread B. Bogart

Thanks for the input.

I'll see if I can upgrade just my opencv and ffmpeg packages. (Does 
marillat have compatible packages?)


As for the deb, indeed it does not work for lenny, since opencv does not 
work for lenny ATM, a squeeze package instead of the lenny one would 
make it clear that lenny is problematic.


.b.

ydego...@gmail.com wrote:


ola,

i guess you'd have to compile Opencv too,
it's not so difficult...

but i the pdopencv package for lenny doesn't work,
i guess it should be removed...

we usually use ubuntu,
not testing too much on Lenny

saludos,
sevy

B. Bogart wrote:

Hello all,

I'm trying to get pdopencv to work on my stock lenny system, but it 
appears ffmpeg and libhighgui packages are out of sync, and I don't 
want to deal with a mixed SID system (as that got me into trouble in 
the past!)


Both using the debs and compiling from source results in:

/home/bbogart/pd-stuff/OpenCV/pix_opencv/pix_opencv_floodfill.pd_linux: 
/usr/lib/libhighgui.so.1: undefined symbol: img_convert

pix_opencv_floodfill
... couldn't create

Apparently this is supposed to be fixed in 1.0.0-6.2, but lenny has 
1.0.0-6.1, and testing/sid 1.0.0-6.3: 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487638


So, what is the best solution for getting around this problem?

Thanks to Lluis and Yves, this project looks really great.

.b.

___
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] respawn PD with gui in Debian

2010-02-17 Thread B. Bogart

Hey Bart,

When the script running in xsession exits, it will restart X, so if you 
have autologin, and PD crashing does cause an exit, then it will restart 
automatically when it crashes. Note I don't find PD doing that on linux 
very often...


Also if PD stalls without exiting you can get the gallery staff to just 
control-alt-backspace to restart the patch without restarting the 
computer.


.b.

Bart Koppe wrote:

Hi Ben,

I would like the script to be respawnd, in the rare case the script 
might crash. Afaik putting it in .xsessions only cares of starting the 
script, right?


Chrs,
bart


On 02/17/2010 04:35 AM, B. Bogart wrote:

Hey Bart,

Put the PD startup stuff in your ~/.xsession, and configure your 
display manager to use xsession. (eg chosee 'Xclient script' in GDM)


.b.
Bart Koppe wrote:

Hi,

I use PD-extended in Debian Lenny, this for a small media-installation.
After the pc boots and logged into X, i would like pd (with gui) to 
start automatically.
I made the script below and wanted to use that in /etc/inittab. It 
seems to start as root and does not show a gui either.


The script itself works perfectly ok when I run it myself.
How can I configure inittab correctly so it runs as user instead of 
root, and shows the gui to?



My current inittab entry [to say: I don't know anything about inittab 
(blush) ]

TY:23:respawn:/home/abortx/pd-daemon.sh

the script (pd-daemon.sh)
#!/bin/sh
RUNNING=
export DISPLAY=:0.0
pd -open /home/abortx/pd/pdp-gem-bridge-3.pd 
while true; do
RUNNING=`pidof pd`
if [ -z $RUNNING ]; then
pd -open /home/abortx/pd/pdp-gem-bridge-3.pd 
fi
sleep 10
done

Thanks!

Bart

--
-/\/\/\/\/\/\-
Bart Koppe
bk at a-bort dot org
http://a-bort.org
-\/\/\/\/\/\/-

I love deadlines. I like the whooshing sound they make as they fly 
by.
- Douglas Adams


___
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] respawn PD with gui in Debian

2010-02-16 Thread B. Bogart

Hey Bart,

Put the PD startup stuff in your ~/.xsession, and configure your display 
manager to use xsession. (eg chosee 'Xclient script' in GDM)


.b.
Bart Koppe wrote:

Hi,

I use PD-extended in Debian Lenny, this for a small media-installation.
After the pc boots and logged into X, i would like pd (with gui) to 
start automatically.
I made the script below and wanted to use that in /etc/inittab. It seems 
to start as root and does not show a gui either.


The script itself works perfectly ok when I run it myself.
How can I configure inittab correctly so it runs as user instead of 
root, and shows the gui to?



My current inittab entry [to say: I don't know anything about inittab 
(blush) ]

TY:23:respawn:/home/abortx/pd-daemon.sh

the script (pd-daemon.sh)
#!/bin/sh
RUNNING=
export DISPLAY=:0.0
pd -open /home/abortx/pd/pdp-gem-bridge-3.pd 
while true; do
RUNNING=`pidof pd`
if [ -z $RUNNING ]; then
pd -open /home/abortx/pd/pdp-gem-bridge-3.pd 
fi
sleep 10
done

Thanks!

Bart

--
-/\/\/\/\/\/\-
Bart Koppe
bk at a-bort dot org
http://a-bort.org
-\/\/\/\/\/\/-

I love deadlines. I like the whooshing sound they make as they fly by.
- 
Douglas Adams


___
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] robotcowboy on the ars facade: pd controls a building

2009-11-24 Thread B. Bogart
A robotcowboy or an Ars Electronica? ;)

Great work Dan!

.b.

Andrew Faraday wrote:
 That's very cool, I want one.
 
 
 From: danomat...@gmail.com
 Date: Mon, 23 Nov 2009 00:59:44 +0100
 To: pd-list@iem.at
 Subject: [PD] robotcowboy on the ars facade: pd controls a building
 
 
 I finally got around to putting a video together form my short show on
 the ars facade during the festival this year: http://vimeo.com/7741821
 
 
 Dan Wilcox
 danomatika.com http://danomatika.com
 robotcowboy.com http://robotcowboy.com
 
 
 
 
 
 
 View your other email accounts from your Hotmail inbox. Add them now.
 http://clk.atdmt.com/UKM/go/186394592/direct/01/
 
 
 
 
 ___
 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] arduino problem with analog sensors

2009-11-12 Thread B. Bogart
Try grounding all the unused analog ins(especially a few between the two 
ins that are cross-talking), ideally shielding the wires would help too. 
Indeed magnetic fields in those wires do move through space!


.b.

altern wrote:

hi

not a PD question I guess...  i dont know much of electrical stuff. i am 
connecting two analog sensors to the arduino. One is a pressure sensor 
and the second a potentiometer, they are both from an old icube.


i noticed that when i raise the potentiometer (analog pin 5) the 
pressure sensor (analog pin 2) reports values ranging 0 to ~0.16 
increasing together as the potenciometer goes up. It is like some kind 
of residual noise comming from pin 5 that goes into pin 0.


the power cables of both sensors go together to 5v inlet of the arduino 
and the ground cables go to ground pin, each of the data cable goes to 
its separate analog pin.


I am using arduino from Pure Data extended using latest Firmata, so i am 
just filtering out any value smaller than 0.16 coming from analog pin 0.


is there anything I am doing wrong? or is this normal?

thanks

enrike

___
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/GEM examples

2009-11-11 Thread B. Bogart
I recall 1995 for the first Gem running on Max/ISPW?

.b.

Joseph Gray wrote:
 In case you're interested here's the workshop outline (which is also
 just a bunch of links).  It has a few collected examples at the top
 there if you ever need to copy/paste some:
 
 http://grauwald.com/workshops/pd/
 
 The history section is a bit vague in places.
 
 Earliest mention I can find of Mark Dank's GEM is from 1998...  is this
 really true?  Pioneering.
 
 
 
 
 On Nov 6, 2009, at 7:13 PM, Joseph Gray wrote:
 

 Hello,

 Cornish College of the Arts has invited me to teach a brief and very
 introductory workshop in Pure Data in their art department on Monday. 
 Wondering if anyone on this list would have any suggestions of works
 to present to give the students an idea of what the software is
 capable of and how it can be applied, particularly from a
 sculptural/installation/video art perspective.  Any or all suggestions
 are welcome.

 Best,
 Joseph Gray
 http://grauwald.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
 

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


Re: [PD] combining 2 or more cameras to output 1 stream in Linux

2009-11-04 Thread B. Bogart
I don't see how you could make the result available as a v4l device 
without doing things in C, and even then I would not know how to make it 
work.


Certainly not possible directly in PD without making your own v4l output 
external. I guess there is no such thing? (vloopback?)


.b.

jim wrote:

Hi,

Does anyone know the easiest way of combining 2 or more camera outputs
into one stream? ie. how can I take two cameras using 320 x 240 and
generate a wider image 640x240? Is this possible in PD? I would like the
resulting stream to be available in v4l ie /dev/video0 + /dev/video1
= /dev/video2 . Any thoughts on this?
Thanks,
Jim



___
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 making an audio-thread-safe external

2009-10-18 Thread B. Bogart
Take a look at the code in my gphoto external (in svn)

uses sys_lock() and non-joined pthreads.

.b.

Claude Heiland-Allen wrote:
 Ivica Ico Bukvic wrote:
 iret1 = pthread_create( thread, NULL, cwiid_pthread2_setRumble,
 (void*) rPars);
 
 This creates a new thread.
 
 pthread_join(thread, NULL);
 
 This waits (blocking Pd's main thread) until the new thread terminates.
 
 So, why create a new thread only to immediately wait for it to terminate
 - that makes the program essentially behave in a single threaded way.
 
 Hope this makes sense,
 
 
 Claude

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


Re: [PD] pix_image memory use

2009-09-08 Thread B. Bogart
Hey Enrique,

In cases like this I use the open and save messages to pix_buffer.

You can be sure that the images get replaced, and you can arrange your
images in RAM how you want them.

In this case you don't use pix_image at all, but pix_buffer_read to show
the buffer.

.b.

enrique franco wrote:
 Hello,
 
 I have a problem loading images into the pix_image object. It seems that
 anytime I load a picture it fills the RAM memory, even if I load the
 same image every time (I just need one image at a time). Is there a way
 to empty the memory when I change the image? There is a point when the
 memory is full and PD shuts down.
 
 I´m attaching the patch.
 
 Any ideas?
 
 Cheers,
 
 -- 
 Enrique Franco
 Telefono/Phone: +572 5552334 ext 388
 Webpage: http://richie.idc.ul.ie/~enrique/
 
 
 
 
 ___
 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] PTP/libgphoto in PD?

2009-06-27 Thread B. Bogart
Camera control is what I'm using it for also.

Mind you the version I'm using in the installation is a hacked version,
since I noticed some problems after taking 1000s of photos. This is
reason for me to implement the changes I need to. Feel free to tinker
with it now, but pester me if you want it to be installation stable!

Coming to PDCON by any chance?

.b.

Alex wrote:
 He's hoping to take photos of small crowds walking down a sidewalk,
 from an above, fixed location, do some analysis on that to find
 locations of people, and use it as the 'score' for a continuously
 updating piece of music.  I'm not sure how it is going to all work out
 but at least we can try grabbing photos in PD!
 
 -Alex
 
 On Thu, Jun 25, 2009 at 7:11 PM, B. Bogartb...@ekran.org wrote:
 Hey all,

 I have a draft in SVN under bbogart.

 I've so far just used it to control cameras and save files on the host
 computer, not upload files.

 What is your friend hoping to do with it?

 In my last installation I realized I need to change the interface a bit,
 using a commport like open and close between control messages. So
 the next changes I make will not be patch compatible with what is
 currently in SVN.

 Please do let me know your thoughts.

 .b.

 Alex wrote:
 Hey, so I'm wondering if anyone got a libgphoto2 extension made or got
 it working from python in pd?  I've got a friend who's wanting to do
 some of this sort of stuff with PD..

 -Alex

 On Mon, Feb 9, 2009 at 10:59 AM, Michal Setam...@artengine.ca wrote:
 Hey Ben,

 I have actually started being interested in this.  I have not done any
 work yet nor extensive research but there seem to be libgphoto2
 bindings for python (I do a  bit of python scripting in pd already for
 the same project).  So, if there's nothing yet available and you don't
 mind python, I would be interested in joining forces.

 Cheers.

 ./MiS

 On Fri, Feb 6, 2009 at 5:43 PM, B. Bogart b...@ekran.org wrote:
 Hey all,

 Has anyone explored, or implemented a PD object to control digital
 cameras via USB? In particular using libgphoto.

 I just wanted to throw it out before I begin work on the task myself.

 .b.

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


 --
 ./MiS
 514-344-0726
 http://www.creazone.ca

 ___
 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] PTP/libgphoto in PD?

2009-06-25 Thread B. Bogart
Hey all,

I have a draft in SVN under bbogart.

I've so far just used it to control cameras and save files on the host
computer, not upload files.

What is your friend hoping to do with it?

In my last installation I realized I need to change the interface a bit,
using a commport like open and close between control messages. So
the next changes I make will not be patch compatible with what is
currently in SVN.

Please do let me know your thoughts.

.b.

Alex wrote:
 Hey, so I'm wondering if anyone got a libgphoto2 extension made or got
 it working from python in pd?  I've got a friend who's wanting to do
 some of this sort of stuff with PD..
 
 -Alex
 
 On Mon, Feb 9, 2009 at 10:59 AM, Michal Setam...@artengine.ca wrote:
 Hey Ben,

 I have actually started being interested in this.  I have not done any
 work yet nor extensive research but there seem to be libgphoto2
 bindings for python (I do a  bit of python scripting in pd already for
 the same project).  So, if there's nothing yet available and you don't
 mind python, I would be interested in joining forces.

 Cheers.

 ./MiS

 On Fri, Feb 6, 2009 at 5:43 PM, B. Bogart b...@ekran.org wrote:
 Hey all,

 Has anyone explored, or implemented a PD object to control digital
 cameras via USB? In particular using libgphoto.

 I just wanted to throw it out before I begin work on the task myself.

 .b.

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



 --
 ./MiS
 514-344-0726
 http://www.creazone.ca

 ___
 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] [shell] duplicating PD process

2009-04-21 Thread B. Bogart
Hey all,

I don't know if anyone is still using [shell] I had it in my
installation patch just to start a second PD process.

Anyhow I've been trying to debug a memory problem and during that
process found that there were three (not the expected two) PD processes.
Two of which were fighting for RAM.

ps made it clear. Before I start the second PD process ps shows:

6484 pd -open root.pd

When I used shell to start the process pd -open dump2SOM.pd -nogui I
then get:

6484 pd -open root.pd
6486 pd -open root.pd
6487 pd -open dump2SOM.pd -nogui

Both the root pds seem to be real processes, both use memory and
interfere with one and other.

I ended up starting both PDs from a bash script to solve the issue.

I just wanted to write to the list, if you see weird duplicate PDs
floating on your machine check your use of shell!

This happened on a debian lenny machine with shell from svn and pd 0.40.3.

.b.

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


[PD] Supported OSs

2009-04-20 Thread B. Bogart
Hey all,

It has been some time since I taught a PD/Gem workshop and I'm jumping
back into the fray.

Seems much has changed!

Are there any issues with PD-extended on:

* Intel macs?
* G4 macs still work?
* Windows Vista?
* Windows XP?

I'm trying to determine the machine requirements for workshop participants.

Thanks,
.b.

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


Re: [PD] Supported OSs

2009-04-20 Thread B. Bogart
Thanks Hans!

Good to know.
.b.

Hans-Christoph Steiner wrote:
 
 On Apr 20, 2009, at 1:06 PM, B. Bogart wrote:
 
 Hey all,

 It has been some time since I taught a PD/Gem workshop and I'm jumping
 back into the fray.

 Seems much has changed!

 Are there any issues with PD-extended on:

 * Intel macs?
 * G4 macs still work?
 
 10.4 or greater, G4 or better, any intel mac.
 
 * Windows Vista?
 
 never used it, but it seems to work.  Or there aren't lots of complaints.
 
 * Windows XP?
 
 The builds run on xp, so it should work fine.
 
 .hc
 
 I'm trying to determine the machine requirements for workshop
 participants.

 Thanks,
 .b.

 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list
 
 
 
 
 
 
 Looking at things from a more basic level, you can come up with a more
 direct solution... It may sound small in theory, but it in practice, it
 can change entire economies. - Amy Smith
 
 
 

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


Re: [PD] Best way to deal with many tables.

2009-02-21 Thread B. Bogart
Thanks all for your comments.

Roman, The major inelegance of dynamic patching is the massive CPU of
generating the graph containing 1000s of objects. In theory one only
needs to do this once, but I'm always changing the patch and also the
number of tables. Dynamic patching seems to work great in the 100s, but
starts getting ugly with 1000s.

Cyrille, This is an interesting idea, pix_histo outputs tables though. I
don't know what you mean by 2D tables, they should be 3D for each colour
channel right?? Even if there was an object to dump a hist into an
image, rather than into a table, I don't think the gem pixel operations
on pixels would be any faster than those on tables (slicing out,
concatenating, listing etc..) Please share if you have some ideas
already implemented that does this kind of thing.

David, How fast was your python code to generate the tables? Seems like
it would be about the same issues as dynamic patching.

Looks like I should just do the ol tried and true dynamic patching for
now (at least before some better method comes along).

The reason why I removed the dynamic patching from the rest of the patch
was that it was just becoming too unscalable. My current 75x75 unit SOM
is so far the biggest, but I would like to get as big as possible with
the amount of RAM available, say 100x100+.

Another option would be to use tables to store the RGB hists, read them
directly in python for concatenation to be stored in numpy arrays.
Operations on these are fast and flexible. Has anyone tried this
approach? (I believe this is how vasp does it). That way I could just
dump a list right into ann_som and let python store all the hist data. I
think I've convinced myself here.

Thanks all for your comments!

.b.

cyrille henry wrote:
 hello,
 
 your RGB hists are 1D table. so what you need is 2D table.
 the best 2D table are probably images.
 if the 8bits limitation is not a problem, you can store your arrays in 1
 (or more) big image (1000x768).
 pix_crop + pix_pix2sig to get a row of your image in a table.
 
 Cyrille
 
 B. Bogart a écrit :
 Hey all.

 I've managed to get my patches to use less objects, and more messages.

 Problem I have now is storing data in an organized way.

 Basically the system I'm working on needs to store the RGB hists of many
 images (10,000 ideally, RAM permitting). RGB hists are concatenated into
 tables of 768 elements each.

 What is the best way to deal with this number of tables? There are the
 usual thoughts of using dynamic patching and such, but really I'd like a
 more elegant solution.

 Has anyone worked on something like a multi-table or nested table?

 I could put everything in one giant table, but each chunk needs to be a
 list in the end and it seems to be iterating over a section of the table
 to dump it as a list would be a lot slower than using [tabdump].

 Just wondering if anyone has any suggestions.

 I've already mentioned my wish to have a generic storage system (similar
 to data-structures but independent of any graphical representation)
 namely:

 tables of floats (done), tables of symbols, and most importantly tables
 of tables!

 .b.

 ___
 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] Best way to deal with many tables.

2009-02-20 Thread B. Bogart
Hey all.

I've managed to get my patches to use less objects, and more messages.

Problem I have now is storing data in an organized way.

Basically the system I'm working on needs to store the RGB hists of many
images (10,000 ideally, RAM permitting). RGB hists are concatenated into
tables of 768 elements each.

What is the best way to deal with this number of tables? There are the
usual thoughts of using dynamic patching and such, but really I'd like a
more elegant solution.

Has anyone worked on something like a multi-table or nested table?

I could put everything in one giant table, but each chunk needs to be a
list in the end and it seems to be iterating over a section of the table
to dump it as a list would be a lot slower than using [tabdump].

Just wondering if anyone has any suggestions.

I've already mentioned my wish to have a generic storage system (similar
to data-structures but independent of any graphical representation) namely:

tables of floats (done), tables of symbols, and most importantly tables
of tables!

.b.

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


[PD] external / abstraction to get the difference between subsequent floats

2008-11-18 Thread B. Bogart
Hey all,

Before I make one, is there an abs/ext out there that prints the
difference between subsequent floats?

1,2,3,4,5 - 1,1,1,1
2,4,6,8 - 2,2,2
5,9,30,5,7 - 4,21,-25,2

Thanks,
.b.

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


Re: [PD] basic stats on a table?

2008-11-05 Thread B. Bogart
Thanks Jamie,

Indeed those objects were very helpful at this stage.

Now I need to do something a little more complex which may need to
perform better than unpacking to a list for calcs...

I need to calculate the sum of the differences between two tables (768
elements each).

I suppose the fastest way would be to do it in the signal domain?

Really what I got used to is the amazing and fast vector operations in R.

Seems to me the best thing would be a numpy py external that accesses
the tables directly.

I hunger for a unified datatype in PD not tied to data-structures. I
mean things like tables of symbols, tables of lists and tables of
tables. And, of course, higher math functions on those tables.

Thanks all,
B.

Jamie Bullock wrote:
 On Sat, 2008-10-25 at 00:21 +0200, Frank Barknecht wrote:
 Hallo,
 B. Bogart hat gesagt: // B. Bogart wrote:

 What is the best (least cpu usage) way to get some basic stats on the
 content of a table?
 Are externals allowed? Then either vasp or the iem_tab externals may be
 worth a look, i.e.:

   iem_tab is written by Thomas Musil from IEM Graz Austria and it is
   compatible to miller puckette's pd-0.37-3 to pd-0.39-2.  see also
   LICENCE.txt, GnuGPL.txt.
   
   The objects of iem_tab manipulate tables or arrays; you can set
   constant, copy, fft, ifft, reverse, find minimum or maximum, compare,
   add, subtract, mul tiplicate, divide arrays.
 
 There is of course the mighty zexy also. In there you have:
 
 tabminmax: get the minimum and maximum of a table (I think this is what
 Ben wants to do)
 tabdump: dump the contents of the table to a list
 unpack~/pack~ : convert between list and signal
 
 If you want to do complex things, you could unpack~ the table contents
 into a signal, then get your stats from the signal vector. For example
 you could use something like xtract~ (from libXtract) to get a whole
 bunch of different stats from the audio vector if you wanted. 
 
 Jamie
 


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


Re: [PD] [GEM-dev] Timing and PD....

2008-10-30 Thread B. Bogart
Hey all,

I'll try and work on some test patches, right now I'm trying hard to get
an installation ready, and these issues turned out to be a large
stumbling block.

I suppose I'm doing lots of processing that may be unusual, like:

Grab an image from video device
put the image in a buffer for each frame
send the image in the buffer to a second buffer on each bang from a metro.
pix_share the image in the second buffer
send a bang to tell second pd instance to pix_dump.
turn off the metro.
pix_dump (640x480 GRAY) to ann_som in a second thread
netreceive the winning BMU
use that BMU as the index in which the image has saved in a third buffer.
turn the metro back on.

I'm not thinking pix_share should do sync!! But I feel the need for some
infrastructure better than trigger for complex timing problems like
those I'm having.

I'm still debugging my patch, but adding a whole lot of arbitrary delays
(150ms) are being used to get PD to wait a little bit before accessing
the image in a buffer once it has been written.

Seems the safest way...

I remember Cyrille did mention needing to use these delays to make
things work. I had to use them in parts of pixelTANGO also (when a
message gets passed through many objects and many routes it takes time...)

As I have not noticed any render blocks with pix_buffer stuff, can I
assume it uses a thread like pix_image and so on? I think a done bang
would be really useful there.

I also had issues with things like pix_histo, where I would try and save
the hist, but the hist had not changed for the new pix_buffer_read
frame, just because the delay was slower than t b b delay.

Are cyrille and I the only ones seeing these kinds of issues?

Thanks for the comments.
.b.

chris clepper wrote:
 Internally, objects like pix_image and pix_film set flags for whether an
 image is new or not.  This tells other objects to update.  Perhaps a
 generic object (pix_info ?) can output when that flag is set.
 
 pix_share is a little different than image loading as it just dumps a
 new image into the gemlist each frame.  It is not designed to do sync
 between instances of pd, but rather to be an asynchronous way to
 distribute processing.  Making it sync would remove the performance gains.
 
 
 On Thu, Oct 30, 2008 at 9:32 AM, Hans-Christoph Steiner [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
 
 
 I agree.  I think for any indeterminate operation, like anything in a
 separate thread, there should be a bang when that operation is
 complete.  That way you can guarantee that things are ready when you
 run a process.  If you want to make sure that things will be there on
 time, then these threaded/indeterminate operations should run well in
 advance.  Using guesswork and delays is not a real solution...
 
 .hc
 
 On Oct 30, 2008, at 4:25 AM, cyrille henry wrote:
 
  helo,
 
  i'm also having this kind of problem.
  specially when loading a picture in pix_image.
  i think the best would be the have a bang when things are ready...
 
  C
 
 
  B. Bogart a écrit :
  Hey all,
 
  I'm having more and more problems with sync in PD. By sync I mean
  that
  parts of my patches have processing delays that mess up timing. In
  general I've been using buffers and delays to keep things working.
 
  This approach is not very scalable.
 
  I find myself using the timer object all the time to see if
  there is a
  processing delay I have to worry about. That is in cases where
  there is
  a bang saying an operation is done.
 
  Two examples I'm working on now (in Gem):
 
  First there is a delay between sending a message and the
  pix_buffer to
  store, and then again for pix_buffer_read to read the pixels. The
  delay
  is long enough that trigger does not work, there needs to be a
  delay to
  make sure the image in the buffer is the right one. (sometimes as
  much
  as 200ms)
 
  A second example is that I'm using pix_share and and second PD
  instance
  to offload some CPU usage. Making sure the image sent to that PD
  instance and the image received later in the chain is difficult.
 
  I'm not writing for specific advice, hence the generalities, but
  wanted
  to start a discussion on the issue.
 
  What is the long-term solution for PD to solve these issues?
  Should all
  objects that introduce a delay send a bang when they are complete?
  (for
  example pix_buffer? Of course an additional delay occurs when when
  the
  pix_buffer is written to memory and when it gets to the gfx card for
  display.
 
  I'm banging my head over these issues a lot lately and wonder if
  there
  is a better approach.
 
  Back to attempting kludging a solution.
  .b.
 
 
  ___
  GEM-dev

[PD] Timing and PD....

2008-10-29 Thread B. Bogart
Hey all,

I'm having more and more problems with sync in PD. By sync I mean that
parts of my patches have processing delays that mess up timing. In
general I've been using buffers and delays to keep things working.

This approach is not very scalable.

I find myself using the timer object all the time to see if there is a
processing delay I have to worry about. That is in cases where there is
a bang saying an operation is done.

Two examples I'm working on now (in Gem):

First there is a delay between sending a message and the pix_buffer to
store, and then again for pix_buffer_read to read the pixels. The delay
is long enough that trigger does not work, there needs to be a delay to
make sure the image in the buffer is the right one. (sometimes as much
as 200ms)

A second example is that I'm using pix_share and and second PD instance
to offload some CPU usage. Making sure the image sent to that PD
instance and the image received later in the chain is difficult.

I'm not writing for specific advice, hence the generalities, but wanted
to start a discussion on the issue.

What is the long-term solution for PD to solve these issues? Should all
objects that introduce a delay send a bang when they are complete? (for
example pix_buffer? Of course an additional delay occurs when when the
pix_buffer is written to memory and when it gets to the gfx card for
display.

I'm banging my head over these issues a lot lately and wonder if there
is a better approach.

Back to attempting kludging a solution.
.b.


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


Re: [PD] basic stats on a table?

2008-10-24 Thread B. Bogart
Hey,

The only way I can think of would be to put everything in a list and
going calcs on the list. Its much harder to write to a list in random
access. [route 0 1 2 3 4 ... n] where n could be 1000 with a matching
[pack 0 1 2 3 4 ... n]. Then The table has little purpose, as I'm using
the list as the main storage mechanism.

I would think calcs on a table would be faster than calcs on a list?

Maybe there should be some math objects that operate on tables?

Wait, there is that expr for tables right... hmmm...

Seems expr just works on individual table elements.

I dream that I could do math on anything in PD...

pix_expr, expr for tables, expr for lists, expr for everything.

Perhaps its time to get into gridflow...

Thanks,
.b.

hard off wrote:
 do the calculation as data is written INTO the table?


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


[PD] basic stats on a table?

2008-10-23 Thread B. Bogart
Hey all,

What is the best (least cpu usage) way to get some basic stats on the
content of a table?

I'm using a table to store arbitrary data, and would like to get things
like min/max so I can adjust the table bounds for the data it contains.

Any recommendations?

I currently have 100 data points, but hoping for 1000+.

untiling through the whole thing and doing the calc manually seems like
it would be resource inefficient.

Thanks,
B.

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


Re: [PD] recommendations for usb (firewire?) audio interfaces?

2008-09-23 Thread B. Bogart
Thanks all for the recommendations.

I have actually used an FA101 before, it lived in my old research lab. I
had never used it under linux, only OSX.

It seems two mic inputs is the norm.

Being new to audio stuff, what is the difference between the XLR and 1/4
jack inputs? I know the mic inputs are amplified, but how does that
effect what mics can be used?

For my tracking application there will be an array of 3 mics on three
axes. The idea is that I'll measure the difference in timing for the
sound to reach each mic and triangulate.

So for this application what type of mics are best? (As in is it a
problem that there are only two preamp inputs?)

I'm thinking the FA66 currently.

How easy is the freebob setup nowadays?

One thing that is driving me crazy about my onboard audio chips is the
idiot names that come up in alsamixer. I have no idea what is what
because the channels don't have names that make any sense.

Do higher end interfaces have more useful/sensible channel labels? like
Line in 1-4, mic in 5-6 etc..?

Thanks again.
B. Bogart


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


[PD] recommendations for usb (firewire?) audio interfaces?

2008-09-22 Thread B. Bogart
Hey all,

I'm looking for my first decent audio interface, as I'm getting more in
to sound and will start working on my first audio installation.

I would like something with 3-4 mic inputs, and about 4-8 total inputs
and outputs.

I was looking at devices such as the m-audio fast track ultra, but it
appears to not work very well under linux. Seems that that device is not
fully duplex either, (due to usb?). I also looked at some firewire
devices (like the echo fireaudio4), but that one looks currently
unsupported by freebob.

Lots of the other devices on freebob seem to no longer be sold. (m-audio
stuff in particular)

The reason I was thinking usb is that it would work on all my machines,
as they don't all have firewire. Firewire would be ok, if the device was
easy to set up, really worked and was stable (especially for
installation). My installation machines all have firewire, just not my
portables.

So anyone have any recommendations? I looked through the archives, but
it seems most of those cards are now out of date. Oh and it would be
nice if the device was around $500US.

Things I'm interested in doing with the card:
using a mmic array to track the position of sound emitting objects
(without amazing precision), and recording environmental sounds in
installations.

Thanks all for your time,
B. Bogart

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


[PD] Recommendations for combining many images (256+)

2008-09-19 Thread B. Bogart
Hey all,

Any recommendations as to the best way to combine many images?

What I'm after is a kind of long exposure where each image could be
weighted differently in order to give it more emphasis.

I did a quick test in Gem layering 100 images on 100 rects on top of one
and other with 0.01 opacity.

Problem it uses too much CPU (seems to be the GPU lagging). I can render
all 100 easily on the same machine if they are not totally overlapping.

Would gridflow be able to combine 256 640x480 images?

CPU solutions (rather than GPU) are best, as I'm hoping for 640x480
resolution and many more images than will fit in graphics mem.

Would something like this work:

Every channel of every pixel of every image divided by the number of
images (256) multiplied by a weight, where all the results are summed?

All the images would be loaded into a pix_buffer.

What is the best way to accomplish this?

Thanks,

.b.


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


[PD] [PD-announce] Update

2008-09-03 Thread B. Bogart
Hey all,

In case you have been wondering what I have been doing for the last two
years, here it is conveniently packaged into a Masters Thesis. My
application has been officially accepted. I'll be spending the next year
working on a Canada Council production grant while I think about where I
would like to do a Ph.D.

http://www.ekran.org/ben/Ben-Bogart-Thesis.pdf

More images and a video are available at:

http://www.ekran.org/ben/wp/?p=227


I hope all is well.

I have not heard from you in some time. Please drop me a line to let me
know what you are up to.

B. Bogart

___
Pd-announce mailing list
[EMAIL PROTECTED]
http://lists.puredata.info/listinfo/pd-announce

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


Re: [PD] Writing texture to different sides of cube in GEM

2008-08-21 Thread B. Bogart
As far as I know the UV thing is as much about the cube as it is the
texture?

Even if you play with the texture coords, the textures on the cube does
not wrap over the edges.

This leads me to believe that the cube is actually 6 squares put
together. So that is certainly the best thing to recreate, make your own
cube from Gem squares.

As for uv support seems a close step would be a gem cube that is
designed as a single poly and so that texture coords could be used to
move the texture around? I suppose texture project becomes a problem then...

I'm just thinking aloud.

.b.

marius schebella wrote:
 Adityo Pratomo wrote:
 and how can i use that uv-mapping? pdp or pidipi or pixeltango maybe?
 
 no, I have not figured out a method yet to do this inside the pd world. 
 for now you really have to go with the solution claude posted.
 marius.
 
 On 8/21/08, marius schebella [EMAIL PROTECTED] wrote:
 Claude Heiland-Allen wrote:
 Adityo Pratomo wrote:
 Hi there everyone, i have a question here. How can i write different
 images on every different sides of a cube in GEM?
 Maybe (probably?) there is a more elegant / OpenGL-native way, but I'd
 make a cube out of 6 [square]s with appropriate transformations.
 [separator] would be useful here.
 the more elegant way would be UV-mapping, where you put all 6 sides in
 one texture and then apply it to the 3d object. but GEM does not support
 that.
 marius.

 So that when i
 rotate a cube, i could see a certain image on a certain side. I know i
 should use [pix_image] and [pix_texture] but how can i achieve my
 goal? I kinda lost here. Many thanks for any suggestions. :-)
 Claude

 
 
 ___
 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] Writing texture to different sides of cube in GEM

2008-08-21 Thread B. Bogart
If anyone does make a cube from squares please do publish it for others!
(perhaps in the gem abstractions folder?)

I made a cube of curve3d objects... Which is certainly not great in
terms of performance as a normal cube! I never published it, if there is
interest I'll stick it in Gem SVN.

.b.

chris clepper wrote:
 You would have to have a texture prepared for folding over the six
 sides.  In most cases this would involve a larger power of two texture
 with the cross shaped texture inside it.  For something like a movie
 file this would be impractical.  Building this in GEM is the most
 flexible method.
 
 Ben, I thought you had made an abstraction many years ago to put a
 texture on each side of a cube? 
 
 On Thu, Aug 21, 2008 at 12:14 PM, B. Bogart [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
 
 As far as I know the UV thing is as much about the cube as it is the
 texture?
 
 Even if you play with the texture coords, the textures on the cube does
 not wrap over the edges.
 
 This leads me to believe that the cube is actually 6 squares put
 together. So that is certainly the best thing to recreate, make your own
 cube from Gem squares.
 
 As for uv support seems a close step would be a gem cube that is
 designed as a single poly and so that texture coords could be used to
 move the texture around? I suppose texture project becomes a problem
 then...
 
 I'm just thinking aloud.
 
 .b.
 
 marius schebella wrote:
  Adityo Pratomo wrote:
  and how can i use that uv-mapping? pdp or pidipi or pixeltango maybe?
 
  no, I have not figured out a method yet to do this inside the pd
 world.
  for now you really have to go with the solution claude posted.
  marius.
 
  On 8/21/08, marius schebella [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
  Claude Heiland-Allen wrote:
  Adityo Pratomo wrote:
  Hi there everyone, i have a question here. How can i write
 different
  images on every different sides of a cube in GEM?
  Maybe (probably?) there is a more elegant / OpenGL-native way,
 but I'd
  make a cube out of 6 [square]s with appropriate transformations.
  [separator] would be useful here.
  the more elegant way would be UV-mapping, where you put all 6
 sides in
  one texture and then apply it to the 3d object. but GEM does not
 support
  that.
  marius.
 
  So that when i
  rotate a cube, i could see a certain image on a certain side.
 I know i
  should use [pix_image] and [pix_texture] but how can i achieve my
  goal? I kinda lost here. Many thanks for any suggestions. :-)
  Claude
 
 
 
  ___
  Pd-list@iem.at mailto:Pd-list@iem.at mailing list
  UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list
 
 
 
 ___
 Pd-list@iem.at mailto:Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list
 
 


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


Re: [PD] GEM + eee, segmentation fault

2008-08-12 Thread B. Bogart
Interesting,

I booted puredyne (miso) on my eee 900 and it crashes on destroy (which
is what I expected due to the intel chip). This is odd since its based
on lenny.

What version of DRI/Mesa/GLX are you using in lenny? (So I can compare
with miso)

B. Bogart

potax flan wrote:
 just installed debian lenny on the eeePC and gem works fine. just ran a
 few basic tests but i get NO segmentation faults when destroying
 gemwins. just thought i'd share this.
 p
 
 
 
 
 
 On Thu, Jul 3, 2008 at 12:38 AM, potax flan [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
 
try setting the environmental variable GEM_SINGLE_CONTEXT
 to 1
before starting pd/Gem and tell us what happens.
 
 
 
 still crashes and reports:
 
 GEM: stop rendering
 socket receive error: connection reset by peer (104)
 Segmentation fault 
 
 
 
 
 
 ___
 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-announce] some works done with pd

2008-07-25 Thread B. Bogart
Gasp!

repeated gemhead? how many objects??

.b.

cyrille henry wrote:
 hello,
 
 for those which are interested, here is some work that i recently made with 
 pd/Gem :
 
 http://drpichon.free.fr/ch/article.php?id_article=88
 
 http://drpichon.free.fr/ch/article.php?id_article=80
 
 http://drpichon.free.fr/ch/article.php?id_article=76
 
 http://drpichon.free.fr/ch/article.php?id_article=95
 
 http://drpichon.free.fr/ch/article.php?id_article=94
 
 http://drpichon.free.fr/ch/article.php?id_article=89
 
 
 Cyrille
 
 ___
 Pd-announce mailing list
 [EMAIL PROTECTED]
 http://lists.puredata.info/listinfo/pd-announce
 


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


Re: [PD] Free rotation in GEM

2008-07-16 Thread B. Bogart
Indeed,

Seems to me all the matrix discussion does not get to the heart of the
question.

So, Pspunch, what are you really trying to do?

I agree with cyrille that It's very likely the normal rotation objects
will do what you want it to.

If you are just wanting to rotate many times, using huge numbers then
tricks like: wrap 0 359 work well...

..b

cyrille henry wrote:
 hello
 
 sorry if i misunderstand.
 rotateXYZ will rotate in X direction, then in Y, finally in Z.
 if you wish to rotate in Z, then in X, you just need 2 rotate objects:
 the 1st for the rotation in Z, then an other for the rotation in X.
 
 anyway, there is no matrix manipulation that i was not able to do with 
 rotate/rotateXYZ/translateXYZ/scaleXYZ/shearXY..
 so i'm quite sure you don't need anything else than this standard objects for 
 simple matrix rotation.
 
 so i think you need 1 [rotate] to rotate the vector axis of the object, then 
 a accumrotate.
 if i misunderstood, could you please describe your problem better.
 
 I think you can also use GEMgl objects to multiply the matrix with a custom 
 one, but it's to much complex for what you need.
 
 cyrille
 
 
 
 PSPunch a écrit :
 Hi Mathieu,


 I have not looked into GridFlow much, but I had the impression that its 
 main concept was to add matrix manipulation features to Pd, all of its 
 visual capabilities being just one of the many results of data you can 
 manipulate with matrix. (or is the egg first?)


 Anyway, understanding its marvelous potentials, I have lately been stuck 
 with Windows platforms. At least I got your point that utilizing 
 GridFlow only for crunching numbers may work but not so efficient.



 What I am trying to do is rotate the vector axis of the object before 
 applying [rotation]. This also calls for a method of summing the 
 rotations when applying multiple times (and my current understanding is 
 that this can only be done by multiplying the quaternion on each rotation)

 If there is no solution at the moment, perhaps Gem could use a few extra 
 objects to ease advanced rotations?

 I feel like I am complaining about lack of features without pointing out 
 what exactly is missing, when I should be blaming my lack of math skills.

 hmmm..

 --
 David Shimamoto



 On Wed, 16 Jul 2008, PSPunch wrote:

 Trying to achieve free rotation *without* using [accumrotate], I have
 come across concepts such as multiplying matrixs and converting a matrix
 to quarternion
 How do you implement precise control of rotation matrixs?
 Is this exactly what people use GridFlow for?
 If you tried GridFlow's bundled examples you'd see what I use GridFlow 
 for. I suppose that I could add some other people's examples in the 
 package, if they sent it to me for that purpose. There is already one 
 patch by Roman Häfeli in GridFlow's examples though.

 GridFlow does not support quaternions. I bet it's possible to add 
 support for it using abstractions, but it wouldn't be fast. But I'm 
 willing to add it to the core... there's already a complex-number 
 section in number.c, why not quaternion product? It would be called [# 
 H.*] where H stands for Hamilton (in math the letter Q is already 
 reserved for rationals, so I'd use H even though the concept of rational 
 reasonably couldn't appear in that particular place).

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

 ___
 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] Free rotation in GEM

2008-07-16 Thread B. Bogart
I suppose we'll here from David...

I do certainly not quite understand what he is aiming to do.

As for the heart of the question:

...I have come across concepts such as multiplying matrixs and
converting a matrix to 'quarternion', 'gimbal lock'.

Does not sound like he is explicitly trying to avoid gimbal lock to me. ;)

.b.


Mathieu Bouchard wrote:
 On Wed, 16 Jul 2008, B. Bogart wrote:
 
 If you are just wanting to rotate many times, using huge numbers then
 tricks like: wrap 0 359 work well...
 
 Depends how huge they are. Pick 100032. That should give 312
 degrees, supposing you use [wrap 0 360] instead of [wrap 0 359]. But as
 a pd float, it gives either 280 or 344 depending on how the rounding
 happens.
 
 But this [wrap] trick is definitely not something that one can consider
 using if one is concerned with gimbal lock, and pspunch said he wants to
 avoid gimbal lock, so I don't know why you even mention it, if you want
 so much to stick to the heart of the question.
 
  _ _ __ ___ _  _ _ ...
 | Mathieu Bouchard - tél:+1.514.383.3801, Montréal, Québec


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


Re: [PD] worldwide weather forecast into PD

2008-06-25 Thread B. Bogart
Hey there,

Are you using the data for a performance or installation?

I used live weather data (from an APRS packet radio gateway) parsed from
a website.

It was the worst mistake I made.

The installation ran for a couple years but had four problems:

1. The format of the webpage changed, I rewrote it.

2. The power went down.

3. The power went down again.

4. The website went down.

Now I know not to depend on any external infrastructure.

Using your own weather station would be very stable (they are not as
expensive as they sound). Or perhaps there is some more stable way to
get at the APRS data than a website.

APRS is nice because there are hundreds of weather stations all over the
world, are interlinked by packet radio network. The problem in my case
was the internet gateway.

.b.

altern wrote:
 hi
 
 anyone knows of an online worldwide forecast service? I am developing 
 some python scripts with Pyext external that retrieve different type of 
 data from the net into PD.
 
 At the moment i have been using yahoo weather, this is quite handy 
 because they have RSS feed that can be easily manipulated from python 
 and returned into PD.
 
 Currently i have scripts that tell me the external IP of my computer and 
   another one that uses the IP to retrieve geolocation data (lat, long, 
 nearby city, country ), using this i think i should be able to ask yahoo 
 for weather data of an specific city and country and from there access 
 the RSS.
 
 However I think there are some copyright issues with yahoo weather. I 
 read a notice in the HTML source of yahoo weather saying that this data 
 is not to be used without permission
  ...You are prohibited from using or repurposing this data in any way 
 without express written consent from Yahoo! ...
 
 I guess i could pretend i did not see the notice but maybe there is some 
 worldwide forecast service that would allow me to use the data?
 
 thanks
 
 enrike
 
 ___
 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] 5 days PD workshop in Dakar last week

2008-05-14 Thread B. Bogart
Thanks for sharing this Jean-Noel,

And congrats on inspiring more people!

Any pictures on the workshop and festival available?

.b.

Jean-Noël Montagné wrote:
 
 
 Our Pure Data/Processing/Freeduino/Linux workshop in Dakar was a 
 succes. 99% of the Senegal is on windows, but we have used the 
 Pure:Dynebolic live and the ubuntu on HD most of the time.
 
 BBC report here, begining at the 15th mn, JNM talking about free 
 ressources, Pure Data and Floss.
   http://www.bbc.co.uk/worldservice/programmes/digital_planet.shtml
 
 and some images here:
 http://www.ker-thiossane.com/article.php3?id_article=550
 
 Africa is one of the best future for digital creativity with open source.
 
 JN
 
 ___
 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] Newbie request

2008-04-29 Thread B. Bogart
What are you using for the presentation software?

You can look at bonk~ and fiddle~ to process sounds, but if your just
showing images or video you could do that part in PD also using Gem or PDP.

.b.

Hugh Sung wrote:
 Actually, this isn't for speech recognition - i'm trying to come up with
 a simple way to use key triggers to activate visuals.
 
 For example:  if the piano plays A440, i'm presuming PD can be
 configured to recognize that pitch with a microphone input and then echo
 out a text string - the letter A, perhaps. 
 
 I have a presentation program that can be configured to accept keyboard
 strokes to activate visual events. 
 
 Does that example make sense?  PD sounds like it should be able to
 handle that capability pretty easily...
 
 On Tue, Apr 29, 2008 at 12:14 PM, marius schebella
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:
 
 speech to text in opensource software is still poor, and even poorer
 for languages other than english. afaik pd also doesnot have a
 builtin solution for that. you could try to use a different program
 for that and parse the text, or you could try more basic approaches
 within pd (like pitch recognition, amplitude/envelope following, or
 rhythm/melody recognition.
 I am sure there are some commercial solutions out there (like in the
 iphone) that have good speech-to-text recognition, including
 dictionaries.
 sorry that this probably is no real help for you, maybe someone else
 knows more?
 marius.
 
 Hugh Sung wrote:
 
 Hello!  I'm new to PD and was wondering if i could get a
 working start -
 
 i'd like to someday be able to create a PD applet that can take
 audio input from a microphone and convert the sounds to text
 that can simultaneously be applied to a concurrently running
 program, like a word processor or a presentation program that
 accepts alpha-numeric input to trigger events.  Can someone
 create a PD example that does the following:
 
 1.  echo Alpha/numeric characters based on variable pitch
 2.  echo alpha/numeric characters based on volume
 3.  echo alpha/numeric characters based on rhythm (ie, number of
 pulses per second or minute)
 
 Sorry if this sounds simplistic - if i can see an example of a
 PD patch that can incorporate these elements, that will go a
 LONG way to helping me learn how to program PD on my own!
 
 Thanks in advance for your help and suggestions, PD list!
 
 -- 
 Hugh Sung
 www.hughsung.com http://www.hughsung.com http://www.hughsung.com
 www.TabletPCMusician.com http://www.TabletPCMusician.com
 http://www.TabletPCMusician.com
 www.musicmeetstech.com http://www.musicmeetstech.com
 http://www.musicmeetstech.com
 
 
 
 
 
 ___
 PD-list@iem.at mailto:PD-list@iem.at mailing list
 UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list
 
 
 
 
 
 -- 
 Hugh Sung
 www.hughsung.com http://www.hughsung.com
 www.TabletPCMusician.com http://www.TabletPCMusician.com
 www.musicmeetstech.com http://www.musicmeetstech.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] noob GEM question

2008-04-29 Thread B. Bogart
There is a texture feedback example patch in Gem, (07.feedback I think)

Just change the sphere into a square and translate it as needed.

.b.

Claude Heiland-Allen wrote:
 Eirik Blekesaune wrote:
 Hi,

 I would like to generate a series of frames in realtime. When every  
 new frame is created I want all the previous frames to be translated  
 to the left(or any other direction for that matter), so that it looks  
 like  something groving sideways. Every new fram i generated in the  
 same location, just the previous frames are moved.

 How can I do this using GEM?
 
 Texture feedback is one way.  You can use [pix_snap2tex] to capture the 
 render window to a texture, then texture it on a rectangle translated 
 slightly to the left (or any other direction).
 
 Unfortunately my video drivers are currently broken so I can't make an 
 example right now.
 
 Best,
 Eirik Arthur Blekesaune
 
 
 Claude


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


Re: [PD] Gem crash on Hardy

2008-04-28 Thread B. Bogart
FYI on all my machines I've seen freezes when rending with NVIDIA
proprietary drivers.

To make em stable I've had to add the following kernel options:

acpi=off noapm

then its stable.

Mind you, I've never seen this happen immediately, only after running X
for some time

worth a try...

I've not jumped to hardy yet, will be a couple months when my thesis is
done.

..b.

Kristofer Hagbard wrote:
 Hi,
 
 I don't think this is the problem, I have installed the proprietary
 NVIDIA driver and hardware acceleration seems to work in other applications
 (the screensavers run smoothly :) And also gem 0.90 works nicely with
 pd vanilla 0.40.2. I have also turned off the compiz stuff.
 
 
 Do you need some special settings in xorg.conf for gem 0.91 to work
 in hardy?
 
 best,
 
 .kris
 
 olsen wolf skrev:
 hi olivier
 if you're using ati/xorg you'd probably have to refer to this posting:
 http://lists.puredata.info/pipermail/pd-list/2008-02/059833.html
 greets
 olsen


 On Mon, Apr 28, 2008 at 2:51 PM, Olivier Heinry [EMAIL PROTECTED] wrote:
 Le Mon, 28 Apr 2008 14:31:50 +0200 (CEST),
  Kristofer Hagbard [EMAIL PROTECTED] a écrit :


   Hi,
  
   When I try to open any Gem window on Hardy 8.04
   (or rather when i start rendering) it completely
   locks up my whole system.
  
   I use the latest auto build since it's the only
   pd-extended that can be installed on hardy and since
   I'd really like to try the pix_fiducialtrack.
  
   Pd/Gem from the Ubuntu repositories works fine.
  
  
   Anyone got a clue what could cause this?

  Most likely you havent enabled the proprietary driver and/or the GL
 options in  /etc/X11/xorg.conf



  
  
   best,
  
   .kris
  
  
   ___
   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



 --
 Planet Pluto bleibt!

 
 
 
 ___
 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] antialiasing for gemframebuf

2008-04-21 Thread B. Bogart
Hey Marius,

I think FSAA only happens on the final render...

Perhaps there is some shader cmd to AA a pix_?

maybe a hypothetical pix_antialias could be useful? (but slow on the
CPU) seems problem for a shader to me.
.b.

marius schebella wrote:
 hi,
 is there a way to get an antialiased texture into gemframebuffer?
 marius.
 
 ___
 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] pc mac sharing netsend and netreceive

2008-04-21 Thread B. Bogart
on Mac:

[send $1
 |
 | [connect IPADDRESS 8000
 |  |
[netsend]

on PC:

[netreceive 8000]
 |

you have to put send in front of the messages you send, and those
should show up on the PC netreceive end.

The netsend/netreceive help files should make this very clear.

.b.


nick burge wrote:
 Hello list, does anyone have experience of sharing data between pc and
 mac using the netsend netreceive objects or perhaps OSC? Is extra
 software necessary for example?
 Scenario: I want to share the data coming off  an arduino with my
 colleague who runs a Macintosh whilst I run a Windows Vista PC. (Since
 we will be side by side on the stage we could use a LAN cable connection)
  
 Nick Burge.
 
 
 
 
 ___
 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] 32-bit or 64-bit xp for PD?

2008-04-15 Thread B. Bogart
Hi Mika,

If the HW seller does not give you an option for whatever OS you want,
other than windows preloaded then don't buy from that seller. At least
all the good deals on HW up here are found in smaller stores that build
machines custom to order and will leave it blank if you want.

I own two AMD64 machines, both running 32bit debian. And running debian
on another two AMD64's machine at school, also with 32bit sarge. All are
rock stable for PD. (just for fun here is what TOP says about my PD
installation: runs 24/7, started on Jan 30th, still running today.)

 5536 root  -7   0  580m 426m  13m S 37.5 21.0  31217:21 pd

that's about 31,217 hours cpu time for the pd process.

I suggest you choose a seller than gives you a choice, then choose a
32bit OS for now and change it in the future.

XP or Vista is not a choice.

Just my advice...
.b.

Hans-Christoph Steiner wrote:
 If you are willing to do a bit of work on finishing up the 64-bit  
 support, I highly recommend you get a 64-bit OS.  But keep in mind  
 then you will have to fix things, and there will be bugs.  But the  
 core of Pd should work fine now with 64-bit, that's been supported  
 for a bit.  The problems will mostly be with externals.
 
 Basically, 64-bit support is very close to being production ready, we  
 just need some people willing to do the last testing and fixes.
 
 .hc
 
 On Apr 15, 2008, at 9:02 AM, Mika Ristimäki wrote:
 Hi all,

 I'm sure this has been asked before, but searching the archives I
 couldn't quite get the answer I was looking for. I am getting a new
 desktop computer and my options for OS are 32-bit or 64-bit XP or
 64-bit Vista. Sadly no Linux, so I have to cope with Windows. The CPU
 will be Quad-core Intel Xenon 5450.

 So my question is what OS (from my options) should I choose for PD. I
 use PD for audio algorithm research and testing so I also write lot of
 externals. I suppose that with 64-bit OS it is possible to compile
 compatible code for 32-bit OSs. What are the main advantages and
 disvantages in running PD in 64-bit XP. How about running 32-bit XP in
 the processor that has 64-bit architecture?

 Thanks for all the help...

 -Mika




 ___
 PD-list@iem.at mailing list
 UNSUBSCRIBE and account-management - http://lists.puredata.info/ 
 listinfo/pd-list
 
 
 
  
 
 
¡El pueblo unido jamás será vencido!
 
 
 
 ___
 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] Reminder: PD VideoPedia

2008-04-01 Thread B. Bogart
Hmm, is this shared account a way of getting around the problem of
copyright transfer?

Anyone know of a CC/FLOSS utube like thing? (other than the prelinger
archives)

.b.

giucant wrote:
 Dear all,
 you are invited to add contents to PureDataVideopedia
 channel on YouTube. You can upload original stuff
 (performances, visuals, tutorials, workshops...) or
 manage other youtube videos in playlists.
 
 http://it.youtube.com/PureDataVideopedia
 http://it.youtube.com/profile_play_list?user=PureDataVideopedia
 
 user: PureDataVideopedia
 pass: puredata
 
 Actually we have 31 subscribers and 27 friends.
 
 Greetings from Milano!
 
 j
 
 
   ___ 
 Scopri il Blog di Yahoo! Mail: trucchi, novità, consigli... e la tua opinione!
 http://www.ymailblogit.com/blog/
 
 ___
 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] GEM- simple img texturing into a circle

2008-03-24 Thread B. Bogart
Hi Jamie,

Why not:

a. texture a large plane with a circular alpha channel hole

b. model a large plane with a circular hole.

Both would be a mask that show through what is rendered behind them,
should be very fast, but not as flexible, as your ideas.

.b.

Jaime Oliver wrote:
 Hello all, I am trying to do something which should be fairly easy: I am
 trying to see a circle that let's through an image that is behind it.
 (As if through a telescope...) So my attempt so far consists of
 texturing this image into a circle and compensate changes in translation
 and size of the circle with the pix_coordinate object. I have managed to
 do this with rectangles and triangles, but can't a find a way around
 circles. The main idea is the next:
 
 pix_image
 |
 pix_texture   coordinate-mess
 |   /
 pix_coordinate
 |
 rotateXYZ
 |
 translateXYZ
 |
 circle
 
 The coordinate message has this behaviour:
 -the 1st two floats don't have any effect. 
 -the 3rd one compresses/expands left-right, 
 -the 4th one compresses/expands up-down, 
 -the 5th doesn't do anything, 
 -the 6th one seems to offest the vertical compression/expanssion
 -any succesive floats have no effect. 
 
 So my problem is that without any horixontal offest i can't compensate
 for size/transaltion values. If i had that i think i could do some math
 to do this
 
 Anyone has any suggestions? Is this the wrong approach??
 
 I am attaching the patch if anyone want's to test this and I am also
 attaching an example of how i am compensating this for a polygon 3
 
 best,
 
 J
 
 
 -- 
 Jaime E Oliver LR
 
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 www.realidadvisual.org/jaimeoliver
 http://www.realidadvisual.org/jaimeoliver
 www-crca.ucsd.edu/ http://www-crca.ucsd.edu/
 www.realidadvisual.org http://www.realidadvisual.org
 
 9168 Regents Rd. Apt. G
 La Jolla, CA 92037
 USA
 
 
 
 
 ___
 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] synchronised video outputs

2008-02-28 Thread B. Bogart
Check out the project page:

http://sync.dyne.org/?info=description

looks like ivyTV cards are supported.

.b.



Jaime Oliver wrote:
 hi ben,
 
 what mpeg decoder cards with 4 outputs from the same machine are you
 refering to? I will need to get something like that for an installation,
 but don't really know much about it.
 
 best,
 
 J
 
 On Mon, Feb 25, 2008 at 8:47 AM, B. Bogart [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
 
 Check out Jaromil's ivysync, which uses those mpeg decoder cards for
 synced output. I think you can do 4 outputs from the same machine, but
 I'm not sure if that is a software limit, or just the number of slots
 available for those cards. Jaromil did mention something about a network
 sync feature also.
 
 As far as I know these decoders are all only 640x480, I imagine the ones
 working on linux certainly are.
 
 .b.
 
 marius schebella wrote:
  I am also working on a project like this (with thomas grill, who
 solved
  many problems before I even thought of them...). in principle
  synchronisation works fine.
  now your may ask why do other people pay so much money for expensive
  hardware?
  the problem lies in details: first resolution: for some cases you want
  to go with the highest available resolution 1080p (and in the future
  even more), and suddenly you will see small appearance of jitter,
 mostly
  because quicktime is different inside a quicktime player and outside
  quicktime, also because in most cases you have to convert color
 formats.
  then, compensating a drift without losing frames is very tricky.
  from my experience so far, Pd solutions only work up to 720p and
 only if
  you use a drift compensating algorithm - sending a bang for every
 frame
  over the network always causes jitter (although you may not notice).
  It is no big effort to try a pd version and see if you are happy
 with it.
  marius.
 
  altern wrote:
  hi
 
  I need to have several video outputs that run in sync. A friend who
  works in a art exhibition space told me there would be couple of
  solutions for this but both involve buying pretty expensive equipment
  like special DVD players.
 
  I thought then that a solution for this issue could be to have
 several
  computers on a local network playing video (with GEM) and synchronise
  them via OSC. But I dont have any experience doing such a thing,
 never
  used OSC for anything similar. Also I dont have a clue about how to
  synchronise together videos.
 
  Has anyone done anything similar? any experiences to share?
 
  thanks!
 
  enrike
 
  ___
  PD-list@iem.at mailto:PD-list@iem.at mailing list
  UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list
 
 
 
  ___
  PD-list@iem.at mailto:PD-list@iem.at mailing list
  UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list
 
 
 
 ___
 PD-list@iem.at mailto:PD-list@iem.at mailing list
 UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list
 
 
 
 
 -- 
 Jaime E Oliver LR
 
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 www.realidadvisual.org/jaimeoliver
 http://www.realidadvisual.org/jaimeoliver
 www-crca.ucsd.edu/ http://www-crca.ucsd.edu/
 www.realidadvisual.org http://www.realidadvisual.org
 
 9168 Regents Rd. Apt. G
 La Jolla, CA 92037
 USA


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


Re: [PD] ann_som users

2008-02-28 Thread B. Bogart
I Read about those CGC but not the neural gas.

Looks like the new SOM/CGC stuff in FANN is nice, I'll have to look into
that as it could make ann_som a very clean implementation.

Any idea if the network saving stuff was fixed? I would need that
working for my application.

Thanks for the heads up.

.b.



Jamie Bullock wrote:
 Hi,
 
 On Mon, 2008-02-25 at 15:26 -0800, B. Bogart wrote:
 Hey all,

 I just wanted to get a sense of the ann_som users out there.

 I would like to make some changes/additions, in particular:

 * Gaussian neighbourhood function to increase convergence with many sensors.

 * built in function for randomizing sensors (my network has about 4
 million weights, which is pretty anoying to use init for.)

 Maybe more as things move along.
 
 Nice to see someone working on this. I haven't used [ann_som] in
 earnest, but I have used [ann_mlp], which is great, and am generally
 interested in the progress of AI things in Pd. 
 
 One thing it might be worth looking at is the SOM and Growing Neural Gas
 support that was added to the FANN library as part of GSoC last year.
 There is some discussion about it on this thread:
 
 http://leenissen.dk/fann/forum/viewtopic.php?t=46start=30
 
 The code is also the FANN CVS under the gsoc2007 branch. I did get it to
 compile at one point but I haven't really tested. It may be in some way
 informative ?
 
 Anyhow, I look forward to the [ann_som] improvements.
 
 Jamie
 


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


Re: [PD] synchronised video outputs

2008-02-25 Thread B. Bogart
Check out Jaromil's ivysync, which uses those mpeg decoder cards for
synced output. I think you can do 4 outputs from the same machine, but
I'm not sure if that is a software limit, or just the number of slots
available for those cards. Jaromil did mention something about a network
sync feature also.

As far as I know these decoders are all only 640x480, I imagine the ones
working on linux certainly are.

.b.

marius schebella wrote:
 I am also working on a project like this (with thomas grill, who solved 
 many problems before I even thought of them...). in principle 
 synchronisation works fine.
 now your may ask why do other people pay so much money for expensive 
 hardware?
 the problem lies in details: first resolution: for some cases you want 
 to go with the highest available resolution 1080p (and in the future 
 even more), and suddenly you will see small appearance of jitter, mostly 
 because quicktime is different inside a quicktime player and outside 
 quicktime, also because in most cases you have to convert color formats.
 then, compensating a drift without losing frames is very tricky.
 from my experience so far, Pd solutions only work up to 720p and only if 
 you use a drift compensating algorithm - sending a bang for every frame 
 over the network always causes jitter (although you may not notice).
 It is no big effort to try a pd version and see if you are happy with it.
 marius.
 
 altern wrote:
 hi

 I need to have several video outputs that run in sync. A friend who 
 works in a art exhibition space told me there would be couple of 
 solutions for this but both involve buying pretty expensive equipment 
 like special DVD players.

 I thought then that a solution for this issue could be to have several 
 computers on a local network playing video (with GEM) and synchronise 
 them via OSC. But I dont have any experience doing such a thing, never 
 used OSC for anything similar. Also I dont have a clue about how to 
 synchronise together videos.

 Has anyone done anything similar? any experiences to share?

 thanks!

 enrike

 ___
 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] Fw: [music-dsp] Matlab Tools and other useful stuff

2008-02-25 Thread B. Bogart
Too bad they are not supporting octave instead.

I guess matlab is king for that kind of thing.

..b..

Andy Farnell wrote:
 This is obviously of interest to Pders 
 
 Begin forwarded message:
 
 Date: Mon, 25 Feb 2008 16:23:42 +0100
 From: Joerg Bitzer [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: [music-dsp] Matlab Tools and other useful stuff
 
 
 Hi all,
 
 listening to this list for quite a while, I thought and hope you will
 find this interesting and useful. All the tools have been developed to
 support and educate our students.
 
 
 Please look at
 
 http://www.hoertechnik-audiologie.de/software/
 
 You will find:
 
 MatPlug: A VST Plug-In to access Matlab and develop prototypes in Matlab
 Some examples are included
 
 msound: msound is an interface between Matlab and your soundcard. It is
 based on PortAudio. Source code is provided. A new version with ASIO
 support is coming soon.
 
 mmidi: MMidi is a portmidi based implementation of a midi interface
 between Matlab and any hardware midi device. Source code is available soon.
 
 psylab: psylab is a tool for designing and controlling interactive
 psychoacoustical listening experiments in a uniform and quick manner
 
 A reverberation analysis toolbox
 
 -
 Other tools you may find interesting are:
 
 A VST Spectrogram
 
 A VST SpatialAnalyzer
 
 PureMeasurement: PureMeasurement (GNU GPL) is a collection of patches
 for Pure Data (www.puredata.org), which let you perform acoustical
 measurements
 
 Lambda (GNU GPL) is a 2D acoustic wave simulator based on the
 Transmission Line Matrix
 
 Have fun with it:
 
 For further information and feedback send an email to
 
 IHASoftwareATfh-oow.de (Change AT to the normal @-sign for sending)
 
 
 
 Best regards
 
 Joerg
 
 --
 dupswapdrop -- the music-dsp mailing list and website: 
 subscription info, FAQ, source code archive, list archive, book reviews, dsp 
 links 
 http://music.columbia.edu/cmc/music-dsp 
 http://music.columbia.edu/mailman/listinfo/music-dsp
 
 


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


[PD] ann_som users

2008-02-25 Thread B. Bogart
Hey all,

I just wanted to get a sense of the ann_som users out there.

I would like to make some changes/additions, in particular:

* Gaussian neighbourhood function to increase convergence with many sensors.

* built in function for randomizing sensors (my network has about 4
million weights, which is pretty anoying to use init for.)

Maybe more as things move along.

.b.

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


Re: [PD] [gem-cvs] crashes xorg/ati..

2008-02-22 Thread B. Bogart
Hey,

I never used the flglx drivers, but it looks to me that your gem is
linked against mesa, not the glx included with the flglx driver.

That could be a problem...

Don't bother running on the xorg DRI, does not play well with Gem.

Good luck,
.b.

dmotd wrote:
 hi all..
 
   i am supposed to be performing an old work this weekend,
   but gem refuses to behave. 
 
   i am running gem from cvs, pd 0.41-2, xorg server
   1.4.0.90, ati driver 8.2 (8.455.2-r1) on a gentoo linux
   platform. [machine: hp/compaq nc6400, card: mobility
   radeon X1300]
 
   i have attached my xorg log.. 
 
   to summarize the x server crashes as soon as i click a
   create message on a gemwin. the patch can be as simple as
   the create msg and the gemwin object.. 
 
   the real oddity is that there has been one circumstance
   where gem worked, created the gemwin and rendered a simple
   cube, but destroying this window froze the machine
   completely. i have only seen gem 'work' once out of a good
   30 times i have tried..
 
   the backtrace that is spat out is as follows:
 
 
 Backtrace:
 0: X(xf86SigHandler+0x7e) [0x80c810e]
 1: [0xe420]
 2: 
 /usr/lib/xorg/modules/extensions//libGLcore.so(_mesa_initialize_context+0x4e4
 ) [0xb5e38115]
 3: /usr/lib/xorg/modules/extensions//libGLcore.so(XMesaCreateContext+0x79) 
 [0xb5
 f3df75]
 4: /usr/lib/xorg/modules/extensions//libglx.so [0xb7bcbf42]
 5: /usr/lib/xorg/modules/extensions//libglx.so(DoCreateContext+0x10b) 
 [0xb7bc997
 8]
 6: /usr/lib/xorg/modules/extensions//libglx.so [0xb7bc9b58]
 7: /usr/lib/xorg/modules/extensions//libglx.so [0xb7bcb80f]
 8: X [0x81415de]
 9: X(Dispatch+0x2ba) [0x80866c9]
 10: X(main+0x49e) [0x806ebc5]
 11: /lib/libc.so.6(__libc_start_main+0xd8) [0xb7ca3838]
 12: X(FontFileCompleteXLFD+0xc9) [0x806df21]
 
 
   i hope someone can shed some light on this.. if it means
   downgrading drivers, i am happy to do so but i have little
   time for trial and error.. and yes, i know ati cards have
   a dismal track record, but this is my only laptop and i am
   stuck with the card fitted.. 
 
   thanks..
 
 dmotd.
 
 
 
 
 ___
 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] smoothing control signals

2008-02-11 Thread B. Bogart
[smooth] in pixelTANGO does just lop in message domain, written by
Thomas Grill. Should just work in pd extended...

.b.

Roman Haefeli wrote:
 On Fri, 2008-02-08 at 22:43 +, matthew venn wrote:
 
 I'm a beginner with PD, and I'm finding it useful and frustrating in
 equal amounts!

 yo.. before you get too frustrated, ask the list first (as you did now).
 i'd assume that many people would be appreciative of your frustration
 and therefore are willing to help.
 
 Right now I'm looking at ways to smooth control signals. I wanted a
 control version of [lop~]. I couldn't find anything in the docs,
 archives or the wiki. In the end I made the attached abstraction using
 [lop~] and [snapshot~]. I wonder if this is inefficient? Now all my
 patches need to have 'compute audio' turned on.
 
 yeah, this is a bit inefficient, because it is not really necessary to
 go into the audio domain. 
 I'm sure I must have missed an obvious external or patch somewhere, as
 it seems to me like quite a useful function.
 
 definitely it is. some people mentioned [line], which is probably the
 most preferrable solution in the most cases. if you _really_ want to
 have the behaviour of a [lop~], then have a look at attached patch,
 which tries to imitate a [lop~] in the message-domain.
 
 roman
 
 
 
 
 
   
 ___ 
 Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
 
 
 ___
 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] visca camera control in pd?

2008-01-25 Thread B. Bogart
I and a few other media artists use the elmo PTC100, its cheaper than
the canon's I was looking at the time.

With Canon you had to agree to a licence to even get the protocol, elmo
just leaves it out there. They are a pretty good company also (meaning
they have not pissed me off like others).

You can't do a slow pan with these cameras (despite the protocol sheet).

They also say the life is about 10,000 movements, but I've done probably
a 1,000,000 and still going strong.

I have an abstraction in the CVS for controlling it (uses comport and py
to do the parsing/communications) Works with the USB-rs232 adapter I used.

If you end up getting the Sony it would be great to add an object to the
ptz-camera collection. The infrastructure is there to give any command,
and get back messages from any of 4 in a daisy chain, just not ll the
details are implemented.

anyhow just letting you know.

B.



Martin Peach wrote:
 chris clepper wrote:
 I'm looking at the specs for a Sony PTZ cam which uses Sony's ViSCA
 protocol.  The manual gives the commands for  communicating with the cam,
 but I'm not sure if it would work with an existing Pd external or not.  The
 control machine will be running OSX so a USB-RS232 adapter would figure 
 into
 the equation.  I know very little about serial port programming and need a
 little help determining if the cam is an option or not.

 Cam manual (pp 19-37):
 http://bssc.sel.sony.com/BroadcastandBusiness/docs/manuals/evihd1_tm.pdf
 
 I've worked with a VISCA cam a few years ago. It just uses 9600 baud RS232 
 serial, so [comport] can handle it. The harder part is parsing incoming 
 messages.
 
 Martin
 
 
 
 ___
 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] visca camera control in pd?

2008-01-25 Thread B. Bogart
The elmo just says Ack, ERR or Complete but since multiple cameras can
be diasychained then it gets more complex, which camera threw which error.

Another thing to look into is the pan/tilt heads, I was looking at these
as they are much more flexible, you can put any camera on em, but I did
not look very far. (zoom is obviously trouble)

have fun!

.b.

chris clepper wrote:
 
 
 On Jan 25, 2008 12:00 PM, Martin Peach [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
 
 
 http://bssc.sel.sony.com/BroadcastandBusiness/docs/manuals/evihd1_tm.pdfI've
 worked with a VISCA cam a few years ago. It just uses 9600 baud RS232
 serial, so [comport] can handle it. The harder part is parsing incoming
 messages.
 
 
 Good to know it is possible.  What incoming messages need to be
 handled?   I was thinking that Pd would just send messages to move the
 cam around and not really need to know if the they are successful or not. 
 
 
 
 
 ___
 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] How to cite PD in an academic paper?

2008-01-24 Thread B. Bogart
Hey all,

Is there a specific way to cite Pure-Data in an academic paper? R
outputs a bibtex entry when you call cite(). Is there some standard for PD?

OT: How is software generally cited?

Thanks,
.b.

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


Re: [PD] I just made a beginner's PD tutorial and posted it...

2008-01-16 Thread B. Bogart
Do you all think using pdpedia to link to examples like this would be a
misuse?

Perhaps it would be a site project, but more like a tutorial wiki with
links to various tutorials in different forms (video and otherwise).

I suppose that could just live on puredata.info as a main page.

Anyhow the idea of where is not important, but a structure in which all
these tutorials could be situated, based on keywords and such.

Is anyone making a multi-video cohesive tutorial set?

Just thinking aloud.

.b.

Hans-Christoph Steiner wrote:
 This is great!  I definitely like to see this kind of thing.  What I  
 have been thinking about is making a Start Here menu item in the  
 Help menu.  The idea is for people who have never used Pd or anything  
 like it, they would look at the Start Here page to see things like  
 example patches, help videos like this one, text descriptions, etc.
 
 The Start Here page should be short and sweet, but that's the basic  
 idea.  I think it could just be a Pd patch opened by the help menu item.
 
 .hc
 
 On Dec 3, 2007, at 2:09 AM, Vreahli the Audio Bandit wrote:
 
 Heya - I just made a PD tutorial for beginners and I was wondering if
 anyone wanted to do a sanity check...

 http://www.youtube.com/watch?v=FkmMzqohsDo

 In any case - I'm thinking about doing a series... Any ideas for  
 topics
 / projects that would be good for beginners?

 ___
 PD-list@iem.at mailing list
 UNSUBSCRIBE and account-management - http://lists.puredata.info/ 
 listinfo/pd-list
 
 
 
  
 
 
 Man has survived hitherto because he was too ignorant to know how to  
 realize his wishes.  Now that he can realize them, he must either  
 change them, or perish.-William Carlos Williams
 
 
 
 ___
 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] OT: video camera for detection

2007-12-21 Thread B. Bogart
B+W security cameras tend to have lots of manual features. Even on my
elmo presentation camera I can turn off all the auto mechanisms.

I've been happy dealing with elmo as a company, one of the few does not
does make you agree to a license in order to get their serial control
protocol.

.b.

Alexandre Quessy wrote:
 Hi,
 I am shopping for a camera or an installation. :)
 
 Detection (pix_blob, etc.) requires a camera with a pretty high
 resolution, and I also need to be able to disable auto gain control
 (AGC) and auto iris control (AIC). I guess disabling the auto white
 balance is a good idea too. I looked at matco.com, which has pretty
 afordable cameras. Their SX-920C-HR looks pretty good. It has 480 TV
 lines, which gives more than 720x480 pixels. See
 http://matco.com/pro-camera-1.htm and click on Technical details
 under that part number to see the little datasheet.
 
 I am afraid I cannot disable AGC, though at least I can use a lens
 which has no auto iris. Is that correct ? Do you guys think there is a
 way I can disable that auto iris control ? Otherwise, anyone has a
 camera to suggest ? Thanks a lot !
 


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


Re: [PD] Long long numbers

2007-12-21 Thread B. Bogart
I always wonder when you say large numbers and rotation...

Do you really need large numbers? I never checked if its slower to
rotateXYZ to 360*100 compared to rotation to 360.

.b.

Dafydd Hughes wrote:
 Thanks for your help, Mathieu and Roman
 
 As it turns out, while I don't want to perform calculations so much, I
 do need to translate these long numbers into rotations in Gem, so I
 need them more or less intact.
 
 Looks like it's Python for the crunching then.
 
 Thanks again!
 
 cheers
 dafydd
 
 On Dec 21, 2007 3:14 PM, Mathieu Bouchard [EMAIL PROTECTED] wrote:
 On Fri, 21 Dec 2007, Roman Haefeli wrote:

 i assume, you don't want to perform calculations with these big numbers.
 or better i should say, i hope, because this wouldn't be possible (at
 least with pd on 32bit machines).
 Everything is possible. Try this:

ruby -e p 3**3

 If you don't have explicit support for unlimitedly long numbers in a given
 programming language, you can always add it by yourself in some way, by
 performing the carries by yourself. For example, it takes N^2 plain
 multiplications to compute multiplication of two numbers of N digits each,
 if you do it the obvious way. One such digit can actually be a bunch of
 digits in the base that you'd use if you'd be doing it on paper. For
 example, Ruby does it using 32 bits as being one digit relatively to the
 way it's done (see also my other mail in this thread). It's best to make
 it fit with the processor or programming language. If Ruby didn't have it
 and I wanted to add this feature to Ruby, I'd probably make my digits only
 30 bits each or perhaps even 15 bits, for speed and RAM reasons (the way
 numbers are allocated in the specific case of Ruby).


   _ _ __ ___ _  _ _ ...
 | Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada
 
 
 



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


Re: [PD] -nogui question

2007-12-17 Thread B. Bogart
The patch is the same in NOGUI or without, so the more objects there are
the more processing it takes to open the patch, then more objects there
are the more overhead of them communicating...

Still lots of the GUI (logic) code is in C, and only the drawing in TK.
no gui means the tk part don't get run, but I believe the C parts still do.

.b.

Frank Barknecht wrote:
 Hallo,
 Hans-Christoph Steiner hat gesagt: // Hans-Christoph Steiner wrote:
 
 If an object doesn't have a visual representation, i.e. its not drawn  
 on a canvas, then it won't have a Tcl/Tk representation at all, so  
 the slow GUI stuff doesn't apply to things that aren't visible.  That  
 includes non-visible GUI objects.
 
 Note that in a running patch, even non-visible GUI objects can slow down
 Pd! For example if you use this: 
 
  [select ...]
  |
  [random 10]
 
 it's much faster than this: 
  
  [select ...]
  |
  [bng] -- GUI bang
  |
  [random 10]
 
 even when hidden somewhere deep in an abstraction. Same for floatatoms
 etc. If you use them for debugging purposes, it's good to disconnect
 or delete them for the final version of an abstraction.
 
 Ciao


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


Re: [PD] segmented patchcords (was Re: PD MAX)

2007-12-05 Thread B. Bogart
Ah segmented patch coords again.

How about a real solution to the problem of routing objects in diagrams?
 In PD this could mean a few things:

1. Best patching practise!!! Often you can choose not to overlap objects
and connections just by arranging objects as the connections force you
to, which gives you the valuable side-effect of having the position of
object show the flow of the patch more clearly.

2. Empirical tests have shown that curved (spline) connections between
nodes are actually the best way to make them easier to follow, so yay
for spline/curved connections and nay for segments! (See p193, figure
6.8 in Information Visualization: Perception for Design by Colin Ware.)

3. I noticed the new inkscape has some very fancy graph drawing
features, one of which is the ability to tell connections to
automatically route around nodes. They are not curved, but the idea of a
 PD where connections simply avoid objects themselves has a lot of
potential.

Of course I'm not saying adding the choice is necessarily a bad thing,
but the real question is what nurtures best practise? That remains to be
seen, but I'd be very surprised if segmented connections were it.

.b.

marius schebella wrote:
 segmented patchcords can make patches less readable, but most of the 
 time they make patches more readable, and that is when you use so many 
 unsegmented cords that they hide the objects. also when you want to 
 connect an object at the bottom of the patch to an object at the top, 
 then you can lay the cord at the outside of the patch to make the 
 ~feed-back.
 you don't want patchcords in situations where it is not clear anymore 
 which cord is going where.
 a big problem in max is that there is no undo for segmented patchcords. 
 once segmented, you can only delete them and redraw to make them not 
 segmented. that might be one of the new features of max 5... as well as 
 the infinite number of undos. (true?)
 marius.
 
 ___
 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] Way of getting CPU load in PD

2007-11-15 Thread B. Bogart
Thanks all for the feedback,

Perhaps I'll look into making a set of abstractions for such thing,
parsing top output in PD (as not to depend on pyx) does not seem all
that fun though.

I think I found the problem, and will know in 6 days.

I has reinstalled the kernel and forgot to add the noapm acpi=off kernel
flags to grub. Without these linux nvidia drivers are not stable. I
think that is the culprit as it has caused freezes in the past (and I
did notice that it was X that froze, not PD, since I was unable to kill X)

FYI I only do installations in -nogui. ;)

In case anyone is interested, and was not at pd-conv here is some info
on the project:

http://b.goto10.org/wp/?p=227

.b.


John Harrison wrote:
 if you have continual output to the Pd console, the symptoms are
 similar to a memory leak as the console buffer is never emptied. This
 has bitten me before with crashes on long-term installations. Start pd
 with -stderr so the output goes to the terminal and see if it still
 crashes?
 
 On Nov 14, 2007 4:17 PM, B. Bogart [EMAIL PROTECTED] wrote:
 Hey all,

 Anyhow have an abstraction laying around that gives the current CPU
 load? I'm trying to track down a freeze in my long term installation,
 and so far I have no indication of why it froze. Perhaps an ever
 increasing CPU load could give me a suspect...

 Thanks,
 B. Bogart

 ___
 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] Multiple videos on different Screens with gem

2007-11-08 Thread B. Bogart
Hi,

I'm using a nvidia 8500 card under linux using one single gemwin
spanning both screens. Certainly does not fall back to software rendering.

I would hope the nvidia quatro cards would do the same, but I've never
used one.

If your just playing videos look into ivysync.

Perhaps even Hans managed to get his VLC remote control through PD to
work, which could mean having a fullscreen VLC on each screen (I'm not
sure if vlc is multi-screen aware though.

I would not expect GL to work equally on all 5 screens, I would do lots
of tests before you expect it to work.

.b.

Robert Gruendler wrote:
 The hardware setup is the following:
 
 2 FireMV 2400 pci express cards. Each card has 4 outputs. (didn't
 choose the hardware setup, only have to work with it...)
 
 Basically i need to have 2 setups:
 
 - Play 5 different videos on 5 different screens
 
 - Play 1 ultra-wide video over 5 screens (4 outputs on first card, 1
 output on second)
 
 
 Is there any chance this will work (performance-wise) ?
 
 I havent really started working on the patch yet, that's why i
 thought i might consult someone
 with more insight/experience with gem.
 
 -robert
 
 On Nov 7, 2007 9:10 AM, chris clepper [EMAIL PROTECTED] wrote:
 What sort of hardware setup?  If you have multiple graphics cards
 driving the displays then having one instance of Pd/GEM per card is
 the best way to work.  Spreading one context over multiple cards will
 fall back to software rendering and be very slow.


 On Nov 7, 2007 10:53 AM, Robert Gruendler [EMAIL PROTECTED] wrote:
 Hi all,

 i'm having a setup with 4 projectors connected to a win xp box and
 would need to play 4 different videos at the same time (one on each
 screen).

 I've already searched the mailing list, and found some information
 about a cvs version of gem that supports multiple gemwins.
 The  version of gem i'm using is 0.91-cvs (the one coming with the
 latest pd-extended), but it seems i can't create multiple windows.

 When i try to create a second gemwin, i'm getting error: GEM: gemwin:
 window already made.

 Is there a way to accomplish this without opening several instances of pd ?

 thanks for your help,


 -robert

 ___
 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] [GEM-dev] proper alpha channels in GEM?

2007-10-22 Thread B. Bogart
Hi Patrice,

I did a quick test and GIMP will convert a transparent PNG to TIF fine.
I don't have Gem working on this machine to test loading the tif, but I
can confirm it shows transparency. convert did do something strange to
the png file when converting to tif I can see...

send me your tif if you still can't get it to work and I'll see if I can
confirm your troubles.

.b.

Patrice Colet wrote:
   I have another question that is a little bit OT,
 inkscape only export bitmaps in png format, then I'd like to use 
 imagemagicks for converting png to tiff, or even better svg to tiff,
 but it's very tricky, for the moment none of the tries I've done gave 
 something satisfaying, the tiff image result after conversion:
 imagemagicks myfile.png myfile.tiff gives a totally gray result with 
 pix_texture, in an image editor there doesn't seem to have an alpha 
 channel, even with -channel RGBA option.
   Any hint would be very appreciated.
 (I've made these tries with Gem-0.90 dll, the 0.91 crashes too often)
 
 
 
 Patrice Colet a écrit :
 This test is successfull, thanks.

 Jack a écrit :
 Hello,
 I think that alpha channel only work with TIFF format in RVB 32 bit image.
 Have a look on the patch.

 Jack


 Le 22 oct. 07 à 16:14, Patrice Colet a écrit :

 Hello, I've looked into pd-list archive and found this thread.

 Is it possible to load a picture with an alpha channel with pix_image?

 when I load such picture (both jpg and png) nothing happens (no console
 message), no image is loaded.
 My RGBA pictures are made with inkscape.
 
 
 ___
 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] a general discussion about which software to learn: pd, max, both... or else?

2007-10-14 Thread B. Bogart
Hi David,

You should learn everything you have time to, that way learning more
stuff that does not yet exist will be easier. PD and Max are very
similar, learning one gets you a huge way to learning the other, just a
few interesting caveats here and there (and differing object names, and
objects).

Max/msp is what $600 or so? Plus the upgrades for the rest of your life. ;)

As for alternatives to the established stuff look into:

ardour, cinelerra, gimp, inkscape

.b.

David Schaffer wrote:
 Hi everybody,
  
  I'm a stage/audiovisual technician willing to make a move into
 digital arts. I've been using pd for quite some time know and I was
 wondering if it would be useful for me to learn Max: according to you
 guys, which of the two programs seems to be most widely used, most
 popular, most promising in terms of future devellopements? Is it worth
 to be good in both or to become excellent (whatever that means...) in
 one of them? Is there another platform out there that would be worth
 giving a look (outside of the established stuff like pro tools, final
 cut, photoshop etc...) Thank you for your answers.



 D.S
 
 
 
 
 ___
 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] Weighted Randomness

2007-10-12 Thread B. Bogart
Hey all,

Does someone have a very simple implementation of a weighted randomness
patch where the distribution of the numbers is read from a table? I see
Miller's moses example, but I would like more graphic control of density.

Something like:


--

Gives an even chance to all values

   /
  /
 /
/

The bigger the number, the more likely it is.

So X is the number, and Y is the probability.

100 increments from 0-1 is what I'll be using.

Thanks all,
B.

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


[PD] SOM experts...

2007-10-12 Thread B. Bogart
Hey all, Johannes in particular,

According to Medler:
http://neuron-ai.tuke.sk/NCS/VOL1/P3_html/node28.html#SECTION00045000

...Consequently, more frequently occurring stimuli will be represented
by larger areas in the map than infrequently occurring stimuli.

Which leads me to believe if you present a SOM with the same pattern,
the number of nodes that fire should increase proportional to the
frequency of the pattern.

Problem is I can make ann_som do that, not matter what rules I specify
(using the regular decreasing learning rate).

If I send the same pattern to the som 1 times, only one node will
fire for that duration.

Am I misinterpreting the text?

Also by default does ann_som using time-seeded random numbers or regular
random numbers? I ask because it appears the same node always wins at
the start... (the biggest number).

Is there a FANN mailinglist for the discussion of such issues?

(http://leenissen.dk/fann/ is timing out for me.)


Thanks,
B.

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


Re: [PD] midi learn (Re: remote sl

2007-10-12 Thread B. Bogart
Hi,

I'm still planning to put this in pixelTANGO, but its moving slow.

Anyhow there is an abstraction in CVS:

abstractions/pixelTANGO/abstractions/cclearn.pd

Its a little messy, but should work...

Let me know if you have ideas for improvement to make it useful more
generally.

.b.

F R E N K wrote:
 Sven wrote,
 
 has anyone ever made a patch to easily assign
 midi-controls to receivers in pd and save
 that configuration in a file?
 
 I was planning on building one for my next project, but i think that
 seeing the one you've already built would be an enormous help -- so if
 you feel like posting it, I would really appreciate it!
 
 salud!
 
 rodrigo
 
 
 Express yourself instantly with MSN Messenger! MSN Messenger
 http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/
 
 
 
 
 ___
 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] SOM experts...

2007-10-12 Thread B. Bogart
Thanks for the jab,

How do you interpret the quote from Medler? My understanding is also
that only one node can win... So it the same node would fire with the
same input, no matter what. I then have no idea what Medler means.

Perhaps a nice ann_som feature would be to send out the BMU index and
its weight.

.b.

Andy Farnell wrote:
 I tried Kohonen for classifying timbres once and
 though I'm certainly not an expert on it Ben I seem to remember 
 that it works within a threshold value. Input vector is just a _point_
 in an n-dim space with a sphere of influence around it. If an output
 vector is within this threshold area then the more input stimulus you
 present that match a vector falling inside the threshold the more
 that output is weighted. Eventually that output vector will fire with 
 probability= 1 (absolutely certain). Further input vectors, no matter
 how many you give, won't affect output vectors outside the threshold.
 It's a long time ago, so excuse me if I'm talking rubbish.
 
 
 
 
 On Fri, 12 Oct 2007 11:27:15 -0700
 B. Bogart [EMAIL PROTECTED] wrote:
 
 Hey all, Johannes in particular,

 According to Medler:
 http://neuron-ai.tuke.sk/NCS/VOL1/P3_html/node28.html#SECTION00045000

 ...Consequently, more frequently occurring stimuli will be represented
 by larger areas in the map than infrequently occurring stimuli.

 Which leads me to believe if you present a SOM with the same pattern,
 the number of nodes that fire should increase proportional to the
 frequency of the pattern.

 Problem is I can make ann_som do that, not matter what rules I specify
 (using the regular decreasing learning rate).

 If I send the same pattern to the som 1 times, only one node will
 fire for that duration.

 Am I misinterpreting the text?

 Also by default does ann_som using time-seeded random numbers or regular
 random numbers? I ask because it appears the same node always wins at
 the start... (the biggest number).

 Is there a FANN mailinglist for the discussion of such issues?

 (http://leenissen.dk/fann/ is timing out for me.)


 Thanks,
 B.

 ___
 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] Weighted Randomness

2007-10-12 Thread B. Bogart
Thanks!

[unauthorized/probalizer][ is working great. Thank again Yves.

In pd-extended the right-click help does not work, I suppose since it
looks for the reference patch in extra, not extra/unauthorized.

.b.

Bryan Jurish wrote:
 moin moin,
 
 I think my [weightmap] external does pretty much what you're describing.
  It ought to be in cvs under externals/moocow/weightmap.  Also,
 Yves' [probalizer] does basically the same thing, and also includes a
 GUI and a training mode for the weights.
 
 marmosets,
   Bryan
 
 On 2007-10-12 19:51:34, B. Bogart [EMAIL PROTECTED] appears to have
 written:
 Hey all,

 Does someone have a very simple implementation of a weighted randomness
 patch where the distribution of the numbers is read from a table? I see
 Miller's moses example, but I would like more graphic control of density.
 


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


Re: [PD] That's a surprising new look

2007-10-10 Thread B. Bogart
Wow, its rounded/bubbly  !!!

I just realized the fancy shaded PD icon has open inlets, and closed
outlets, which as far as I know comes from a rendering bug in tk... Not
by design, or maybe I'm wrong...

Hans-Christoph Steiner wrote:
 
 Hmm, looks nice, with lots of nifty features.  But I think a lot of them
 would drive me nuts.  Like the fact that you can move the GUI elements
 around in presentation mode separately from edit mode.
 
 .hc
 
 On Oct 8, 2007, at 9:53 PM, Thomas O Fredericks wrote:
 
 http://createdigitalmusic.com/2007/10/08/first-max-5-preview-music-patching-the-next-generation/
 ___
 PD-list@iem.at mailto:PD-list@iem.at mailing list
 UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list
 
 
 
 
 
 
 You can't steal a gift. Bird gave the world his music, and if you can
 hear it, you can have it. - Dizzy Gillespie
 
 
 
 
 
 
 ___
 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] Video DS 3/4 Contrast

2007-10-05 Thread B. Bogart
What device are you using for video input?

If its linux compatible you should try pure:dyne.

I've been using v4l pix_video input on linux for weeks on end...

.b.

Peter Forde wrote:
 Hello Again,
  
 I am running some live video from a security camera but my computer
 chugs a lot at full Res. VideoDS is the perfect solution except I am
 looking for a happy medium. Half is fast but too grainy and full is fine
 but too slow. Is there a way to set a happy medium say 3/4 or test out
 any other variables ?
  
 Also because I am using low light with Black  White video I need to
 bump the contrast so pix_movement can better read the changes. I am
 aware pix_movement has a threshold but this is a variable I would like
 to play with after.
  
 Thanks for all the support. I'm not sure if the eticate is to thank or
 not after getting a reply.
 I am very grateful.
  
  
 Peter Forde
 
 
 Climb to the top of the charts!  Play Star Shuffle:  the word scramble
 challenge with star power. Play Now!
 http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct
 
 
 
 
 ___
 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] linux - faster load first time

2007-10-05 Thread B. Bogart
384MB ram seems a bit low.. (nowadays)

My old duron 800 has 1GB.

I've not noticed PD starting more slowly than it always has on my feisty
or etch machines...

you can always try oprofile to see what is using up what (CPU wise)

.b.

Kevin McCoy wrote:
 
 what distro are you on?
 
  
 Ubuntu Studio Feisty 7.04.  I usually do load some GNOME things
 ocasionally and I wonder if they are staying in the system... I'm
 running a P4 1.6 GHz 384 MB RAM so I need to keep the memory freed up. 
 I will look into the running processes, I haven't taken the time to find
 out what is what yet.  Application startup (including pd) is slow and
 the pc doesn't seem to be paging or anything to disk...
  
 km
 
  
 
 
 
 
 ___
 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] GEM to SVG/EPS/PDF

2007-09-22 Thread B. Bogart
That could be cool,

Mostly for high-res output...

.b.

timon wrote:
 Hi,
 
 I came across this, GL2PS: an OpenGL to PostScript printing library. If
 it could be incorporated it would make a great addition to the Gem. Dont
 know anything on how to build PD objects though (sorry, sounds a bit
 arrogant). Anyway, if its of interest.
 
 http://www.geuz.org/gl2ps/
 
 
 Timon
 
 ___
 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] inconsistencies with lib names (was: representning classes

2007-09-19 Thread B. Bogart
Hey all,

This is a nice idea, but the bottom line is that its too late for that.
People already depend on many old (first) funny externals like Markex
Counter, which is still in some of my older patches. Its the oldest
counter, so should it be the default? too bad its inlets are arranged
differently than its arguments. too late to fix that too.

PixelTANGO also depends on private externals in a subdirectory that
should not be available to the end user. (and not just because it
depends on memento either)

The libdirs are the solution to that problem, and it has already been
solved.

Maybe such a feature would be in PD devel or something for the power
users to build there own PD, but I'm moving more and more to pd-extended
even for installation stuff and especially now that there are nice debs
for it.

Throwing away the way extended works (and namespaces) to get some extra
drop an external somewhere solution does not make much sense to me.

As for MaxMSP, if you want to install an external in PD vanilla, just
put it in the extra folder, not in a subfolder!!!

How many files are in the Max extra (or whatever its called folder?) I
think Marius counter over 1200 externals in PD...

I don't see any goo reasons against the way the libdir design now (and
should in the future) work. So why not improve that then find more
awkward ways around the same problems?

Just my opinion,
.b.

Atte André Jensen wrote:
 [EMAIL PROTECTED] wrote:
 
 I think it would be more useful right now if pd would search in 
 subdirectories.
 
 How about the adding the ability to write an asterix for recursive search so
 
 /home/atte/music/synth/pd/attes_pd_stuff/*
 
 would also look in
 
 /home/atte/music/synth/pd/attes_pd_stuff/externals
 /home/atte/music/synth/pd/attes_pd_stuff/abstractions
 /home/atte/music/synth/pd/attes_pd_stuff/midi_instruments
 
 This would keep backwards compatibility + make it possible to do it only 
 for certain directories. I realize the user would still be able to run 
 into name clashes, though...
 



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


Re: [PD] pddp drafts

2007-09-17 Thread B. Bogart
Hi Marius,

Thanks for taking the dive and contributing ideas to the wiki. I'll
strike that task from your todo list. How is the wiki template going?

I think the discussion about externals was well played out, what have
you ended up deciding? (Will your stylesheet system work on vanilla PD 40?)

I am a little confused about the purpose of these templates though, as I
thought you had issues with the way the information was structured in
previous templates (and the over use of canvases) and now I see you have
even more canvases (cnv)!

Here is some feedback:

* I think the idea of the stylesheet is a good one, especially as it
works for multi-lingual PD. Of course the comments would still be
unilingual without lots of extra effort.

* Where did the three panel layout come from? Having two columns for the
content does not really flow well, as they are different sizes. The
extra space for the patch area is nice, but I think most examples need
more vertical space than horizontal, even with template 11 the example
patch is still floating in a lot of empty space. See template 6 for an
example of another alt design that had a bigger patch area.

* The purpose of the canvases in the previous templates is to break up
the content, so that are all the width of the text area or so, when they
are too short they no longer serve to break up the content because they
need to have more emphasis on the text.

* All in all I don't see any improvement of this design to template 11,
Would you consider making template 11 stylesheet compatible?

See my other message about GOPing pddplink.

Great to see all this effort! :)

.b.

marius schebella wrote:
 hey,
 just finished my templates. I did not concentrate so much on content and 
 layout, but on the question how to make different patch layouts with 
 stylesheets.
 I think it is a good idea to make styles as flexible as possible.
 https://www.puredata.info/dev/pddp/pddp-drafts
 So what you see is one patch where you can switch between different 
 styles. The style definitions are in a seperate textfile and control 
 primarily canvases and text (but you can add your own style definitions 
 for guis...). You can set colors, fonts sizes, positions. please play 
 around and create your own layouts!
 The layouts are rewritten everytime you open the patch, so you don't 
 have to worry to overwrite when you save a patch.
 Besides the changes on gui objects, it is also possible to switch 
 headers and footers (or create additional patches). They are GOPs and 
 are scripted during runtime (when you open the patch). they can change 
 their appearance dependent on things like language settings, operating 
 system. But GOPS only support gui objects and comments, I really miss 
 support for images and pddplink. you will need iemlib, zexy, pd 0.39.
 I only tested them on mac, so I would like to hear feedback about other 
 os. thnx.
 marius.
 
 ___
 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] to the PDDP folks

2007-09-14 Thread B. Bogart
Hey all,

Just a reminder that the next meeting is next Tuesday the 18th, and I've
put a TODO list and a tentative agenda on the wiki:

https://www.puredata.info/dev/pddp/FrontPage

Be sure to get your homework done, or see where you can help out and
make a contribution!

Thanks,
B. Bogart

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


[PD] Problems with puredata.info?

2007-09-11 Thread B. Bogart
I'm unable to save the changes to the PDDP wiki page:


Site error

This site encountered an error trying to fulfill your request. The
errors were:

Error Type
AttributeError
Error Value
'NoneType' object has no attribute 'id'
Request made at
2007/09/11 21:33:02.545 GMT+2


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


Re: [PD] Fullscreen OSX G3 10.3 No Menu Bar Single Monitor

2007-09-05 Thread B. Bogart
Try [menubar 0  and [menubar -1 

Are these not documented in the help file?

.b.

mark edward grimm wrote:
 ... i know im beating a dead horse. ive read the list
 on this but i still cant seem to figure it out!
 
 I usually just have a duel monitor and do fullscreen
 2 but now im on a g3 with single monitor and cant
 hide the menu bar.
 
 im using hans pd-extended 0.39.2-test-7 for 10.3 and
 Gem compiled for g3
 
 ... any 3rd party apps that just autohide the menu
 bar? everything i found was for 10.4.
 
 thanks ahead of time for the help!
 
 mark
 
      
   mark edward grimm | m.f.a | ed.m
   megrimm.net | socialmediagroup.org  .com   
   [EMAIL PROTECTED] | 585.509.8703
   __
 
   
 
 
 
 ___
 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] Fullscreen OSX G3 10.3 No Menu Bar Single Monitor

2007-09-05 Thread B. Bogart
Try a newer Gem... (IE one of the nightly builds of pd-extended)

That is the way to do it, but your version of GEM is maybe too old:

[menubar -1
 |
[gemwin]

I recall -1 make the bar show up again when you mouse over the top of
the screen, 0 means no bar no matter what.

.b.

Mark Polishook wrote:
 all i can add to this is i haven't found a solution either. if someone
 who has could say [exactly] how to, that would be great.
 
 tia -
 
 On 9/5/07, * mark edward grimm* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
 
 ... i know im beating a dead horse. ive read the list
 on this but i still cant seem to figure it out!
 
 I usually just have a duel monitor and do fullscreen
 2 but now im on a g3 with single monitor and cant
 hide the menu bar.
 
 im using hans pd-extended 0.39.2-test-7 for 10.3 and
 Gem compiled for g3
 
 ... any 3rd party apps that just autohide the menu
 bar? everything i found was for 10.4.
 
 thanks ahead of time for the help!
 
 mark
 
   
   mark edward grimm | m.f.a | ed.m
   megrimm.net http://megrimm.net | socialmediagroup.org
 http://socialmediagroup.org  .com
   [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] | 585.509.8703
   __
 
 
 
 
 
 ___
 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


[PD] Expr does not play well with ints?

2007-07-23 Thread B. Bogart
Hey all,

So I've been doing lots of calculations with expr and creation
arguments, and it seems to send an int when it should send a float way
too often:

[expr 8 / 20]

returns 0!!!

See attached patch.

Have I lost my mind? Is my machine going crazy? or is expr actually
doing what I see here?

I cringe at the idea of doing these calculations with separate [*] [/]
[+] [-] objects...

Thanks,
B. Bogart

#N canvas 0 0 450 300 10;
#X obj 74 90 expr 8 / 20;
#X obj 142 24 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X floatatom 93 128 5 0 0 0 - - -;
#X floatatom 213 133 5 0 0 0 - - -;
#X msg 191 47 1;
#X obj 194 95 expr $f1 * 8 / 20;
#X connect 0 0 2 0;
#X connect 1 0 0 0;
#X connect 1 0 4 0;
#X connect 4 0 5 0;
#X connect 5 0 3 0;

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


Re: [PD] Expr does not play well with ints?

2007-07-23 Thread B. Bogart
Mathieu, are you really able to put 8.0 in an expr argument? In my PD
(.39 ubuntu package) the 8.0 gets turned into 8 and remains an int.

Hmm?

B. Bogart

Mathieu Bouchard wrote:
 On Mon, 23 Jul 2007, B. Bogart wrote:
 
 So I've been doing lots of calculations with expr and creation
 arguments, and it seems to send an int when it should send a float way
 too often:
 [expr 8 / 20]
 returns 0!!!
 Have I lost my mind? Is my machine going crazy? or is expr actually
 doing what I see here?
 
 expr supports the int type because [expr] comes from jMax/FTS/Max/etc.
 So if you put a number without a dot it's parsed as an int. Then the
 main difference between ints and floats is that an int divided by an int
 is rounded towards zero (many languages do it like that but some others
 round it always downwards instead; some others instead force the result
 to be a float or a rational)
 
 What you can do is either [expr 8 / 20.0] or [expr 8.0 / 20] or
 obviously [expr 8.0 / 20.0]
 
 You only need to make one of the two as float because float has priority
 on int, so when a float comes into contact with an int, the int is
 converted, even though float can't represent everything that int can,
 e.g. compare
 
   [expr 123456789%10] finds last digit of 123456789
   [expr int(123456789.0)%10] fails because float isn't that precise
 
 do not put a space before % in that first example! if you do, pd will
 parse it as a number, turn it to float, then give it to [expr], which
 determines that float % int = syntax error.
 
 cool, eh?
 
  _ _ __ ___ _  _ _ ...
 | Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada
 
 
 
 
 ___
 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] How do you find exposure from pixel or video?

2007-07-22 Thread B. Bogart
hi Henry,

pix_mean_color?

May need to use one of the pd-extended nightly build installers since
they have a newer gem than the stable pd-extended.

.b.

Henry Lin wrote:
 hello
what i mean is we need to use the cam recorder to capture the
 lighting and send out a number... which mean that a 100% of brightest
 
 thanks
 
 
 From: /Hans-Christoph Steiner [EMAIL PROTECTED]/
 To: /Henry Lin [EMAIL PROTECTED]/
 CC: /pd-list@iem.at/
 Subject: /Re: [PD] How do you find exposure from pixel or video?/
 Date: /Thu, 12 Jul 2007 09:31:29 -0400/
 
 
 Welcome!
 
 I am not sure I know what you mean by finding exposure from pixel
 or video, do you mean getting images from a video camera?  For that
 you can use pix_video, pdp_v4l, or pdp_ieee1394.
 
 .hc
 
 On Jul 11, 2007, at 9:34 PM, Henry Lin wrote:
 
 Hello
 Iam new to puredata ,  i need help in finding exposure from
 pixel or video
 
 thank you everyone =)
 
 
 
 
 Click here http://g.msn.com/8HMBENCA/2728??PS=47575to get a
 free Canada Day MeeGo.
 ___
 PD-list@iem.at mailto:PD-list@iem.at mailing list
 UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list
 
 
 
 
 
 
 
 The arc of history bends towards justice. - Dr. Martin Luther
 King, Jr.
 
 
 
 
 
 Windows Live Hotmail. Even hotter than before Get a better look now.
 http://g.msn.com/8HMBENCA/2737??PS=47575
 
 
 
 
 ___
 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] Turning on/off an installation

2007-06-22 Thread B. Bogart
Hi Alexandre,

I've always kept my machines on, and my projectors/screens are the
things that get switched on and off. Most of my installations deal with
previous days anyhow...

I've has installations running for many weeks on constantly.

The current one uses [shell] to turn dpms on and off on the monitor to
make it suspend, and turns off the camera movement according to a
schedule in the patch.

Are you worried about wearing out the HW? (mechanical parts?)

B. Bogart

Alexandre Quessy wrote:
 Hi all,
 I was wondering if someone has an idea on how one could create a
 switch to turn on and off an installation. I was thinking about either
 a push button to turn it off, or a web interface. Maybe one of those
 two things could make Pd (or PHP) write to a file that would be parsed
 by a cron job every minute. That cron job should be owned by root in
 order to be able to halt the computer. Then, to turn it on, I guess
 one could set the bios to turn on the computer automagically when the
 power gets down and then up again... Or one could use the computer
 power button (but in this case, it is an laptop that I want to hide
 deeply...) The whole idea behind this is to avoid to suddenly turn off
 the computer, which would probably corrupt the file system at some
 point. Of course I use GNU/Linux : probably Ubuntu Server or Debian.
 
 Any suggestion ?
 


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


Re: [PD] gemmouse wish

2007-06-22 Thread B. Bogart
Why not do [gemmouse 8 4] for 2:1 window?

Of course you have to keep track of your own window size and alter the
coords in responce, but that is largely the PD way anyhow, to keep track
of what your doing yourself.

You could just normalize from 0 to 1 and rescale based on your window size?

As far as I know most platforms don't even allow mouse resizing of
gemwindows...

.b.

marius schebella wrote:
 Hi,
 it would be very helpful to change the behaviour of gemmouse a little
 bit (to get similar results to the translation of objects in the gemwindow).
 [gemmouse 8] should normalize to the height (like gemwin) and not to the
 width.
 given a rectangular gemwin any aspect ratio (no difference between 2:1
 and 1:2...) always normalizes to the height and sets (with the default
 view) the top and bottom borders to +4 and -4
 gemmouse 8 on the other hand normalizes to the width. this makes it very
 difficult (unpossible?) to build mouse interaction with variable window
 sizes.
 another feature wish: to be able to tell the dimensions of the gemwin.
 esp. after resizing by mousedrawing.
 thanks,
 marius.
 
 
 ___
 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] broken analog inputs w/ pduino 0.3?

2007-06-08 Thread B. Bogart
Hi Pduinoers,

I'm teaching a workshop tomorrow and wanted to get my old arduino demo
working (since reinstalling the machine).

pduino seems to be working, I was able to upload the new firmware, and I
am able to set the digital outputs, and able to use the PWM output.
Problem is I'm not getting anything on the analog inputs, they are all
stuck at 0, no noise or visible changes.

Are the analog inputs known to work with pduino 0.3?

I vaguely remember some issue with the analog inputs conflicting with
the digital inputs or something?

What can I do to debug?

Thanks,

B. Bogart

Hans-Christoph Steiner wrote:
 
 On Jun 1, 2007, at 7:02 PM, B. Bogart wrote:
 
 I did notice that, but it seems a proper autoconf build for FTGL could
 only be a good thing, can't hurt to get the problem moving on both ends.

 So it seems getdir is only available from [ggee/getdir] and not
 [getdir]. What is the standard way for pd-extended externals to be
 called with the libdir stuff? Should I change my references to
 [ggee/getdir] or is there a way I can make [getdir] go to the right
 place?
 
 The idea is to have everything in a library except for the bare minimum
 necessary.  You can do [import ggee], then [getdir], or [ggee/getdir],
 or add ggee as a startup lib.  But [ggee/getdir] is the easiest.  I
 guess this stuff is still experimental.  The prefixes/import solve the
 name collision problem, but may add an unnecessary bit of complexity.
 
 Are you going to the pd convension? when are you returning? how are you
 travelling? Karen and I were thinking about going to NYC after the
 conference since we'll be so close. Have you run into Jeremy Rotzstain
 yet?
 
 I am planning to return to NYC on the train.  I'll be pretty busy then
 since the semester will start shortly thereafter and I have to teach a
 new class, meaning lots of prep work.  I'll have some time to hang out
 then.  If you need a place to stay, you can stay with me.  I have a
 comfortable pull-out bed in my living room.
 
 I'm aiming to put about 10 hours a week back into pT now, so hopefully
 things will get moving again. my MSc has turned out to be more work than
 I expected, mostely due to the fact that everything else, like being an
 artist, does not stop!!
 
 That's good news.  Are you thinking of integrating it into Pd-extended,
 or keeping it a separate download?  If you are going to change it a lot,
 I think it would probably make more sense to take it out of Pd-extended,
 so you don't have to deal with old versions and version conflicts.  For
 that reason, I have kept hidio and the Pduino stuff out of this version
 of Pd-extended.  Plus I am basically ready to release it.
 
 .hc
 

 hope to see you.

 .b.


 Hans-Christoph Steiner wrote:

 Hey,

 FYI: It builds fine on my machine as is, and on the auto-build machines
 too.  It's just a problem with the way that the automatic scripts are
 called that cause it not to work.  I outlined the problem and suggested
 a solution to IOhannes, hopefully he'll fix it.

 .hc

 On Jun 1, 2007, at 5:49 PM, B. Bogart wrote:

 Hello Henry,

 I'm trying to assist in a autobuild system for an OSX application (Gem)
 that depends on FTGL. Problem is that Gem expects FTGL with an
 ftgl-config and ftgl.pc via autoconf. Is a modification of the autoconf
 build for unix to allow compilation on OSX w/out xcode possible?

 As OSX is unix it seems an autoconf build for FTGL is reasonable.
 Especially as it simplfies autobuilds of projects not using Xcode.

 Thanks for your time.
 B. Bogart





 



 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



 
 
 
 
 
 
 
 
 'You people have such restrictive dress for women,’ she said, hobbling
 away in three inch heels and panty hose to finish out another
 pink-collar temp pool day.  - “Hijab Scene #2, by Mohja Kahf
 
 
 



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


Re: [PD] no clear buffer in -buffer2-

2007-03-26 Thread B. Bogart
Hey,

Look at the motion blur example in the Gem CVS.

.b.

Andres Ferrari wrote:
 hello, is posible simulate a single buffering using
 buffer2???...no clear buffer, keeping the last frame
 created...using openGL in GEM.
 
 with message buffer1 is easybut i want combine
 scenes with clear and no clear buffer in the same gem
 window.
 
 
 thanks a lot.!!!
 
 Andrés Ferrari G.
 http://puredata.org/Members/anfex
 
 __
 Correo Yahoo!
 Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
 Regístrate ya - http://correo.espanol.yahoo.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


[PD] routing CD player input to PD

2007-03-06 Thread B. Bogart
Hey all,

What is the best way to get my CD player (actually TV-tuner) audio into
PD? The Tuner is connected through the CDaudio input on the sound-card, I
can hear the signal through the alsamixer (through CD audio) but how can
I get that signal as the audio input into PD?

Or at least get it to work so that I can manipulate the signal through PD
before I hear it, right now the card seems to just route the signal right
through the speakers...

Thanks.

.b.


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