async function prepareAudios(audios, sampling_rate) {
    if (!Array.isArray(audios)) {
        audios = [audios];
    }

    return await Promise.all(audios.map(x => {
        if (typeof x === 'string' || x instanceof URL) {
            return read_audio(x, sampling_rate);
        } else if (x instanceof Float64Array) {
            return new Float32Array(x);
        }
        return x;
    }));
}
Prepare audios for further tasks.
@param {AudioPipelineInputs} audios audios to prepare.
@param {number} sampling_rate sampling rate of the audios.
@returns {Promise<Float32Array[]>} The preprocessed audio data.
@private