Skip to main content

Module daw

Module daw 

Source
Expand description

xil daw โ€” export an episode as five aligned DAW layer WAVs, Audacity label tracks, an import helper script and a timeline. Port of XILP005_daw_export.py.

Structsยง

Args ๐Ÿ”’
Ctx ๐Ÿ”’

Constantsยง

LAYERS ๐Ÿ”’
(key, filename suffix, description) for each layer.
SCRIPT_TEMPLATE ๐Ÿ”’
SCRIPT_TEMPLATE_AUP3 ๐Ÿ”’
SILENCE_GAP_MS ๐Ÿ”’

Functionsยง

audacity_config_dir ๐Ÿ”’
_audacity_config_dir: %APPDATA%/audacity, via cmd.exe + wslpath on WSL.
command
The clap definition behind --help, for man pages.
command_output ๐Ÿ”’
derive_vintage_scenes_from_parsed ๐Ÿ”’
derive_vintage_scenes_from_parsed(parsed_path).
dry_run_daw ๐Ÿ”’
dry_run_daw(...).
execute ๐Ÿ”’
export_daw_layers ๐Ÿ”’
export_daw_layers(...).
export_labels ๐Ÿ”’
export_layer ๐Ÿ”’
find_audacity_macros_dir ๐Ÿ”’
fmt_pct_1 ๐Ÿ”’
fmt_secs ๐Ÿ”’
fmt_vol ๐Ÿ”’
generate_audacity_macro ๐Ÿ”’
generate_audacity_macro(...) โ€” None when there is no Macros directory.
has_audacity4 ๐Ÿ”’
detect_audacity_generations() โ€” does this machine have Audacity 4 config?
layers_repr ๐Ÿ”’
repr(layer_files) for a list of (str, str) tuples.
macro_slug ๐Ÿ”’
make_audacity_script ๐Ÿ”’
_make_audacity_script(tag, layer_files, save_aup3, show).
run
speaker_filter_lines ๐Ÿ”’
to_windows_path ๐Ÿ”’
validate_tag_for_script ๐Ÿ”’
_validate_tag_for_script โ€” tags are pasted into generated Python.
write_labels ๐Ÿ”’
_write_labels: tab-separated start, end, text.
write_timeline_outputs ๐Ÿ”’