arecord in a larger script to capture each mic individually during a live sound gig:
# Start recording
echo Recording to "$REC_PATH"
arecord --device=hw:CARD=X18XR18,DEV=0 --channels=18 --file-type=wav --format=S32_LE --rate=48000 --buffer-time=20000000 --max-file-time 300 "$REC_PATH/all_tracks.wav" &
This works, but it gives me an 18-track WAV file that has to be split at regular intervals to keep the file size within spec. (5 minutes per above, resulting in 1GB per file)
My other question asks how to avoid this step in the future, but given that I already have the sequential 18-track files from this gig, is there a tool to concatenate each of those 18 tracks into its own single-track WAV file? (If it has to split that because of the file size, that's fine, but if one track of the entire gig fits into one file, it should do that.)
Technically, I could use Audacity, which I already have, but its procedure is entirely manual. So with ~50GB to sort through, I really want something that can be started and left alone.