pitchtools.respell_named_chromatic_pitches_in_expr_with_sharps

abjad.tools.pitchtools.respell_named_chromatic_pitches_in_expr_with_sharps.respell_named_chromatic_pitches_in_expr_with_sharps(expr)[source]

New in version 1.1.

Respell named chromatic pitches in expr with sharps:

abjad> staff = Staff(notetools.make_repeated_notes(6))
abjad> pitchtools.set_ascending_named_chromatic_pitches_on_nontied_pitched_components_in_expr(staff)
abjad> f(staff)
\new Staff {
    c'8
    cs'8
    d'8
    ef'8
    e'8
    f'8
}
abjad> pitchtools.respell_named_chromatic_pitches_in_expr_with_sharps(staff)
abjad> f(staff)
\new Staff {
    c'8
    cs'8
    d'8
    ds'8
    e'8
    f'8
}

Return none.

Changed in version 2.0: renamed pitchtools.make_sharp() to pitchtools.respell_named_chromatic_pitches_in_expr_with_sharps().

This Page