> For the complete documentation index, see [llms.txt](https://manual.xlights.org/xlights/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://manual.xlights.org/xlights/chapters/chapter-four-sequencer/timeline-and-waveform.md).

# Timeline and Waveform

## Timeline and Waveform

The top section of the display window is the Timeline section and indicates the scale that the waveform and sequencer is displaying.

![](/files/sFt3g6jBK2ogo5GFp8vF)

You can select an area on the timeline – depicted by the arrows - and you can then play that section once independent of the section highlighted to be played on the waveform. At the end of playing that section, the highlighted arrows disappear, leaving the waveform highlight to be played. Clicking anywhere in the timeline or highlighting an area in the timeline initiates auto play, without losing the waveform selection.

![](/files/F5e8yVmLcy46V9Y7Qwm5)

The waveform displays a sonographic representation of the audio portion of the media that has been associated with the sequence.

![](/files/742Hu6zbmqLfvSjsXHvE)

### Zoom in and Zoom out

You can control the focus of the waveform.

![](/files/-LbzzC0heYARTV-3D-44)

* Zoom in on the waveform by double clicking on the waveform. Keep double clicking until you've got a zoom setting you can use. Or click on the ‘+’ button.
* To zoom out, hold the shift key and double click on the waveform or click on the ‘-‘- button.
* Click the edge of an effect, hold down control and use the mouse scroll wheel to go in or out.
* The timeline can be zoomed out far enough to show effects that lie beyond the end of the sequence duration, so any effects left past the end of a shortened sequence stay visible and reachable.
* Right-click the timeline to reset the zoom level.

![](/files/jsIJz7ISG8tTgZbjrBa8)

When a sequence is opened, the timeline is automatically fitted so that the full sequence fits the width of the sequencer viewport.

### Scroll Left/Right

Click on the waveform. Then hold down the Shift key and use the scroll key of the mouse to move the waveform and grid left or right.

![](/files/F5e8yVmLcy46V9Y7Qwm5)

When playing the sequence, a vertical line indicates the start position and another vertical line extending right through the grid indicates where the audio being played current is

The time counter displays the time from the beginning of the sequence that the current position is up to. The FPS value displays the Frames Per Second that the sequence is outputting the data at.

![](/files/sTz3USltHA4KQimiRzGU)

You can highlight a range on the waveform to play only that section. If you move your cursor on the waveform towards either edge of the highlighted area, a ‘hand’ appears and you can use that to move the edge.

* If the Pause button is selected, and then pressed again, the sequence will restart from the current position that it stopped at.
* If after a Pause, if the Play button is pressed, then the sequence will restart from the marked ‘start position’.
* Clicking on the Stop button will reset the start position to the beginning of the sequence.
* After Stop has been pressed the Rewind button will start from the beginning of the sequence and the fast forward button will play from the last component of the sequence.
* Highlighting a portion of the waveform will cause only that section to be played. Pressing the spacebar will replay that section.
* The ‘Replay’ button will replay the highlighted section of the waveform. It will start from the beginning of the highlighted area and when it reaches the end of the area , will loop back to play from the beginning of that area.

![](/files/-LZS6HZD4_j3E9uWj2xq)

Clicking on an effect in the grid will not alter the waveform area that has been highlighted to be played. The effect becomes the focus point, if you zoom in and out, but the play range does not change. If you do want the start position to move to where your effect is, or to be based on the edit position in the grid, then double click in the grid and that will then remove any highlighted position/area in the waveform and set the start position in line with where you have double clicked.

To scroll Left/ Right, click in the grid. Then hold down the Shift key and use the scroll key of the mouse to move the grid left or right.

### Time Display Format

The timeline can show time either as minutes:seconds:milliseconds or as seconds + milliseconds, so you can work in whichever format suits the sequence.

### Audio Scrubbing

Hold the Ctrl key down and placing the mouse on the waveform, click and hold the mouse left button down and and drag it across the waveform.

![](/files/9Usky06jTqvYGrH9lanl)

The audio will be played as you scrub the line. Therefore you can play a small section again and again, backwards and forwards so as to identify a particular note inflection, timing mark or a word of a lyric.

### Waveform Display Options

Right-clicking on the waveform offers a range of alternative ways to view the audio, which can make timing work easier on different kinds of material:

* **Filters** that change how the peaks are drawn - for example an RMS energy band overlaid on the peaks, a perceptual (LUFS) loudness view, and vocals / non-vocals centre-extract views. On macOS, machine-learning stem separation can split the mix into Drums, Bass, Other and Vocals so you can both see and hear just one part of the track.
* **View as spectrogram** replaces the peak display with a log-frequency magnitude view of the audio.
* **Show Onsets** overlays markers at detected percussive onsets, and **Show Pitch Contour** overlays a colour-coded pitch-versus-time line that is useful for vocal and melody timing.

The waveform and the audio you hear both follow the option you pick, so (for example) choosing a vocals stem lets you listen to just the vocal line while you set timing marks. The first time a machine-learning stem filter is used you are prompted to download the model into an `ai-models` folder in the show or media folder; later uses are instant. Some options are only available on certain platforms.

### Timeline Tags

![Red Boxes Highlight Timeline Tags](/files/-Lac3LILp1P36I5K2jFb)

Timeline Tags allow the user to create "bookmarks" or "shortcuts" on timeline numbered 0-9. You can then type CTRL + 0-9 to scroll the timeline to the numbered tag's location. To add a timeline tag right-click on the timeline at the desired timing location and select a number 0-9. Numbers with check-marks already have tags placed on the timeline. You can reuse a tag with a check-mark but the previous location will be overwritten.

![](/files/-Lac-yhn1m2KYULwImDb)

To delete a timeline tag Right Click on the timeline and Select Delete and then the number of the tag you want to remove.

![](/files/-LacWzpoqdYDrPZlUJxo)
