How it's supposed to work:
lyrics/
has lyrics in it, snippets/
are the word clips from songs, labeled in format WORD - SONGNAME - ARTIST.wav
Running unique_all-lyrics.py
uses unique_words.py
as a module to take all lyrics in the lyrics directory and produce
a unique set of words per song. Then, findword.py WORD
will find all songs that have that exact word in it!
generatemetadata.py
takes all the snippets in snippets/
and makes a JSON file of format
[
{
"WORD": [
{ "song": "SONG", "artist": "ARIST" },
....
]
},
...
]
final.js
does the word assembling logic.