set_written_pitch_of_pitched_components_in_expr

pitchtools.set_written_pitch_of_pitched_components_in_expr(expr, written_pitch=0)

Sets written pitch of pitched components in expr to written_pitch.

>>> staff = Staff("c' d' e' f'")
>>> pitchtools.set_written_pitch_of_pitched_components_in_expr(staff)

Use as a way of neutralizing pitch information in an arbitrary piece of score.

Returns none.