Text this: On The Mathematics of Musical Measures and Their Relation to Geometry