# MEDLEYENDBEAT

## What is it?

Medleyendbeat defines the moment (in beats) in which the singable part of the medley should end.

## What is it used for?

It is used to indicate the first beat that should not be included in medley.

## How to determine the value?

First determine the part of the song that you want to include in medleys (has to be continuous). It can be the chorus or something more custom - e.g. several lines of the verse and several lines of the chorus - any fun and recognizable part of the song will do as long as it is not too long.

The *medleyendbeat* should be the beat after the end of the last note from this part.\
So if the last note starts in beat 4000 and lasts 5 beats, you should use 4005.

## Technical requirements

Valid MEDLEYSTARTBEAT:

* must be >= 0,
* is expressed in beats so it is an integer,
* is after #MEDLEYSTARTBEAT,
* is before the song's last beat.

## Example in TXT file

```
#MEDLEYENDBEAT:4005
```

## See also

{% content-ref url="/pages/VnYD1QDJiupSkCpshGGn" %}
[MEDLEYSTARTBEAT](/karedi/next-level/txt-file-format/tags/medleystartbeat.md)
{% endcontent-ref %}

{% content-ref url="/pages/ZCM4ytfayzHklRZWTXqT" %}
[Setting medley boundaries](/karedi/next-level/editing-tags/setting-medley-boundaries.md)
{% endcontent-ref %}


---

# Agent Instructions: 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:

```
GET https://karedi.gitbook.io/karedi/next-level/txt-file-format/tags/medleyendbeat.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
