This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import soundfile as sf | |
import numpy as np | |
from tqdm import tqdm | |
def combine_audio_files(files: list[str]) -> tuple[np.ndarray, int]: | |
""" | |
Combines multiple audio files into one by overlaying them. | |
Parameters: |