Detect beat and play (wav) file in a synchronised manner

前端 未结 3 1936
南旧
南旧 2021-01-03 09:11

I am trying my hands at Audio Processing in python with this Beat Detection algorithm. I have implemented the first (non-optimized version) from the aforementioned article.

3条回答
  •  借酒劲吻你
    2021-01-03 10:11

    A good bet would be to try portaudio (pyaudio) to get the data live, then you should be able to see if it matches.

    Here's a nice example using fft from the mic with pyaudio:

    http://www.swharden.com/blog/2010-03-05-realtime-fft-graph-of-audio-wav-file-or-microphone-input-with-python-scipy-and-wckgraph/

提交回复
热议问题