# The Song Editor

The timeline — tracks, clips, automation, snapping and the master track.

Source: https://zenestudio.org/docs/interface/song-editor

Markdown version of the Zene Studio page at https://zenestudio.org/docs/interface/song-editor. For a map of the whole site, see
https://zenestudio.org/llms.txt.

---
The Song Editor is the timeline: it is where a project becomes an arrangement.

## Tracks

A track holds content of one kind — audio, MIDI, a beat/bassline pattern, a plugin — and appears as
a horizontal lane running the length of the song.

Track types matter because they determine what the track can hold and how it is edited:

| Track type | Content | Edited in |
| --- | --- | --- |
| MIDI track | Notes | Piano Roll |
| Beat/Bassline track | Step patterns | Beat/Bassline editor |
| Audio track | Recorded or imported audio | Waveform editor |
| Instrument track | A plugin generating audio | Its own parameters |

:::note
**Recording into an audio track is a prototype** — see [Recording](/docs/audio/recording). Tracks
and arrangement are otherwise solid.
:::

## Clips

Clips are the blocks of content on a track. Each has a position, a length, and content from the
track's own editor. Moving, splitting, trimming and duplicating clips are all core operations.

Several clip capabilities exist but are **not yet reachable from the interface**, among them clip
fades, clip gain, freeze and bounce-in-place. They are driven over the socket.

## The time ruler and snapping

The ruler along the top shows bars and beats. **Snapping** constrains movement to that grid, which is
what keeps an arrangement tight; turn it on whenever you are moving many clips at once, and off for
free placement of something deliberately off-grid.

The project **tempo map** governs the grid. See the tempo map documentation in the application
repository for how tempo changes are represented.

## Automation

Every automatable parameter can have an automation track. Draw it in the automation lane beneath a
clip, and the value follows the curve during playback.

Automation has **modes**, and the mode matters:

- **Read** — the recorded curve is followed during playback.
- **Touch** — touching a control takes over from the recorded curve, and the change is written back.

Switching a parameter's mode is drivable over the socket (`automation.mode_set`).

:::warning
**Clip fades and automation ramps are socket-only** in this release. The curve model is sample-accurate
and tested; the drawing and editing interface is not there. See
[known limitations](/docs/known-limitations).
:::

## The master track

The master track runs the length of the arrangement and defines the song's global timeline. Anything
you want to apply to the whole song — and nothing else — belongs on it.

## Common tasks

| Task | Where |
| --- | --- |
| Change the overall tempo | The tempo toolbar, or the tempo map |
| Tighten timing | Snap, then nudge in small increments |
| Layer two bass parts | Two tracks, blended with a mixer VCA — socket only |
| Fade a clip in | Clip fades — socket only in this release |
| Record a new part | Prototype; see [Recording](/docs/audio/recording) |