Skip to main content

Module session

Module session 

Source
Expand description

Session save/load — .phos file format.

Serializes the full project state to a human-readable JSON file. Atomic writes (tmp + rename) prevent corruption.

Structs§

SessionClip
SessionFile
SessionNote
SessionSelector
One discrete control, stored by what it selects.
SessionTrack
SessionTransport

Constants§

FORMAT_VERSION
Current .phos format version.

Functions§

apply_selectors
Point the selectors in params at the positions the session stored.
instrument_key
The stable on-disk spelling of an instrument type.
load
parse_instrument_type
Get the InstrumentType from a session track string.
save
selectors_of
Every selector on params, as the position it is pointing at.
session_notes_to_snapshots
Get the notes for a clip as NoteSnapshots.