Extracting the choruses of over 200 songs

51 views
Skip to first unread message

sloth

unread,
Feb 3, 2025, 4:04:29 PMFeb 3
to librosa
I am trying to mass extract the choruses of over 200 songs. Is there a tool in Librosa to detect repeated patterns and execute code to automatically cut it?
New to python + librosa

Brian McFee

unread,
Feb 3, 2025, 4:17:31 PMFeb 3
to librosa
Librosa doesn't exactly have a prepackaged method to do this, but it does provide building blocks for this sort of thing.

You might want to check out the msaf package: https://msaf.readthedocs.io/en/latest/


Note that neither will identify "chorus" for you - they will at best provide a segmentation with labels like "A" "B" "C" for each time interval.  It will be up to you to then determine which time interval is likely to correspond to a "chorus" section; doing this automatically is the topic of currently ongoing research, see eg https://hal.science/hal-04764247/document
Reply all
Reply to author
Forward
0 new messages