"For Pythagoras, as Macrobius avows, stretched the intestines of sheep or the sinews of oxen by attaching various weights, and from this learned the ratio of the celestial harmony. Therefore, by means of such experiments he ascertained that the weights by which all tones on equal strings .. were reciprocally as the squares of the lengths of the string by which the musical instrument emits the same tones. But the proportion discovered by these experiments, on the evidence of Macrobius, he applied to the heavens and consequently by comparing those weights with the weights of the Planets and the lengths of the strings with the distances of the Planets, he understood by means of the harmony of the heavens that the weights of the Planets towards the Sun were reciprocally as the squares of their distances from the Sun."
This article has more: https://royalsocietypublishing.org/doi/10.1098