music theory in lua