Does "third" mean the same thing in these two sentences?

He ate a third of the pie.

A simple harmony written in major thirds.
the same meaning