In the iOS 12.2 beta, Apple has improved the quality of the audio messages sent in the Messages app after switching to a new Opus codec at 24000 Hz, up from the previously used AMR codec at 8000 Hz.
Audio and Video files are always encoded in a particular file format to optimize the quality. While most of the audio files are MP2, there is also a possibility that some might come in Windows Media ...