> For the complete documentation index, see [llms.txt](https://bennykok.gitbook.io/rhythm-game-starter/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bennykok.gitbook.io/rhythm-game-starter/note-sequences/sequence-editor.md).

# Sequence Editor

Available to v0.2 and above

### Creating blank `SongItem`

* Create a blank `SongItem` from the Create menu

<div align="left"><img src="https://32629026-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M76iL7-CNlRUwW2lAqS%2F-M7GOlVi6ODGq00LrzHJ%2F-M7GRDPIohM7vekdVcWS%2Fimage.png?alt=media&amp;token=19bdf1cc-bb86-4883-b611-914eaf83631a" alt=""></div>

In this example, I will try to create a variant sequence for the same songs.

<div align="left"><img src="https://32629026-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M76iL7-CNlRUwW2lAqS%2F-M7GUqX8guWQXnUw6h57%2F-M7GYckpSZzQkAmce-we%2Fimage.png?alt=media&amp;token=6e9d1105-4208-4ec3-84c4-3ca4ba571131" alt=""></div>

After creating the `SongItem`, fill in the bpm and drag in the relative `AudioClip`

<div align="left"><img src="https://32629026-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M76iL7-CNlRUwW2lAqS%2F-M7GUqX8guWQXnUw6h57%2F-M7GYgEqVJ8g2s401d_8%2Fimage.png?alt=media&amp;token=6ccc34af-d186-4d3c-a073-421ebd2712f6" alt=""></div>

### Editing the `SongItem`

Double-clicking on the `SongItem` asset or by clicking the Edit notes button, the Sequence Editor will appear.

<div align="center"><img src="https://32629026-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M76iL7-CNlRUwW2lAqS%2F-M7GYwLHzSc_iFYC02zm%2F-M7GZZCt4noYqOVDqzh1%2Fimage.png?alt=media&amp;token=a3e626fd-a612-4664-b687-1cbfc0e54a48" alt=""></div>

Similar to step sequencing, by clicking on each beat, it will turn green and a beat will be created.

<div align="center"><img src="https://32629026-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M76iL7-CNlRUwW2lAqS%2F-M7GYwLHzSc_iFYC02zm%2F-M7GZj8TsF3qYrS5Kdtw%2Fimage.png?alt=media&amp;token=2adc84bf-05da-49d2-b699-94dcb270eaa4" alt=""></div>

And if you now play the game using the new `SongItem` we just created, you will see the note appeared as our sequence in the editor.

<div align="center"><img src="https://32629026-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M76iL7-CNlRUwW2lAqS%2F-M7GYwLHzSc_iFYC02zm%2F-M7GZySloT2OPeoRrJsA%2Fimage.png?alt=media&amp;token=3950c61b-a9ec-48ca-b8a8-3eeaf3646c1c" alt=""></div>

### Better Beat Editing

To preview and edit the beat faster, you can toggle the Play/Pause using the Space bar shortcut when focused on the Sequence Editor, and by clicking on the scale area, you can jump the play head to specific beat if needed.

<div align="center"><img src="https://32629026-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M76iL7-CNlRUwW2lAqS%2F-M7GYwLHzSc_iFYC02zm%2F-M7G_4szwJ0vGnnFaeBk%2Fimage.png?alt=media&amp;token=8f9c6aa5-bbee-4c35-a55b-c7531024f373" alt=""></div>

### Performance Note

{% hint style="warning" %}
Sometimes using the Good Latency in the editor will give you a better audio previewing experience, since there will be Audio overhead for the Unity editor. You can temporarily switch between the DSP Buffer Size to prevent the lagging audio in the editor. While for runtime \[Build], it is better to switch back to Best Latency!
{% endhint %}

<div align="center"><img src="https://32629026-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76iL7-CNlRUwW2lAqS%2Fuploads%2FjUCeetU7eBLfw1GYoYEy%2Fimage.png?alt=media&amp;token=030a6cef-096d-4450-8c37-d0d3abd60069" alt=""></div>
