from pathlib import Path
import random


def get_wav_files(data_dir: Path):
    """
    Get all *.wav files in the data directory.
    """
    files = sorted(data_dir.glob("*.wav"))
    random.Random(42).shuffle(files)
    return files