1. What Chordino is
Chordino (NNLS-Chroma) is software that recognizes chords from audio, from Queen Mary University of London (QMUL); the main author is Matthias Mauch. License: GNU General Public License (GPL) version 2 or later.
Citation: M. Mauch and S. Dixon, ISMIR 2010.
2. How we use it
The Find chords from a song feature uses Chordino in two ways. For a music file you choose, we compile Chordino to WebAssembly and run it right in your browser, so the file is analyzed on your device and is not sent anywhere.
For a YouTube link, our server downloads the audio and analyzes it with the same software, then deletes the audio right away.
We do not modify Chordino's code. What we add is the glue layer between Chordino and the browser; this layer is also released under the GPL, in the same source package below.
3. Download the source code
The source package contains Chordino (the exact version in use), the Vamp plugin SDK, our glue layer and the build scripts, enough to rebuild the WebAssembly build that is running. Boost and the Emscripten compiler are not in the package: the README lists their versions and hashes.
- Chordino version (nnls-chroma commit)
4c5f214a75cb354f8d8c933e161377c5b4d83713- sha256 of the .wasm file being served
28d6dc4cdd86c6775a1abfd86f9994fc57c3bf88d22830883b1c22121504eb9d
- README.mdsha256
f08d046c2f058ef17e82508666d1bb897d77002dc287da779e1fd04decc61811 - NOTICE.txtsha256
8bb8810036e9943bfa4fb5e36e0ce59d19b2e2f05219494018a3870734331f99 - COPYINGsha256
67f82e045cf7acfef853ea0f426575a8359161a0a325e19f02b529a87c4b6c34 - nnls-chroma-4c5f214.tar.gzsha256
8497da860a60c52dd3d8c9c0cb908d8fe68f208a1b3592a71207a4e7450956a1 - vamp-plugin-sdk-44c2487.tar.gzsha256
419ded1b0086cf5e4ecef71d16e27c767874c8bf5b4aa924da3c81c935366907 - vamp-1.1.0.tar.gzsha256
d40e0916e958e2806d37920f903c2518cc46959a4f21e020737b6a48f6e7e82d - chordino-wasm-build.tar.gzsha256
b99143dd703c2ed881e97af431c463a0ee6f8c8d6a0d92b6c8f794a5cd4af0e9
4. Rebuild it yourself
1. Download the package and unzip it.
2. Follow the README file in the package: it has a script to fetch the source code, a build script using Emscripten (version pinned in the package) and a quick test. You need Docker and a network connection, because the compiler downloads Boost.
3. Compare the sha256 of the .wasm file you built with the sha256 in section 3.
When we build twice from the same source, we get the same sha256. If yours differs, please let us know.
5. License and copyright notices
Chordino and the WebAssembly build are under the GNU GPL version 2 or, at your option, any later version. The original copyright notices are kept intact in the source package.
The package also uses the Vamp plugin SDK (MIT-style license, included in the package), Boost (Boost Software License 1.0) and the Emscripten runtime (MIT). Per-component copyright notices are in the package's NOTICE.txt file.
The NNLS algorithm part of Chordino was ported from the Lawson and Hanson implementation on Netlib; we have not checked the license of that source. See the notice in the NOTICE.txt file.
6. No warranty
Under the GPL, Chordino and our build are provided without any warranty, to the extent permitted by law. The English text of the GPL is the authoritative version; this paragraph is only a summary. Chords are guessed by the tool and may be wrong.
7. Contact
Questions about the source code or license? Contact [email protected].