Is the word "edge" used in the same way in the following two sentences?

His voice had an edge to it.

She sat on the edge of the bed.
different meanings