[PD] change sample rate from patch and learn sample rate from file