[PD] text based pd patching
Andre Schmidt
andre at osku.de
Sat Jan 12 13:50:18 CET 2008
yup,
very nice and usefull in (non-html) emails, console, man pages and so on
(where you only can display text)... but for pdf, webbrowser i would
prefer svg. as its also just text (therefor searchable, but dunno if in
pdf) and looks "better" (propably exactly like in pd) than ascii...
i would love to do a pd-patch to svg converter, but theres no info about
the inlets/outlets in pd-patches. so we would need to have pd on the
webserver to convert pd-patches to svg...
.andre
ps. my most knowledge is in php, but i could start learn python to do an
converter for puredata.info/plone...
pps. would be awesome if users on puredata.info could choose the display
of included patches in a page between pd-text, ascii-art, svg and png :)
ppps. but until viewers support "svg fonts" (i think opera9 is the only
atm) http://www.w3.org/TR/SVG11/fonts.html#FontElement we would have the
same problem with fonts as we have with pd atm...
On Fri, 2008-01-11 at 17:06 -0500, marius schebella wrote:
> 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
> >
>
>
> _______________________________________________
> 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