using Union 1.0h+ you can use vorbis encoded audio files (.ogg), but Union only understands a specifig vorbis encoding
(Returning 2.0 / AB already uses *.ogg files for it's Speech)
Encoded using "Oggenc2.88 using libVorbis v1.3.7 - aoTuVb6.03 (Lancer Builds)" from "https://www.rarewares.org/ogg-oggenc.php"
Code:
Audio
ID : 21761 (0x5501)
Format : Vorbis
Format settings, Floor : 1
Duration : 2 s 453 ms
Bit rate mode : Variable
Bit rate : 48.0 kb/s
Channel(s) : 1 channel
Sampling rate : 44.1 kHz
Compression mode : Lossy
Stream size : 14.4 KiB (68%)
Writing library : Lancer
bash script that transforms all *.WAV files in the directory (ran with git-bash, or any shell interpreter you like)
all the original soundfiles are uppercase and linux/bash is case sensitive so adjust *.WAV accordingly
requirements: ffmpeg (in $PATH) and oggenc2 from said link.
Code:
#!/bin/bash
mkdir done
for f in `dir *.WAV`;
do ffmpeg -y -i "$f" -f WAV test.wav \
&& ./oggenc2.exe --resample 44100 -q 0.5 test.wav \
&& mv "$f" done \
&& mv test.ogg "$f" \
;
done