> For the complete documentation index, see [llms.txt](https://docs.songbookplus.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.songbookplus.com/polski/readme/midi-features-verwenden/song-ferngesteuert-uber-midi-offnen.md).

# Otwieranie utworu za pomocą MIDI

SongBook+ może nasłuchiwać poleceń *BankSelect* i *ProgramChange* na interfejsie MIDI i otwierać wskazany utwór. Polecenia te są zazwyczaj używane do wyboru instrumentu.

Typowym zastosowaniem jest wysyłanie poleceń *ProgramChange* z MIDI stylu, odtwarzany z pliku MIDI lub z klawiatury podczas wyboru rejestracji. SongBook+ otwiera wtedy odpowiedni tekst. (Styl MIDI może bez problemu wysyłać to samo polecenie *ProgramChange* przy każdym powtórzeniu).

SongBook+ otwiera utwór, gdy otrzymuje polecenia *BankSelect* i *ProgramChange* ustawione w oknie „Edytuj szczegóły utworu”.

Proszę pamiętać, że SongBook+ używa wartości od 0 do 127. Jeśli Twoja klawiatura używa wartości od 1 do 128, musisz odjąć 1, aby uzyskać wartość do ustawienia w SongBook+.

<figure><img src="/files/MCYPVmge2A8rsnaL0Mib" alt=""><figcaption><p>Otwieranie utworu za pomocą MIDI</p></figcaption></figure>

<img src="/files/eIu3K8buS3Cwwmg2eBb1" alt="" data-size="line">Przy tych ustawieniach utwór zostanie otwarty, gdy urządzenie MIDI wykona polecenie wyboru instrumentu 16 w Banku 1 / 5.

<img src="/files/Q5jHSH9gfX8xjSwfktFM" alt="" data-size="line">Naciśnij ten przycisk, jeśli chcesz nauczyć sekwencji MIDI zamiast ustawiać za pomocą pokręteł.

<img src="/files/suyIZtHbE4yXTW7CvtSe" alt="" data-size="line">W oknie monitora MIDI możesz zobaczyć następujące dane, gdy te polecenia zostaną odebrane.

{% hint style="info" %}
Proszę użyj wbudowanego monitora MIDI w SongBook+, aby zobaczyć, co naprawdę jest odbierane na interfejsie MIDI, jeżeli otwieranie utworów nie działa zgodnie z oczekiwaniami.
{% endhint %}

Dla klawiatur Yamaha i Korg istnieje prostsze rozwiązanie. Więcej informacji znajdziesz w tym rozdziale: [Prosta kontrola klawiatury](/polski/readme/midi-features-verwenden/einfache-keyboardsteuerung.md)


---

# 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://docs.songbookplus.com/polski/readme/midi-features-verwenden/song-ferngesteuert-uber-midi-offnen.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.
