Acoustic signatures of the phases and phase transitions in Yb2Ti2O7