Hello @Vitalii Rentiuk , Thanks for using Microsoft Q&A Platform.
If you are working with SDK then the supported audio formats are listed in the sample GitHub repository. Here are the supported formats with python SDK:
To learn more about how to use the Audio file as input here is the reference sample code: https://github.com/azure-samples/aoai-realtime-audio-sdk
Is this something you are looking for?