[PD-dev] pdmax with settable sampling rate