distinguish note from pitch using type property