Skip to main content

Module sfxlib

Module sfxlib 

Source
Expand description

Shared SFX library naming โ€” the text half of sfx_common.py.

Constantsยง

MAX_SLUG_LEN ๐Ÿ”’
Filesystem max is 255 bytes; leave room for .mp3 + collision suffix.

Staticsยง

MULTI_DASH ๐Ÿ”’
NON_SLUG ๐Ÿ”’

Functionsยง

shared_sfx_path
Shared library path for an effect key. The default backend keeps the plain historical filename; any other backend gets a .<backend> infix.
slugify_effect_key
Direction text โ†’ filesystem-safe slug.