You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
algorithm idea:
1 detect and count audiolinks
2 if multiple, go to first one, check parent tag (A)
3 check siblings of A if they contain audiolinks, if so A is the looping tag
4 if not go up one parent tag (B), repeat steps 3 and 4 until looping tag is detected
5 count if audiolinks match initial number (use fuzzy logic, like if over 90%), if so then stop looping
6 for each loop extract audiolink and labels as text inside children of looping tag or text inside attributes of the audio player (html5 audio tag)
The text was updated successfully, but these errors were encountered:
In order to get significant labels for audio a HTML loop detector should be employed. Below some examples
http://www.nemoapps.com/phrasebooks/cantonese - audio link -> audio -> td -> tr -> tbody (looping on tr)
https://sound-effects.bbcrewind.co.uk/search?cat=Nature - audio link -> audio -> div -> ... -> div (looping on div, responsive design)
https://freemusicarchive.org/home - audio link -> div while labels are inside looping div children tags
algorithm idea:
1 detect and count audiolinks
2 if multiple, go to first one, check parent tag (A)
3 check siblings of A if they contain audiolinks, if so A is the looping tag
4 if not go up one parent tag (B), repeat steps 3 and 4 until looping tag is detected
5 count if audiolinks match initial number (use fuzzy logic, like if over 90%), if so then stop looping
6 for each loop extract audiolink and labels as text inside children of looping tag or text inside attributes of the audio player (html5 audio tag)
The text was updated successfully, but these errors were encountered: