# Midi Import

## About Midi

Midi file is the original method used to import the note sequences for RhythmGameStarter, so in order to create your own note sequence for your songs with midi, you have to create a midi file using other software, possibly some DAW as FL Studio, Logic Pro, Ableton.

### Midi Parsing

RhythmGameStarter will parse your midi using `DryWetMidi` , an open-source midi library.

<div align="left"><img src="/files/-M77pUyW6cktOgl9Yx_Y" alt=""></div>

## Importing Midi

### For Version 0.5.0 +

1\. Create a blank SongItem for your song!

![](/files/-MFjs_CfKoNVjtafqCcB)

2\. Press "Import notes" and choose MIDI, then locate your midi file in your system

3\. (Optional) If the bpm is not automatically detected or incorrect! please fill in the bpm manually, and check 'Use Current Bpm' then import the midi again

4\. (p.s.) If the imported sequence is like 1 bar behind or has some start delay, please make sure in your DAW that the midi is starting from the first bar. (In most cases I heard is from logic pro x, which the midi region start from the second bar or so on which caused the imported sequence also contains the offset)

![](/files/-MFjw2KnLklg6tPaKICp)

{% hint style="info" %}
Be aware that if your midi file contains **a ton of notes**, it may cause performance issues with the Sequencer Editor, it's better to edit the sequence back in your DAW/ Midi Editor.
{% endhint %}

## Midi Mapping

{% content-ref url="/pages/-MHxTVoOuzUtoeIKifzB" %}
[Track Mapping](/rhythm-game-starter/note-sequences/midi-import/track-mapping.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://bennykok.gitbook.io/rhythm-game-starter/note-sequences/midi-import.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.
