Python Forum
python audio analysis - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: python audio analysis (/thread-36458.html)



python audio analysis - kiyoshi7 - Feb-21-2022

Hi, I have a small project where I have a mechanical clock and I record it ticking (pic below) and I would like to be able to identify the tick first just to find the average time between tics and average beat error and etc. I know of libraries like PyAudioAnalysis and Mutagen but I dont know how to find/isolate the tics seeing as the signal is always slightly different.

here is a picture of the audio (audacity)
https://drive.google.com/file/d/1LhXn-D34-4WZDDSlsOkSedGTfgmcjyNK/view?usp=sharing
[Image: view?usp=sharing]

here is one tic, isolated, like I want to do after I can isolate the tics
https://drive.google.com/file/d/1LhXn-D34-4WZDDSlsOkSedGTfgmcjyNK/view?usp=sharing
[Image: view?usp=sharing]

I have no idea how to work with audio, can someone point me in the right direction to be able to extract the data I want from the audio file? I know the frequency of the clock so I have a way to know if I am getting the right results.


RE: python audio analysis - Larz60+ - Feb-22-2022

There is one package that I have never used, but can be trained to recognize sound.
You will have to investigate and experiment package is called keras-ding
There are probably others, go to PyPi and search

Also search for audio samplers.


RE: python audio analysis - kiyoshi7 - Feb-22-2022

(Feb-22-2022, 02:11 AM)Larz60+ Wrote: There is one package that I have never used, but can be trained to recognize sound.
You will have to investigate and experiment package is called keras-ding
There are probably others, go to PyPi and search

Also search for audio samplers.

thanks I'll look into keras-ding and an audio sampler.


RE: python audio analysis - Axel_Erfurt - Feb-22-2022

https://github.com/librosa/librosa

https://www.topcoder.com/thrive/articles/audio-data-analysis-using-python