> 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/cestina/readme/midi-features-verwenden/midi-befehle-beim-schliessen-von-songs.md).

# MIDI příkazy při zavírání písní

## Odeslat MIDI Stop při zastavení písně <a href="#toc165549817" id="toc165549817"></a>

V nastaveních SongBook+ můžete nakonfigurovat, zda poslat MIDI Stop při zastavení písně.

## Odeslat další konfigurovatelné MIDI příkazy <a href="#toc165549818" id="toc165549818"></a>

Tlačítkem „Akce při zastavení“ v editačním okně písně můžete definovat libovolné MIDI příkazy, které budou odeslány při zastavení písně.

Pro popis se prosím podívejte na [MIDI příkazy při otevření písní](/cestina/readme/midi-features-verwenden/midi-befehle-beim-offnen-von-songs.md).

## Odeslat stejné MIDI příkazy pro všechny písně <a href="#toc165549819" id="toc165549819"></a>

V MIDI nastaveních v „MIDI“ -> „MIDI-Makra“ -> „Makra při ovládání skladeb“ můžete vybrat předem definované MIDI makro, které bude odesláno při zastavení každé písně. Můžete také určit, zda má být odesláno, i když píseň již obsahuje vlastní „Akce při zastavení“.

Pro popis se prosím podívejte na [MIDI příkazy při otevření písní](/cestina/readme/midi-features-verwenden/midi-befehle-beim-offnen-von-songs.md).

## Odeslat obsah MIDI souboru při zastavení písně <a href="#toc165549816" id="toc165549816"></a>

SongBook odešle obsah MIDI souboru, jakmile je píseň **zastavena**, pokud existuje .mid soubor se stejným názvem jako .pdf soubor rozšířený o „\_stop.mid“.

(např. MySong.pdf -> MySong\_stop.mid)

Povoleny jsou pouze MIDI soubory typu 0 (jedna stopa). Všechny příkazy jsou odeslány najednou, aniž by se bral ohled na časování. Nelze tedy odeslat hudbu, ale pouze příkazy k nastavení prostředí.


---

# 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/cestina/readme/midi-features-verwenden/midi-befehle-beim-schliessen-von-songs.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.
