Skip to main content

Module stems

Module stems 

Source
Expand description

Stem filename conventions, shared by the migrator, the cleanup pass and (later) the mixer. Port of the naming helpers in mix_common.py and XILP007_stem_migrator.py.

Functions§

entries_index
{seq: entry} index over a parsed script’s entries.
expected_stem_basename
{seq:03d}_{section}[-{scene}]_{speaker|sfx} — the stem basename for a parsed entry, with no extension.
extract_seq
Sequence number from a stem filename. Legacy preamble stems used an n prefix for negative seqs and are still parsed.