[PD-dev] setting the sample rate from an external