# Exporting songs

The exported file takes into account the current playback configuration:

* [Output synth](/user-guide/sounds/other-synths.md) configuration
* [Mix console](/user-guide/editors/mix-console.md) settings such as track's instrument, volume, mute state, etc.
* [Precount, click and tempo ](/user-guide/playback-control/commands.md)settings
* The [playback key transposition](/user-guide/tools/chord-symbols-transposition.md) 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](/user-guide/editors/mix-console.md#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](/user-guide/sounds/using-fluidsynth.md).
{% endhint %}

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

<figure><img src="/files/MtmvUarClWUb4PM5jebz" alt=""><figcaption></figcaption></figure>


---

# 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://jjazzlab.gitbook.io/user-guide/songs/exporting-songs.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.
