is_valid_notename

pitchtools.is_valid_notename(notename, minpitch=12)[source]

Returns true if notename is valid

Parameters:
  • notename (str) – the notename to check

  • minpitch – a min. midi note

Return type:

bool

Returns:

True if this is a valid notename

See also

split_notename()