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§
- Session
Clip - Session
File - Session
Note - Session
Selector - One discrete control, stored by what it selects.
- Session
Track - Session
Transport
Constants§
- FORMAT_
VERSION - Current
.phosformat version.
Functions§
- apply_
selectors - Point the selectors in
paramsat 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.