hi i wanna show some data of a pd patch on a webpage, for monitoring remotely what is going on on the patch. It can have a latency when showing on the webpage. and data would be integrer numbers, that can be refreshed every 500 msec.
Im wondering how to create a webpage that receives a remote connection from PD (i have no clue of what sort [netsend]? or [osc]?) and using it´s content to update the data on the page. Which is the direction to look for: programming in javascript the code of the webpage? or using some sort of XML or PHP? (which i have no experience at all) is there any starndar way to do this?
thanks for your help
daniel
mami music a écrit :
hi i wanna show some data of a pd patch on a webpage, for monitoring remotely what is going on on the patch. It can have a latency when showing on the webpage. and data would be integrer numbers, that can be refreshed every 500 msec.
Im wondering how to create a webpage that receives a remote connection from PD (i have no clue of what sort [netsend]? or [osc]?) and using itŽs content to update the data on the page. Which is the direction to look for: programming in javascript the code of the webpage? or using some sort of XML or PHP? (which i have no experience at all) is there any starndar way to do this?
thanks for your help
daniel
hello, I've looked into it once, and the PHP function fsockopen() should be in help for your project, just use netsend netreceive in pd for communication.
Patrice Colet a écrit :
mami music a écrit :
hi i wanna show some data of a pd patch on a webpage, for monitoring remotely what is going on on the patch. It can have a latency when showing on the webpage. and data would be integrer numbers, that can be refreshed every 500 msec.
Im wondering how to create a webpage that receives a remote connection from PD (i have no clue of what sort [netsend]? or [osc]?) and using itŽs content to update the data on the page. Which is the direction to look for: programming in javascript the code of the webpage? or using some sort of XML or PHP? (which i have no experience at all) is there any starndar way to do this?
thanks for your help
daniel
hello, I've looked into it once, and the PHP function fsockopen() should be in help for your project, just use netsend netreceive in pd for communication.
you might be interested by this:
http://lists.artengine.ca/pipermail/pdmtl/2004-December/000126.html
Hello,
I did something similar with the ncftpput command to [shell]. It may be very un-standard indeed but it worked for me and is quite simple. The example patch generates a textfile in your home directory with some random data and sends it over ftp. Then refresh the page in your browser to see the updates... see http://www.timvets.net/software/pd_ncftpput_example.pd
Tim
mami music wrote:
hi i wanna show some data of a pd patch on a webpage, for monitoring remotely what is going on on the patch. It can have a latency when showing on the webpage. and data would be integrer numbers, that can be refreshed every 500 msec.
Im wondering how to create a webpage that receives a remote connection from PD (i have no clue of what sort [netsend]? or [osc]?) and using it´s content to update the data on the page. Which is the direction to look for: programming in javascript the code of the webpage? or using some sort of XML or PHP? (which i have no experience at all) is there any starndar way to do this?
thanks for your help
daniel
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
#N canvas 28 31 710 571 10; #X obj 192 297 shell; #X obj 192 329 print; #X obj 106 65 until; #X msg 106 41 500; #X msg 106 205 add2 $1; #X obj 106 412 textfile; #X obj 103 -15 t b b b b; #X obj 103 -45 metro 20000; #X msg 170 17 set; #X obj 103 -66 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #X text 138 -112 this uploads a new version of a test file to; #X text 256 197 the program ncftp must be installed; #X text 250 216 (on ubuntu: sudo apt-get install ncftp); #X obj 106 115 sel 0 1 2 3 4 5 6 7; #X obj 106 91 random 8; #X obj 106 179 symbol; #X msg 144 147 u; #X msg 178 147 u; #X msg 214 147 u; #X msg 249 148 n; #X msg 286 149 n; #X msg 323 149 h; #X msg 357 149 u; #X msg 106 148 h; #X text 138 -72 every 20 seconds , using ncftpput; #X text 140 -93 the specified location; #X msg 192 243 ncftpput -u <username> -p <password> <remote_site> <remote_folder> <local_file>; #X msg 125 373 write /home/testpdftp.txt; #X text 604 248 < adapt !; #X text 308 413 example at www.timvets.net/testpdftp.txt; #X connect 0 0 1 0; #X connect 2 0 14 0; #X connect 3 0 2 0; #X connect 4 0 5 0; #X connect 6 0 26 0; #X connect 6 1 27 0; #X connect 6 2 3 0; #X connect 6 3 8 0; #X connect 7 0 6 0; #X connect 8 0 5 0; #X connect 9 0 7 0; #X connect 13 0 23 0; #X connect 13 1 16 0; #X connect 13 2 17 0; #X connect 13 3 18 0; #X connect 13 4 19 0; #X connect 13 5 20 0; #X connect 13 6 21 0; #X connect 13 7 22 0; #X connect 14 0 13 0; #X connect 15 0 4 0; #X connect 16 0 15 0; #X connect 17 0 15 0; #X connect 18 0 15 0; #X connect 19 0 15 0; #X connect 20 0 15 0; #X connect 21 0 15 0; #X connect 22 0 15 0; #X connect 23 0 15 0; #X connect 26 0 0 0; #X connect 27 0 5 0;
mami music wrote:
hi i wanna show some data of a pd patch on a webpage, for monitoring remotely what is going on on the patch. It can have a latency when showing on the webpage. and data would be integrer numbers, that can be refreshed every 500 msec.
Im wondering how to create a webpage that receives a remote connection from PD (i have no clue of what sort [netsend]? or [osc]?) and using itŽs content to update the data on the page. Which is the direction to look for: programming in javascript the code of the webpage? or using some sort of XML or PHP? (which i have no experience at all) is there any starndar way to do this?
It's also possible to have pd generate the webpage directly, using [tcpserver].
Martin
2007/10/17, Martin Peach martin.peach@sympatico.ca:
mami music wrote:
hi i wanna show some data of a pd patch on a webpage, for monitoring
remotely
what is going on on the patch. It can have a latency when showing on the webpage. and data would be integrer numbers, that can be refreshed every 500 msec.
Im wondering how to create a webpage that receives a remote connection
from
PD (i have no clue of what sort [netsend]? or [osc]?) and using it´s content to update the data on the page. Which is the direction to look
for:
programming in javascript the code of the webpage? or using some sort of XML or PHP? (which i have no experience at all) is there any starndar way to
do
this?
It's also possible to have pd generate the webpage directly, using [tcpserver].
Martin
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On Oct 17, 2007, at 1:30 PM, Martin Peach wrote:
mami music wrote:
hi i wanna show some data of a pd patch on a webpage, for monitoring
remotely what is going on on the patch. It can have a latency when showing
on the webpage. and data would be integrer numbers, that can be refreshed
every 500 msec.Im wondering how to create a webpage that receives a remote
connection from PD (i have no clue of what sort [netsend]? or [osc]?) and using
it´s content to update the data on the page. Which is the direction to
look for: programming in javascript the code of the webpage? or using some
sort of XML or PHP? (which i have no experience at all) is there any starndar
way to do this?It's also possible to have pd generate the webpage directly, using
[tcpserver].
That would be awesome, are there any working examples of htis?
.hc
Martin
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
Access to computers should be unlimited and total. - the hacker ethic
Hans-Christoph Steiner wrote:
On Oct 17, 2007, at 1:30 PM, Martin Peach wrote:
mami music wrote:
hi i wanna show some data of a pd patch on a webpage, for monitoring remotely what is going on on the patch. It can have a latency when showing on the webpage. and data would be integrer numbers, that can be refreshed every 500 msec.
Im wondering how to create a webpage that receives a remote connection from PD (i have no clue of what sort [netsend]? or [osc]?) and using itŽs content to update the data on the page. Which is the direction to look for: programming in javascript the code of the webpage? or using some sort of XML or PHP? (which i have no experience at all) is there any starndar way to do this?
It's also possible to have pd generate the webpage directly, using [tcpserver].
That would be awesome, are there any working examples of htis?
I have a minimal "hello world from pd" example, on another machine of course. I'll post the patch as soon as I find it...
Martin