haudiotagger_fingerprint 0.1.0
haudiotagger_fingerprint: ^0.1.0 copied to clipboard
Perceptual audio fingerprinting for Flutter. Identify and compare recordings by content — duplicate detection, library cleanup, song matching. Powered by Rust.
0.1.0 #
Features #
- New
HaudioFingerprint.fingerprint(path)API for perceptual audio fingerprinting via file path - New
HaudioFingerprint.fingerprintFromBytes(bytes)API for web/WASM and in-memory audio - New
HaudioFingerprint.similarity(a, b)(plussimilarityTo) returning a0.0–1.0content-match score - Chromaprint-compatible fingerprints (
preset_test2, same algorithm as fpcalc/AcoustID) - Pure-Rust stack (Symphonia + rusty-chromaprint): no C dependencies, builds on all platforms including WASM
- Federated backend:
FingerprintBackendImplplusHaudioFingerprintBackend.registerWith, self-registering viadartPluginClass— installing this package wiresHaudiotagger.fingerprint()with no imports or init calls
Dependencies #
symphonia 0.6for audio decoding (MP3, FLAC, Ogg Vorbis, WAV, AIFF, M4A/AAC/ALAC)rusty-chromaprint 0.3for fingerprint calculation and comparisonflutter_rust_bridge =2.13.0for the Dart FFI bridgehaudiotagger_interface ^0.1.0(pure-Dart contract, zero native weight)
Platform Notes #
- Decodable formats: MP3, FLAC, Ogg Vorbis, WAV, AIFF, M4A/AAC/ALAC
- Not decodable: Opus, APE, WavPack, Musepack (no pure-Rust decoder)
- Independent package: separate Dart package, Rust crate, native libraries, and plugin classes
Haudiotagger.fingerprint()(requireshaudiotagger ^2.2.0) throws a helpfulStateErrorwhen this package is not installed