An implementation of Chromaprint/AcoustID audio fingerprinting algorithm. This plugin only supports Android at the moment.
npm install capacitor-chromaprint
npx cap syncThis plugin uses fpcalc-android
for calculating the audio fingerprint which requires adding
JitPack package repository to build.gradle of the
root Android directory:
allprojects {
repositories {
google()
mavenCentral()
maven { url 'https://jitpack.io' }
}
}fingerprint(options: FingerprintParams) => Promise<FingerprintResult>| Param | Type |
|---|---|
options |
FingerprintParams |
Returns: Promise<FingerprintResult>
| Prop | Type |
|---|---|
fingerprint |
string |
duration |
number |
| Prop | Type |
|---|---|
path |
string |
format |
string |
rate |
number |
channels |
number |
length |
number |
chunk |
number |
overlap |
boolean |