> 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
