General melody validator #31