A mediocre version of shazam designed specifically for identifying what song neuro is singing.
- read through setup.md to get the database up and running
- enter
/process_cli
usecargo run -r -- upload-bulk --shell-script <script_path> --db <url> <directory>
- This goes through every file in the directory, runs the provided shell script on it by calling
sh <script_path> "file_name"
- If writing your own shell script, then check out the default
- The
singer_id
corresponds to an entry in thesingers
table
- This goes through every file in the directory, runs the provided shell script on it by calling
Warning
If you have an index setup inserting each song will take a really long time, and it might be faster to drop the index, insert all the segments and then rebuild the index
- get any sample of a single song (can be full or partial) and pass it through
- enter
/process_cli
usecargo run -r -- discover --db <url> <file_path>
- Other config options can be found in the command help
- Will output a list of potential matches
Note
You can pass the --json
flag to discover
to get a json-formatted output