Skip to main content

MIDI Clip Splitting

Three MIDI tracks from one file, played with SoundFont samples. Click inside a clip to select its track and put the playhead there, then press S to split the clip at the playhead. Cmd/Ctrl+Z undoes a split.

Loading...

About This Example

This example demonstrates:

  • Splitting a MIDI clip with <KeyboardShortcuts clipSplitting />, and undoing it with the undo shortcuts or the Undo button
  • Clip headers (<WaveformClipHeaders />), which show where one clip ends and the next begins
  • Both halves of a split keep the clip's notes, channel and program; each half plays and draws the notes inside its own range. A note that crosses the split is played by both halves: the left half releases it at the split and the right half strikes it again there (a SoundFont sample that does not loop, such as a piano, rings on past the split)

Keyboard Shortcuts

  • S: split the clip under the playhead on the selected track
  • Cmd/Ctrl+Z: undo; Cmd/Ctrl+Shift+Z: redo
  • Space: play or pause; Escape: stop; 0: back to the start