Does the word "part" have the same definition in the next two sentences?

He tried to sing the tenor part.

His part was right in the middle.
different meanings