Exactly what I was looking for. Bookmarked. Thankyou Hans and everyone for your suggestions.
To put it in context... I was attempting to solve/answer an occasionally recurring problem for someone.. "My Pd file is corrupt and all the objects have vanished" I solved this before by trial and error, matching up canvas statements with restore statements (It does indeed work as I thought, pretty much). a. On Tue, 16 Oct 2007 19:09:09 -0400 Hans-Christoph Steiner <[EMAIL PROTECTED]> wrote: > > A quick search of puredata.org turns up: > > http://puredata.info/docs/developer/fileformat > > There's lots of good stuff there! :D > > .hc > > On Oct 16, 2007, at 4:51 PM, Andy Farnell wrote: > > > > > > > Through trial and error I've managed to reach what I thought was > > an understanding of Pd file format. However, on deeper analysis > > I keep discovering I'm wrong, in fact the Pd file structure and > > the syntax of the statements is not what I thought (which explains > > many previous programming errors). > > > > I think it's been asked before and received no satisfactory answer, > > so once again - Where is the complete file format and syntactic > > definitions of the Pd file documented (not by reading through the > > source of the parser)? > > > > Would someone care to go through and explain in a simple tutorial > > how Pd constructs its netlist and what are the meanings of the > > parameters to each of these statements > > > > > > #X msg 125 100 bang; > > > > An easy one, a message containing [bang( at coordinates 125 100, > > right? > > > > #X obj 144 128 s $1-zero; > > > > And again, an object of class "send" at coords 144,128 with name $1- > > zero. > > > > #X array $1-THREE 6485 float 0; > > > > Maybe an easy one, we create an array called $1-THREE of size > > 6485 of type float. And an array doesn't need coordinates because a > > graph > > has the coordinates not the array. But what is that 0 at the end? > > > > > > #N canvas 0 22 450 300 graph1 0; > > #X restore 235 308 graph1; > > > > What is the real purpose of restore? What are these parameters? How > > does > > it relate to the canvas? > > > > What the hell is coords? Why? > > > > #X coords 0 1.02 6484 -1.02 200 130 1; > > > > > > #X connect 60 0 62 0; > > > > Can anyone thoroughly explain connections and how their ordering > > is important? It's an ordered adjacency matrix? > > > > I think this would be very helpful for everyone to have > > properly documented somewhere. > > > > Cheers, > > > > Andy > > > > > > -- > > Use the source > > > > _______________________________________________ > > PD-list@iem.at mailing list > > UNSUBSCRIBE and account-management -> http://lists.puredata.info/ > > listinfo/pd-list > > > > ------------------------------------------------------------------------ > ---- > > I spent 33 years and four months in active military service and > during that period I spent most of my time as a high class muscle man > for Big Business, for Wall Street and the bankers. - General > Smedley Butler > > -- Use the source _______________________________________________ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list