# Maximum song length

The app has a maximum of 32 lines and/or 1.500 chords on iOS/iPad and 1.650 chords on macOS. Repeats of lines and parts included.

Under the hood, the app is working with MIDI files. Creating large MIDI files with too many chords is leading to performance issues. To illustrate this: Such files usually have a duration of more than 45 minutes which the app does not support.

That's why you might see a warning when creating songs with lots of repeats.

{% hint style="info" %}
Try to reduce repeats of parts and lines. If possible, use the "[**loop song**](/songwriting/playback-settings/loop-song.md)" feature for practicing chord progressions in a loop.
{% endhint %}


---

# 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://guide.tonaly.app/songwriting/edit-song-structure/maximum-song-length.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.
