# Exporting songs

The exported file takes into account the current playback configuration:

* [Output synth](https://jjazzlab.gitbook.io/user-guide/sounds/other-synths) configuration
* [Mix console](https://jjazzlab.gitbook.io/user-guide/editors/mix-console) settings such as track's instrument, volume, mute state, etc.
* [Precount, click and tempo ](https://jjazzlab.gitbook.io/user-guide/playback-control/commands)settings
* The [playback key transposition](https://jjazzlab.gitbook.io/user-guide/tools/chord-symbols-transposition) settings

## Export to Midi

You can export a whole song to Midi via the menu **File/Export to Midi file...**

You can also export individual tracks by [mouse-dragging from the Mix console](https://jjazzlab.gitbook.io/user-guide/editors/mix-console#export-to-midi-file-with-mouse-drag-and-drop).

#### Midi file format

Exported file is a multi-track type 1 Midi file.

Each instrument track (from track 1) is initialized using the corresponding mix console track setting. Track 0 contains:

* If required, GM/GM2/GS/XG Midi initialization messages (depends on the output synth configuration)
* Tempo and time signature events
* Markers for chord symbols

## Export to audio

You can export the whole song to a **.wav** or **.mp3** file via menu **File/Export to Audio file...**

{% hint style="danger" %}
Audio export is only available if you use the internal [Fluidsynth output synth](https://jjazzlab.gitbook.io/user-guide/sounds/using-fluidsynth).
{% endhint %}

Check the **Separate tracks** option to export one audio file per track, as shown below.

<figure><img src="https://1057949908-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQE7B7yjVY3xzlsorS4-887967055%2Fuploads%2Fj7FA8Txyr9G0UALD6c0O%2F2024-12-06%2018_39_56-Export%20to%20audio%20file.png?alt=media&#x26;token=1bc8150a-a0b2-4210-be91-fef8d34d4297" alt=""><figcaption></figcaption></figure>
