aboutsummaryrefslogtreecommitdiff
path: root/doc/additional/pd-msg/3.pdscript/README
blob: f5831b48205cacea0b511c2c0de8e7bd9a121a4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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