# MIDI

> Be sure that you are in the "Songwriting" mode of the app.&#x20;

To export a MIDI file swipe up the sheet at the bottom of the screen and tap on the icon highlighted below.

If you don't see it, you must scroll the list of icons horizontally.

<div align="left"><img src="https://1678064244-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lz1ifYhQe3Ixpm7YIt8%2F-LzBrfFj7b8GVt1A7AR6%2F-LzBs2gQdhjZLsoH0ay8%2Fimage.png?alt=media&#x26;token=5f76e11d-d595-4a31-aa0b-accf94bd5b75" alt=""></div>

👉 In the following sheet, tap "MIDI".

<div align="left"><img src="https://1678064244-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lz1ifYhQe3Ixpm7YIt8%2F-LzBrfFj7b8GVt1A7AR6%2F-LzBtfV9GADSa8pN-url%2Fimage.png?alt=media&#x26;token=a399c459-c7f8-40d6-b32d-3d9fb81580b3" alt=""></div>

👉 Tap on "Share MIDI file".

<div align="left"><img src="https://1678064244-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lz1ifYhQe3Ixpm7YIt8%2F-LzBrfFj7b8GVt1A7AR6%2F-LzBtoYgnLRdp90MmLez%2Fimage.png?alt=media&#x26;token=134e8522-f2f1-46d0-a8ef-a0f25b8647a7" alt=""></div>

You can change the file name, add a suffix (Date & time) to the file. Also, you can set which extension you would like to export `.mid` (Default) or `.midi`

{% hint style="info" %}
Note that the app is creating automated inversions for a MIDI file if this [**setting is activated in the "Musical preferences"**](https://guide.tonaly.app/settings/musical-preferences/auto-voice-leading).&#x20;
{% endhint %}

{% hint style="warning" %}
If the **export is failing**, check the file name for incompatible letters. \
Watch out for letters like: `/ ? % * : | " < > .`
{% endhint %}
