"""General utilities.""" import os def get_audio_name_from_path(file_path: str) -> str: return os.path.splitext(os.path.basename(file_path))