Hi Volker,

I would suggest you'd be better off implementing your web interface using a 
suitable technology, instead of trying to do it in Quartz Composer, which isn't 
really suited for running network services. This isn't to say it isn't possible 
(hey, anything is possible) but rather you'll find it easier to split your 
requirements up properly. Quartz Composer offers UDP network capability (both 
sending and receiving packets) out the box, which if you've got a local network 
is a great way to sling data and messages between different technologies. Just 
put a listener in one QTZ, and send packets to it with whatever you want: data, 
messages indicating triggers etc.

If you build a separate web interface, perhaps using PHP, it would be trivial 
to get that interface to send UDP messages to a running QTZ (which wouldn't 
even need to be on the same machine). UDP broadcast packets are pretty easy to 
generate in many languages - PHP does support them (try Googling "php udp 
broadcast") and this would give you the ease of separating different parts of 
your project into manageable parts, each of which can operate and be tested 
independently.

One gotcha to watch out for: I'm pretty sure Quartz Composer's UDP 
implementation only sends and receives big-endian UTF-32 strings! It'll ignore 
anything else slung it's way.

Hope this helps,


Ade.



On 23 Feb 2010, at 21:44, Volker Kuchelmeister wrote:

> I try to use Safari to control (or send arguments) to QC. Can this be done? 
> Either through UDP or maybe OSC. 
> Another approach would be a built in web server in QC which extracts 
> parameters from the URL ( http://255.0.0.0:12345?arg1=abc&arg2=def )
> 
> ideally i would like a simple javascript call in the browser to send a string 
> to QC
>       
> I came across this site: http://www.cs.utk.edu/~lchen/software/java/udping/
> a java applet which is able to send and receive UDP packets, but was not able 
> to get it going on my machine by changing the server and port to my local 
> machine and recompile it with JAVAC.
> 
> any help would be greatly appreciated.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to