Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/myers/chord_detector
Javascript bindings for chord detector
https://github.com/myers/chord_detector
Last synced: 4 months ago
JSON representation
Javascript bindings for chord detector
- Host: GitHub
- URL: https://github.com/myers/chord_detector
- Owner: myers
- Created: 2016-10-03T02:49:10.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-10-30T03:37:05.000Z (about 8 years ago)
- Last Synced: 2024-08-17T01:49:37.418Z (4 months ago)
- Language: JavaScript
- Size: 6.76 MB
- Stars: 44
- Watchers: 2
- Forks: 14
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Chord Detector
Detect what chords are being played in an [AudioBuffer] in the browser's [AudioContext]. Also exposes a [Chromagram] that will show you what notes are being played.
This is a javascript wrapper that uses [Emscripten] to wrap [Adam Stark]'s [Chord-Detector-and-Chromagram]
[AudioBuffer]: https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer
[AudioContext]: https://developer.mozilla.org/en-US/docs/Web/API/AudioContext
[Chromagram]: https://en.wikipedia.org/wiki/Chroma_feature
[Adam Stark]: https://github.com/adamstark
[Chord-Detector-and-Chromagram]: https://github.com/adamstark/Chord-Detector-and-Chromagram
[Emscripten]: http://kripken.github.io/emscripten-site/# Building
```bash
git submodule update --init # pull in Chord-Detector-and-Chromagram
npm run build # requires emscripten's emcc to be on your path
```
# Demo[Demo](https://myers.github.com/chord_detector/) where you can play different sound clips of a chord and see what is detected.
# Projects Built On This
Let me know if you build something on this, and I will list it here.