New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Detect BPM using ffmpeg/soundstretch #1331
Comments
Two thoughts:
|
I am confident that the soundtouch library will be working for age, the project using it would not let it die (https://www.surina.net/soundtouch/applications.html). If the soundstretch binary is not the right tool for us, we could pick another one or create our own. But I don't see any problem at the moment.
I agree that getting BPM from a 2 hour show, or 1 hour audio mix doesn't make much sens, this is more useful when working with a lot of music tracks, so this could simply be limited to music tracks smaller than 15 minutes (should be configurable). I am no expert, but I thought that bpm detection software would need to work with raw audio anyway ? We are are just seeing this step compared to other software. |
Or tracks uploaded as a specific track type (default to Music) |
Also, ideally the bpm detection should be done while tagging the audio library before upload, so we could also skip track with existing BPM tags. But I think the feature is nice-to-have. |
This issue has been automatically marked as stale because it has not had activity in the last 5 months. It will be closed if no activity occurs in the next month. |
The analyzer could analyze bpm for those who need it, I have a working script below:
soundstrech is based on the soundtouch library which seem broadly used.
We simply need to convert the audio files to pcm and we can analyze it using soundstretch.
I will propose a Draft PR soon with this new analyzer. But I will probably do some large changes to the analyzer so it won't land in v3.
Ref: http://www.surina.net/soundtouch/
The text was updated successfully, but these errors were encountered: