Derryck wrote:... using .ogg instead. Could this happen in openBVE?
You already can!
As it happens, the sound fies in the packaged .deb XCS and Class 323 versions included in Ubuntu are in Vorbis. They're recompressed from the "source" wave files at package build time, in order to cut the subsequent download by about 10MB; Note that you may need to play with the noise cutoff threshold during encoding, to ensure that the character of the
intentional noise in the engine hum and thunder rumbles is not lost.
And just as with lossy JPEG images, remember to keep the lossless master versions around for editing, and only compress them at the last step (as above in the package build process).