mirror of
https://github.com/3b1b/manim.git
synced 2025-04-13 09:47:07 +00:00
10 lines
287 B
Python
10 lines
287 B
Python
from manimlib.utils.file_ops import find_file
|
|
from manimlib.utils.directories import get_sound_dir
|
|
|
|
|
|
def get_full_sound_file_path(sound_file_name) -> str:
|
|
return find_file(
|
|
sound_file_name,
|
|
directories=[get_sound_dir()],
|
|
extensions=[".wav", ".mp3", ""]
|
|
)
|