[PD] functionality for connecting to Max or pd