B Pd-types

Since Pd is used on several platforms, many ordinary types of variables, like int, are re-defined. To write portable code, it is reasonable to use types provided by Pd.

Apart from this there are many predefined types, that should make the life of the programmer simpler.

Generally, Pd-types start with t_.

Pd-type description




t_atom atom
t_float floating point value
t_symbol symbol
t_gpointer pointer (to graphical objects)


t_int integer value
t_signal structure of a signal
t_sample audio signal-value (floating point)
t_outlet outlet of an object
t_inlet inlet of an object
t_object object-interna


t_class a Pd-class
t_method class-method
t_newmethodpointer to a constructor (new-routine)