Scientists have developed an app to understand why some rhythms are more difficult to perform than others.