Re: [FreeJ] Freej Api -> Interact with outside world?

dyne.org open discussions
Author: jaromil
Date:  
To: FreeJ mailinglist
Subject: Re: [FreeJ] Freej Api -> Interact with outside world?


hi Doma!

sorry for latency on reply, it took me some time to complete
documentation and check problems.

On Sat, Jun 21, 2008 at 05:36:42PM +0200, #! /usr/bin/doma wrote:

> /* OSC */
>
> I tried to read the source files (not very sucessfully), because I
> didn't find any documentation about it.. Has anybody got a working
> example of osc within a js?


i just completed a documentation page about its usage on
http://freej.dyne.org/docs/scripting/OscController.html

please let me know if it all goes as it should and have some test of
the argument passing, which i suspect to have some bugs, not sure if
it's in the way i am using liblo or in the typecasting of args.


> /* exec() */
>
> exec("freej_test.py");
>
> the exec command works but freej exits after my script is processed
> (script exits 0). Same happens if call a stable command like
> mplayer. I was not a able to pass any arguments to the execute
> command.
>
> Is there a way for this?
> exec("freej_test.py argv");


yes, it should work as:

exec("freej_test.py", "arg1", "arg2", "arg3");

i guess that will work only when passing strings.

> /* /dev/video0 */
>
> I'm working with a usb pinaccle device with a tv tuner. It works
> super well with linux. But i'm not able to get it to run with
> freej.


some new cameras are not really working well, also for the V4L2 as
mr.goil previously mentioned. as libunicap development is progressing
i believe that is going to be a good library to use for a new video
input layer in freej, it is quite high on my todo now.

ciao

- --
Jaromil, dyne.org developer, http://jaromil.dyne.org

GPG: 779F E8B5 47C7 3A89 4112 64D0 7B64 3184 [ B534 0B5E ]
_______________________________________________
Freej mailing list
Freej@???
http://lists.dyne.org/cgi-bin/mailman/listinfo/freej