-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Hello there, and thanks for your great implementation! I'm having a little trouble in getting started with it though.
I've included the package via npm, and end up with the following hierarchy of files:
chromaprint.js/
├── bin
│ └── fpcalc
├── lib
│ ├── algorithms.coffee
│ ├── calculator.coffee
│ ├── chroma.coffee
│ ├── fpcalc.coffee
│ ├── README.md
│ └── silenceRemover.coffee
├── LICENSE
├── package.json
└── README.md
My question is how exactly does one go about using this in the context of a browser?
The README has the following:
<!-- attaches a chromaprint object to window -->
<script src="path/to/chromaprint.js"><script>
<script>
// Assuming loadAudio gets a decoded audio stream.
loadAudio(url, function(stream) {
chromaprint.calculateFingerprint(stream, console.log);
});
</script>
But where exactly is this chromaprint.js file? Should it be generated from the .coffee files somewhere?
Hoping to clear up just a little confusion. Thanks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels