[PD] text based pd patching

alex alex at lurk.org
Mon Jan 7 15:05:49 CET 2008


Hi pders

Here's a way of PD patching in plaintext:

    *------------------------*
    |           .--------.    \
  .-x--------.  | osc~ 5 |     *
  | osc~ 500 |  `-x------'     |
  `-x--------'    |            |
    |           .-x------.     |
    |           | *~ 300 |     |
    |           `-x------'     |
    *---*         |            |
        |         *------------*
      .-x------.
      | *~ 0.2 |
      `-x------'
        |
        *
        |\
        | *
        | |
      .-x-x--.
      | dac~ |
      `------'
  http://doc.gold.ac.uk/~ma503am/alex/textual-patching/

You can define pd objects and connect them together with ASCII syntax.
Layout is preserved as well.  Much like in ghostbusters, you can't cross
the lines, and there isn't syntax for different box types (messages and
numbers).  Fixing this would be short work, but I ran out of train
journey :)

There is a particular syntax for drawing the lines.  You use - for going
left and right, | for going up and down and \ and / for going
diagonally.  To change direction or fork a wire you have to place a * .
Mark inlets and outlets with x .

alex






More information about the Pd-list mailing list