Form and function in human song