[PD] abstraction with variable number of inlets/outlets