Make the duration sample rate a constant