soundchaser128 / clip-mash

Generates compilation videos semi-automatically
GNU General Public License v3.0
58 stars 9 forks source link

Alternative clip transition based on volume possible? #79

Open lushplug opened 7 months ago

lushplug commented 7 months ago

Amazing project, thank you so much!

I had a request, if you take them, is it possible to add alternative ways to calculate clip transitions? Currently it's worked out with beats, is it possible to use volume/loudness or some combination of beats and volume/loudness?

E.g. calulate the mean change/difference in volume for the whole track then create a clip transition once the volume passes a user defined Stdev above the mean difference.

There's an old, unsupported, pmv maker that had this feature but way less other features than clip-mash. There's a super early version that's still on GitHub that might help if you're interested in adding this - I found it useful to create decent PMVs quickly.

https://github.com/AutoPMVs/PMV_Generator_Prod

https://github.com/AutoPMVs/PMV_Generator_Prod/blob/3bec9f0163bcdc6ec632d275a552c4c32ab61257/PMV_Fns/processMusicFile.py

Thanks again you legend.

👍

soundchaser128 commented 7 months ago

Thanks for the nice comment!

I had a request, if you take them, is it possible to add alternative ways to calculate clip transitions? Currently it's worked out with beats, is it possible to use volume/loudness or some combination of beats and volume/loudness?

I'm always open for ideas, and yeah, this sounds doable. Maybe the library I'm using to detect beats already has that feature, I'll have to check.