Many cuneiform tablets that have been studied relate to tuning and playing instruments and include scales. Their musical system was exported at least as far away as the Mediterranean coast and it is likely that ancient Greeks learned Mesopotamian music theory and math in the Near East. The octave was known, based on analysis of the instruments.