Music2CSV is a simple application that can analyze an audio or video file, determine a playlist of music and deliver it in CSV format, with time stamps. It uses the AudD.io music recognition API. You will need to sign up and get an API token. Music2CSV is very conservative with API requests (one request for every 120 seconds of audio), and allows you to limit how many requests will be made, at maximum.
At present, the most straightforward way to install this plugin is to:
- Clone this repository to a temp folder
- Visit chrome://extensions in the Chrome address bar
- Turn on the "Developer Mode" switch at top right
- Click "Load unpacked"
- Browse to the folder containing the downloaded files
- Optionally click the puzzle piece and pin the extension for easy access
The program requires an API key/token from AudD.io. You simply plug this in to the box labeled "AudD.io API Key".
See below for more info on AudD.io currently offers to allow you 300 requests at no charge. Then it's $5 for up to 1000 requests, and then it's $5 after that. For clarification, it would be $10 after you make 2000 requests.
Music2CSV analyzes a 12 second chunk every 108 seconds of audio. Analyzing one chunk constitutes a "request" to AudD.io.
As a rule of them, the number of requests required is approximately:
L / 120
...where L is the length of the file in seconds.
So for example, a 4 hour audio file would have 4 * 60 * 60 seconds of audio, or 14400 seconds.
The number of requests would be:
14400 / 120 = 120
120 Requests
Finally, you just browse to an audio or video file on your system that will be analyzed. Audd.io claims to handle "hours-long or even days-long" audio.
After a short while of uploading your file (or a long while, depending on the size), a "Download CSV" link will appear. This is a basic spreadsheet containing the artist and title of the song, preceeded by the time stamp in the file in which it was seen. Note that this time stamp doesn't correspond to the actual beginning or end of the recognized song.
AudD is a music recognition API that makes Mousai possible. For more information, you can check their Privacy Policy and Terms of Service.