A Melody Can Be Characterized By