Skip to main content

Module sfx_impact

Module sfx_impact 

Source
Expand description

xil sfx-impact โ€” which source-backed cues are clipped short by duration_seconds, and by how much. Port of XILU021_sfx_impact.py.

Structsยง

Args ๐Ÿ”’
CueImpact
One source-backed cue measured against its file on disk.
ImpactReport

Constantsยง

CSV_COLUMNS ๐Ÿ”’
HTML_CSS ๐Ÿ”’
MINOR_S ๐Ÿ”’
NOCHANGE_S ๐Ÿ”’
Tier thresholds in seconds of lost audio.
SCRIPT_NAME ๐Ÿ”’
TIERS

Functionsยง

analyze
as_float ๐Ÿ”’
float(x) on a config value the way Python would coerce it.
classify_placement
Where a cue sits in the mix, from its key.
command
The clap definition behind --help, for man pages.
discover_configs
Sorted (show, episode, path) for every sfx_<tag>.json in scope.
execute ๐Ÿ”’
filter_tier ๐Ÿ”’
generated_stamp ๐Ÿ”’
datetime.now().astimezone().strftime("%Y-%m-%d %H:%M %Z").
log_summary ๐Ÿ”’
measure_cue
Measure one entry; None when it has no source.
mutagen_probe ๐Ÿ”’
render_html ๐Ÿ”’
run
tier_class ๐Ÿ”’
tier_for ๐Ÿ”’
tz_abbreviation ๐Ÿ”’
%Z as C strftime spells it (EDT, UTC). chrono only knows the numeric offset, so ask date, and fall back to the offset.
write_csv ๐Ÿ”’

Type Aliasesยง

DurationProbe
Duration probe: path โ†’ milliseconds, or the Python exception name.