Cum imi imaginez eu ca ar functiona aceasta aplicatie:
1. incarcare fisier audio
2. detectare bpm si durata
3. in baza unor calcule obtinem doua valori "a" si "b"
4. preluare dintr-un director aflat pe server a unui anumit numar de fisiere video (stabilit de valoarea "a") si taierea lor la o durata stabilita de valoarea "b"
5. lipirea fisierelor video rezultate alaturi de fisierul audio incarcat initial
i need a app, browser-based one, here's how i imagine this thing:
1. user upload an audio file
2. the app detect bpm and length
3. with these two we make some calculations and we get two numbers "a" and "b"
a = length / b
b = 60 / bpm * 4
4. the app takes from a directory located on the server some video files ( number of files is set to the value "a" ) and cutting them to a length determined by the value "b"
so for a audio file with length 60 sec. and bpm 130 the app need to take ~33 = "a" video files with length 1.84sec = "b" and mix them together
5. mixing the resulting video files with audio file initially uploaded