#!/bin/bash
# Needs work/clips/c01..c30.wav (FLEURS en_us, 16 kHz mono, -23 LUFS; not redistributed here, see sample.tsv for the ids) and work/v from mkvariants.sh.
# Then: bash report.sh > test-results.txt
cd "$(dirname "$0")"; W=work
node asr-run.cjs base English results/base_wav_control.json $W/clips/c*.wav
for k in 128 64 32 16; do node asr-run.cjs base English results/base_mp3_$k.json $W/v/c*_mp3_$k.mp3; done
node asr-run.cjs base English results/base_wav_rerun.json $W/clips/c*.wav   # determinism check: second WAV run
