You can set up an AWS Lambda function with an S3 trigger that runs FFMPEG to convert uploaded audio files (.mp3, .m4a, .gsm, etc.) to .wav and saves them back to S3. This works best for small to medium audio files.