Skip to main content

Module clip

Module clip 

Source
Expand description

MIDI clip: a sequence of timestamped MIDI events on a timeline.

Clips are owned by the audio thread for recording and playback. The UI receives read-only snapshots via a channel.

Structsยง

ClipEvent
A single MIDI event within a clip, positioned by tick.
ClipSnapshot
A read-only snapshot of clip data, sent from audio thread to UI.
MidiClip
A recorded MIDI clip.
NoteSnapshot
A note for display in the piano roll.
RecordBuffer
Accumulates MIDI events during recording, then commits to a MidiClip.