A man played the bagpipes at a funeral.