I'm trying to find a library for Php or Python that could process audio files. I need to loop through recorded phone calls and process them to remove those that have some specific pattern eg beep tone only instead of human voice. I think it would be possible by comparing samples of amplitudes in audio file. Are there any libraries you know of that could help?
Thanks!
Python comes with the standard library wave module that can load and parse.wav files; detecting beep tones is probably a little harder than you think, but not prohibitively difficult.
Audiolab is a python library which can load AIFF, AU and WAV files directly into a numpy array.
It is likely that audio containing only beep tones will have a fairly simple power spectrum , which can be obtained from the audio array using numpy.fft
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.