[PD] fileformat of PD (0.37+)

Johannes M Zmoelnig zmoelnig at iem.at
Tue Nov 9 10:41:13 CET 2004

Tjeerd Sietsma wrote:
> I'm trying to figure out PD's fileformat, and I can't fully succeed.

i am not sure at all, but i will probably ask thomas tomorrow, when he 
is here again.

> Could someone help me with this:
> - vslider and hslider have their initial value stored as a multiple of
> 100. Why?
the values are stored as integers (but i have no idea why). *100 scales 
the value to a more used range.

> - what is the purpose of the new_old switch on vradio and hradio?
this is old behaviour of the radio-buttons which i have (succesfully, i 
think) convinced thomas to get rid of.
the idea was, that each time you hit a radio-button, it would first send 
out a message indicating which button has been DEselected and 
immediately afterwards a message describing which button has been SELECTED.

switching from 7 to 3 would result in message "7 0, 3 1";

as this can easily be build as a pd abstraction, now the radio's only 
output "3" (the newly selected button)

> - what does the last value of a vu and a cnv mean? why is it always 0?
these are either leftovers from previous versions or, what is more 
likely, are just artefacts because of some generic helper-functions 
(from g_all_guis)


More information about the Pd-list mailing list