Steps: We need to install PyAudio library which used to receive audio input and output through the microphone and speaker. Basically, it helps to get our voice through the microphone. 2. Instead of audio file source, we have to use the Microphone class. Remaining steps are the same. Convert audio file to srt. i want to make app that make subtitle for videos i extract audio file as following. import sys from moviepy.video.tools.subtitles import SubtitlesClip from moviepy.editor import * video = VideoFileClip (sys.argv [1]) audio = video.audio audio.write_audiofile () and i converted it to text but i want to record the time Ffmpeg. First install ffmpeg, a free reliable software to manipulate audio and video.We’ve talked about this software a loto of times in this blog. In combination with Python is very powerful and handy to use, once you understand how it works, being it just a command line interface software. Hi all, In my application i want to convert audio file which is in the form of .amr file to .wav file using c#. How to do that? Thanks in advance. I can pick the associated mp3 file from backend storage, the problem is converting it into an array which I can serve to the front-end api. I have tried several methods but none seem to be working. I tried this How to read a MP3 audio file into a numpy array / save a numpy array to MP3? which leaves my computer hanging until I forced it to You can use your package manager to do that. from os import path from pydub import AudioSegment # files src = "transcript.mp3" dst = "test.wav" # convert wav to mp3 sound = AudioSegment.from_mp3 (src) sound.export (dst, format="wav") Check this link for details. I am using python with pyav, ffmpeg to decode mp3 in the memory. I know there is some other way to do it, like the pipe ffmpeg command. However, I would like to explore pyav and ffmpeg API. So I ha 1 Answer. There are existing tools to convert an ABC file to a WAV file, but remember that the formats represent fundamentally different information: ABC is a shorthand musical notation and WAV is an audio format. You need additional performance information (like instruments) to turn notation into sound. kemEW.