Astronomers find rhythms at the heart of pulsating stars