If displayStatus is set to None, the Accidental’s If overrideStatus is True, this method will ignore any currentĭisplayStatus setting found on the Accidental. Signature) is found in a different octave from the same note in aĭifferent octave. name, Label name for this tuning pitch, Array of pitch values (length of 128, each value is number of cents, for example normally note 0 is 0.0, 1 is 100.0, 60. Note that this has nothing to do with whether a sharp (not in the key Octaves above a present natural, a natural sign is still displayed. If cautionaryPitchClass is True, comparisons to past accidentals are Object using the alteredPitches property. The alteredPitches list supplies pitches from a KeySignature PitchPastMeasure is a list of pitches preceding this pitch but in a PitchPast is a list of pitches preceding this pitch in the same measure. This pitch’s Accidental object needs to be created or updated with aĬhanges to this Pitch object’s Accidental object are made in-place. Given an ordered list of Pitch objects in pitchPast, determine if
updateAccidentalDisplay ( pitchPast : Optional ] = None, pitchPastMeasure : Optional ] = None, alteredPitches : Optional ] = None, cautionaryPitchClass : bool = True, cautionaryAll : bool = False, overrideStatus : bool = False, cautionaryNotImmediateRepeat : bool = True, lastNoteWasTied : bool = False ) ¶ transposeBelowTarget ( target, minimize = True ) Pitch. Suggested by the Accidental and the Microtone combined. Thus, the alter value combines the pitch change
Get or set the number of half-steps shiftedīy this pitch, such as 1.0 for a sharp, -1.0 for a flat,Ġ.0 for a natural, 2.0 for a double sharp, and groups, but they don’t have Duration or Sites objects Pitches are ProtoM21Objects, so they retain some of the attributes there If contradictory keyword attributes (like name=’E-’, accidental=’#’) are passed in,īehavior is not defined, but unlikely to make you happy. Accidental ( 'double-flat' )) > f = pitch.