Update of /cvsroot/pure-data/doc/additional/pd-msg/3.pdscript In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17382
Modified Files: README test.sh Log Message: embellished the docs a bit
Index: test.sh =================================================================== RCS file: /cvsroot/pure-data/doc/additional/pd-msg/3.pdscript/test.sh,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** test.sh 13 Nov 2002 08:53:08 -0000 1.1.1.1 --- test.sh 21 Mar 2004 05:41:45 -0000 1.2 *************** *** 6,10 **** function setfreq() { ! ./pdsend $PORT <<EOF freq $1 $2; EOF --- 6,10 ---- function setfreq() { ! pdsend $PORT <<EOF freq $1 $2; EOF
Index: README =================================================================== RCS file: /cvsroot/pure-data/doc/additional/pd-msg/3.pdscript/README,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** README 13 Nov 2002 08:53:07 -0000 1.1.1.1 --- README 21 Mar 2004 05:41:45 -0000 1.2 *************** *** 1,16 **** ! This is a short example how to "script" a pd patch ! with pd commands.
! First start pd ! # pd lisp.pd
! Then either start the automated shell script ! # ./test.sh
! or pipe the pd commands to pdsend directly:
# pdsend 3005 < test.txt
! Read through text.txt for further explanations
Guenter --- 1,21 ---- ! This is a short example how to "script" a Pd patch with pd commands. ! You will need to have 'pdsend' installed, which is a command line ! tool for sending messages to Pd. There is one included in this ! directory which might work for you.
! First start Pd with the patch "lispg.pd". It has a [netreceive 3005] ! object in it which allows the patch to receive messages on port 3005.
! # pd -open lisp.pd
! Then either start the automated shell script: ! ! # sh ./test.sh ! ! or pipe the Pd commands to 'pdsend' directly:
# pdsend 3005 < test.txt
! Read through test.txt for further explanations.
Guenter