> For the complete documentation index, see [llms.txt](https://handbook.musescore.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://handbook.musescore.org/notation/pitch/respell-pitches.md).

# Respell pitches

## Manually changing the enharmonic spelling of notes

To change the enharmonic spelling of a note, or notes, in both transposed *and* concert pitch views:

1. Select one or more notes.
2. Press <kbd>J</kbd>.
3. Continue pressing <kbd>J</kbd> to cycle through the enharmonic equivalents.

To change the enharmonic spelling in the transposed pitch view, without affecting the concert pitch view, or vice versa:

1. Select one or more notes.
2. Press <kbd>Ctrl</kbd>+<kbd>J</kbd> (Mac: <kbd>Cmd</kbd>+<kbd>J</kbd>).
3. Continue pressing the same combination of keys to cycle through the enharmonic equivalents.

{% hint style="info" %}
These features are intended to work with single notes or a selection of multiple notes with the same pitch. If the pitches of selected notes are *not* all the same, the result may be undesirable.
{% endhint %}

## Automatically respelling all notes in a selection

### Respell pitches

1. Select one or more notes.
2. From the menu, select **Tools -> Respell pitches with sharps** or **Respell pitches with flats**.

### Optimize enharmonic spelling

1. Select one or more notes.
2. From the menu, select **Tools -> Enharmonic spelling -> Optimize enharmonic spelling**.

{% hint style="info" %}
You can set a custom shortcut for any of the above actions in **Preferences -> Shortcuts**.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://handbook.musescore.org/notation/pitch/respell-pitches.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
