MTG / essentia

C++ library for audio and music analysis, description and synthesis, including Python bindings
http://essentia.upf.edu
GNU Affero General Public License v3.0
2.82k stars 527 forks source link

Question: Realtime Beatdetection with python #595

Open simonfritz opened 7 years ago

simonfritz commented 7 years ago

Hi, i want to build a realtime Beatdetection with essentia in python. I used Onsets (hfc) but i have a latency of 140ms for each onset. Is there a way to get quicker a probable Beat?

Thx for help =)

dbogdanov commented 7 years ago

Have you tried using SuperFluxExtractor instead?

SimonF89 commented 7 years ago

not jet. Is it faster then Onsetdetection?

Ill check it after work today =)

SimonF89 commented 7 years ago

oh this is only for streamingmode...

May you can show me how i have to use the vectorinput in streamingmode? I use pyaudio to get the audiostream from microphoneinput and i need to connect the audio-stream from pyaudio to the essentia-Network.

Thank you in advance =)

shiyamon commented 6 years ago

A similar question here. I am trying SuperFluxExtractor in C++ with Standard mode. I set audio buffer from microphone to "signal" input of the algorithm but the result of computation returns 0 size vector. Is it possible to use SuperFluxExtractor with realtime audio buffer or do I miss something?