Skip to content

Instantly share code, notes, and snippets.

@kiselecheck
kiselecheck / MoisesDB.py
Last active November 21, 2024 20:23
MoisesDB_converter
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: