[PD] text based pd patching

marius schebella marius.schebella at gmail.com
Fri Jan 11 23:06:11 CET 2008


very nice, indeed.
do you see any possibility to run this the other way round, so that we 
can have patch output in graphical ascir format?
useful for examples in pdfs, web-browsers. would make patches searchable 
and other stuff.
marius.

alex wrote:
> 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
> 
> 
> 
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
> 





More information about the Pd-list mailing list