Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
python audio analysis
#1
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-D3...sp=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-D3...sp=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.
Reply
#2
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.
Reply
#3
(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.
Reply
#4
https://github.com/librosa/librosa

https://www.topcoder.com/thrive/articles...ing-python
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  error python audio codiac 3 4,199 Mar-30-2023, 03:12 PM
Last Post: deanhystad
  Adding variable to Python code - media sentiment analysis Marietje 3 2,573 May-25-2021, 05:15 PM
Last Post: jefsummers
  Real Time Audio Processing with Python Sound-Device not working Slartybartfast 2 4,021 Mar-14-2021, 07:20 PM
Last Post: Slartybartfast
  Adanced Image Analysis with Python for reflecting surfaces domonkasshu 3 3,019 Jan-03-2021, 11:28 AM
Last Post: Larz60+
  Handling multi-input/output audio in python bor1904 4 3,621 Nov-04-2020, 08:25 AM
Last Post: CHLOVRL
  Accessing IP Cam Audio In Python Haselsmasher 1 5,485 Jul-10-2020, 02:59 AM
Last Post: kiliantics
  How to do real-time audio signal processing using python Zenolen 7 16,634 Nov-04-2019, 02:57 AM
Last Post: jefsummers
  How to get the duration of AMR audio file using python Prince_Bhatia 0 2,264 Aug-12-2019, 05:58 AM
Last Post: Prince_Bhatia
  Python Idea Assist.: BerryIMU & Raspberry Pi 3 Audio Mapping StephLeber 0 2,300 Dec-09-2018, 10:43 AM
Last Post: StephLeber
  Play Audio File w/ Python ducky_12 8 4,655 Sep-30-2018, 08:54 AM
Last Post: wavic

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020