He got up and hummed a little tune.
He hummed as he got up.