set custom sample rate