[PD] API for manipulating a patch in real time