Android Question Splitting audio into timecodes?

wonder

Expert
Licensed User
Longtime User
Hi!!

I have an mp3 file with multiple sound effects, separated by ~300 milliseconds of silence.

How would you guys suggest a way of obtaining the timecodes (in milliseconds) of each sound effect?

I wanna end-up with something like this (key names by user input):
B4X:
'JSON
{
    "Whoosh": {
        "Start": "830",
        "Stop": "2121"
    },
    "Boom": {
        "Start": "2256",
        "Stop": "4765"
    },
    ...
}
 

Cableguy

Expert
Licensed User
Longtime User
Maybe by using the fft lib? it is used to create sound wave (equalizer) représentations… then its a mater of "detecting" the silence...
 
Upvote 0
Top