Re: [PD] PD Image key for video

2010-12-17 Thread IOhannes m zmoelnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2010-12-17 01:19, Adrian Riffo wrote:
 Hi List!
 
 I'm trying to blend 3d text and animated graphics with video signal.
 I tried the GEM library but the blending patch only handle images,
 someone know object to keying two GEM stream?

there is no such thing as a GEM stream.

alpha-blending can of course be use to blend objects (without any images
involved) - see the help-patch for [alpha].

more complicated blending can be done using framebuffers and shaders.

fgasdmr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk0LGE8ACgkQkX2Xpv6ydvRrowCfeVRZf5+uFvpgx1TTYye4qgJJ
fU0AnjuOxYirLh/uQtRUuUISO7CfuzUu
=IhY9
-END PGP SIGNATURE-



smime.p7s
Description: S/MIME Cryptographic Signature
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Javascript in PD?

2010-12-17 Thread ALAN BROOKER
Java for PD:

http://www.le-son666.com/software/pdj/

On Fri, Dec 17, 2010 at 1:16 AM, Mathieu Bouchard ma...@artengine.cawrote:

 On Thu, 16 Dec 2010, Bernardo Barros wrote:

  2010/12/16 Dima Bak sounddesign3...@gmail.com:

 Is there a way to use js in PD like in Max (js object)? Thanks

 I think just python and lua (much better btw :-)


 python, lua, tcl, haskell, scheme, java, c#, etc. (there are several other
 lesser known and there exists no database of existing externals, so this is
 just by memory)

 But there's nothing that allows you to write source code in a box... the
 closest is [expr].

  ___
 | Mathieu Bouchard  tél: +1.514.383.3801  Villeray, Montréal, QC

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


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


[PD] editmode_look-plugin error

2010-12-17 Thread ALAN BROOKER
Hi

The gui plugin *editmode_look-plugin. *is very nice but when ever I try to
add an array, click on an object to change the properties or go into
preferences to change the start up path, a diolog box pops up with the
following error:


invalid command name .gfxstub82dfac0.c

invalid command name .gfxstub82dfac0.c

while executing

$tkcanvas configure -background white

(procedure set_cords_by_editmode line 17)

invoked from within

set_cords_by_editmode .gfxstub82dfac0

(command bound to event)


 Has anyone else had this error or is it my set up? Thanks for any info
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Javascript in PD?

2010-12-17 Thread Jamie Bullock

On 17 Dec 2010, at 13:40, Mathieu Bouchard wrote:

 On Fri, 17 Dec 2010, ALAN BROOKER wrote:
 
 Java for PD:
 http://www.le-son666.com/software/pdj/
 
 Ah yeah, you can see on Pascal Gauthier's page (that page) that PDJ also 
 supports JavaScript and any other language for which you can find an 
 interpreter running on the JVM, and the example here is Rhino, a JavaScript 
 interpreter.
 

And don't forget k_cext, which allows you type C code directly into an object 
box, compiles it and runs it when the object gets a passed a message!

Jamie



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


Re: [PD] PD OOP?

2010-12-17 Thread Mathieu Bouchard

On Thu, 16 Dec 2010, Chris McCormick wrote:

On Wed, Dec 15, 2010 at 09:57:08PM -0800, Jonathan Wilkes wrote:

In many cases it is replaced by the effort required to make
a hack to replace the functionality of the missing external.

Yep. In my experience, the cost-benefit balance usually falls on the side of
restricting myself to not using many externals,


What's the cost of getting used to restricting yourself in such a manner ?
The effect on your problem-solving habits with pd... you'd have reasons of 
using externals, such as concision, completeness, correctness, expressing 
yourself at an appropriate level of understanding, but instead, you'd 
rather learn kludgy workarounds by heart until you don't have to think 
about them anymore ?... (though you can compensate for some of it using 
abstractions, but how much are you compensating ?)


Why don't the handheld-pd-without-libdl crowd pick a set of most useful 
externals and compile them as part of vanilla, statically ? I mean only 
things that would be portable anyway : there are lots of useful things you 
can do as externals for pd, that don't require any libraries whatsoever 
(apart from a minimal libc).


What do you do to get [fiddle~] loaded, on a system on which you don't 
have the dynamic loading support running ?



I guess I view it in a different way. Pd-msp is a constrained software
environment. I choose to match my patching style to those constraints so that I
don't have to do more annoying and time-consuming work.


If you wanted to avoid annoying and time-consuming work, you'd use 
externals.



It's like writing a haiku.


Haikus don't get any work done.

(And I'm not even convinced that they _say_ anything either !)

And if you cared about getting patches to remain as small as they can be, 
you'd care a lot more about externals than you do.


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


Re: [PD] PD OOP?

2010-12-17 Thread Mathieu Bouchard

On Wed, 15 Dec 2010, Andrew Faraday wrote:


* Perhaps it's not really OOP,


Ruby is definitely OOP, but what you want is not OOP, it's Ruby itself.

* It looks like there's a lot of debate going around, it was, largely a 
passing notion that started it. However I realize PD can do (probably) 
anything I would be likely to do with it using this embedded OOP (sorry 
if that is the wrong definition), it really was just Hmmm, I wonder if 
ruby lines could be used in-line in Pd


Pd has already much support for what is called OOP, but what you want is 
the written syntax of Ruby, which is also OOP (and somewhat more so), but 
most of all, what distinguishes Ruby's syntax is that it's very concise 
for a lot of jobs.


Ruby's syntax is most characteristically the result of designers 
optimising for conciseness. (Contrast this with Java, designed for people 
who have the impression that more verbosity means more solidness and/or 
more understandability)


Ruby also has a damn lot of good libraries, just like Python and Perl do.

Once again, amazed by the response. Perhaps someone will make this 
happen at some point. Perhaps I should, although I'll probably have to 
learn some C first. 


I recommend not using libruby, because if you can make libruby not crash 
as a pd module, you're some kind of genius.


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


Re: [PD] L2Ork Pd update now available

2010-12-17 Thread Mathieu Bouchard

On Wed, 15 Dec 2010, Hans-Christoph Steiner wrote:

I believe he means I split out each objectclass into its own file, like 
Java does.  That allows us to use namespaces prefixes like 
zexy/symbol2list.


There are other ways to introduce namespace prefixes. It can be done 
rather easily, in much less work than it takes to handle all the 
explosions of libraries, the hexloader, the symlinks and all the other 
consequences of dropping the bomb.


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


Re: [PD] edit IEM slider color

2010-12-17 Thread Mathieu Bouchard

On Wed, 15 Dec 2010, tim vets wrote:

However, I still wonder what's the difference between that and using the 
other  slider then? I also notice that when I change the multiplier to 
280, the other slider starts flipping the colors as well.  With the 
multiplier at 255, it does work, even though they are not integers 
either...?


Look, the formula is -1 - 65536*R - 256*G - B, where R,G,B are three whole 
numbers between 0 and 255 inclusively. If your colours are correct, it's 
because you do have whole numbers anyway, and if they are not, you have 
either fractions or out-of-range numbers.


If you wish, you can convert it back to RGB :

 |
[# inv+ -1]
 |
[#outer  (16 8 0)]
 |
[#  255]
 |
[#color]

to help you see what's going on.

Your numberboxes are also too small to make you see the fractions.

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


Re: [PD] Javascript in PD?

2010-12-17 Thread ALAN BROOKER
hmm.. sounds interesting do you have a link?

On Fri, Dec 17, 2010 at 5:01 PM, Jamie Bullock ja...@postlude.co.uk wrote:


 On 17 Dec 2010, at 13:40, Mathieu Bouchard wrote:

  On Fri, 17 Dec 2010, ALAN BROOKER wrote:
 
  Java for PD:
  http://www.le-son666.com/software/pdj/
 
  Ah yeah, you can see on Pascal Gauthier's page (that page) that PDJ also
 supports JavaScript and any other language for which you can find an
 interpreter running on the JVM, and the example here is Rhino, a JavaScript
 interpreter.
 

 And don't forget k_cext, which allows you type C code directly into an
 object box, compiles it and runs it when the object gets a passed a message!

 Jamie



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


Re: [PD] Javascript in PD?

2010-12-17 Thread Jamie Bullock


On 17 Dec 2010, at 18:08, ALAN BROOKER alan.brooker2...@gmail.com wrote:

 hmm.. sounds interesting do you have a link?
 

It's in the pure-data svn repository on sourceforge under externals/k_cext


 On Fri, Dec 17, 2010 at 5:01 PM, Jamie Bullock ja...@postlude.co.uk wrote:
 
 On 17 Dec 2010, at 13:40, Mathieu Bouchard wrote:
 
  On Fri, 17 Dec 2010, ALAN BROOKER wrote:
 
  Java for PD:
  http://www.le-son666.com/software/pdj/
 
  Ah yeah, you can see on Pascal Gauthier's page (that page) that PDJ also 
  supports JavaScript and any other language for which you can find an 
  interpreter running on the JVM, and the example here is Rhino, a JavaScript 
  interpreter.
 
 
 And don't forget k_cext, which allows you type C code directly into an object 
 box, compiles it and runs it when the object gets a passed a message!
 
 Jamie
 
 
 
 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Gemnotes progress

2010-12-17 Thread Jose Luis Santorcuato
Hi Ed! Beautifulcode art!

José

2010/12/17 Ed Kelly morph_2...@yahoo.co.uk

 Here's an Xmas teaser...
 More info: http://sharktracks.co.uk
 Ed

  Metastudio 4 for Pure Data - coming soon!
 Metastudio 3 still available at http://sharktracks.co.uk/puredata




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




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


Re: [PD] drag and drop files in pd ?

2010-12-17 Thread Hans-Christoph Steiner


Have you had any luck with tkdnd?  I tried it with Ubuntu/GNOME and  
couldn't get it to work.  It would be very nice to have drag-n-drop.


.hc

On Nov 7, 2010, at 1:13 AM, patko wrote:


hello,

the drag'n'drop tcl command is implemented for opening pd files, if  
you are curious look for this code in pd.tk:


catch {
   package require tkdnd
   dnd bindtarget . text/uri-list Drop {
   foreach file %D {open_file $file}
   }
}

you will need to install tktdnd lib to try out this GUI feature.

It would be nice to have externals using this lib.

- tep tep.c...@gmail.com a écrit :


i'm looking for a way to drag and drop files in linux (ubuntu), in
order to get the path of the file (in the manner of the [dropfile]
object in maxmsp) and possibly the filetype ?

--



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


--
Patrice Colet

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






I spent 33 years and four months in active military service and during  
that period I spent most of my time as a high class muscle man for Big  
Business, for Wall Street and the bankers.  - General Smedley Butler




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


Re: [PD] L2Ork Pd update now available

2010-12-17 Thread Hans-Christoph Steiner


On Dec 16, 2010, at 4:11 PM, Ivica Ico Bukvic wrote:


On Wed, 2010-12-15 at 17:15 -0800, Jonathan Wilkes wrote:

Hi Ivica,
This may just be leftovers from a previous install:
When I run pd by typing in '/usr/local/bin/pd-l2ork' it works fine.

When I run it by typing pd-l2ork, I get:

sh: /usr/bin/pd-gui: not found

And it just waits there until I hit ctrl-c.

Any hints?

-Jonathan


Actually, it seems that the default installer in packages/linux_make/
folder fails to produce sane binary when building a tarbz2 rather  
than a
deb. First of all it keeps running dpkg-shlibdeps even when running  
make
tarbz2 as it has an if statement that changes it to deb (if deb  
package
is present) and then it assumes that binary should be built in /usr/ 
bin

directory rather than in /usr/local/bin.

Hans, shouldn't the following code be under the package: part?  
Otherwise
it overrides tarbz2 settings if one has dpkg-deb installed  
regardless of

what the user has input and results in erroneous build, no?

# if machine has dpkg-deb, build a Debian package
ifeq ($(shell test -x /usr/bin/dpkg-deb  echo YES),YES)
 PACKAGE_TYPE = deb
else
 PACKAGE_TYPE = tarbz2
endif



I recently committed some fixes to the packages/linux_make/Makefile to  
fix this.  Have you tried the newest version?


.hc





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


Re: [PD] PD OOP?

2010-12-17 Thread Mathieu Bouchard

On Sat, 18 Dec 2010, Chris McCormick wrote:

On Fri, Dec 17, 2010 at 12:10:24PM -0500, Mathieu Bouchard wrote:

expressing yourself at an appropriate level of understanding, but

The appropriate level of understanding is the level at which people hear the
noise and want to party. Is there any more important level? Of course not.


I'm talking about the manner of patching for making the noises the way you 
want and keep it manageable, etc.



I don't know of a good way to quantify how much are you compensating?


I don't know either...


As for learn kludgy workarounds, I probably do that less in reality than I
seem to do in your imagination.


I don't know.


This might sound terribly lazy and self serving to you,


Oh, being lazy and self serving is not necessarily a bad thing !


It's like writing a haiku.

Haikus don't get any work done.

Haha! Wow. The statement is technically correct.


;)


(And I'm not even convinced that they _say_ anything either !)

Maybe the problem isn't with the haikus.


Maybe it's not a problem. (I didn't say it is.)


And if you cared about getting patches to remain as small as they can be,
you'd care a lot more about externals than you do.

At which point did I say I cared about getting patches to remain as small as
they can be?


It's the it's like
writing a haiku analogy
that confused me.

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