Music identification
infrastructure for the
copyright collection era.
A production-grade engine combining multi-resolution acoustic fingerprinting (TCBC), neural watermark master embed (WavMark 16-bit; SilentCipher disabled in Phase 0), and a self-owned audit blockchain (ACE Chain) into one identification pipeline. Architected for national-catalogue scale and Thai-Korean bilateral collection.
Four orthogonal defenses,
tuned for an Asian catalogue.
The engine is not a single algorithm but a defense-in-depth pipeline. Each layer covers attack vectors the others cannot — pitch shift, broadcast EQ, cover versions, and tampered uploads — producing an identification verdict that holds across mp3, radio, and short clip evidence.
TCBC fingerprint
Multi-resolution FFT with subband cross-band correlation and chroma-derived hashing. Designed to survive radio EQ, pitch shift and MP3 distortion; measured on a controlled bench, not on live broadcast.
Neural watermark (Phase 0)
WavMark (16-bit, 16 kHz) embeds the master on ingest. SilentCipher (40-bit, 44.1 kHz) is disabled in Phase 0 due to torch>=2.1 incompatibility (silentcipher<=1.0.5); AudioSeal is a Phase 0 follow-on. Provenance survives crop, transcode, and short clips where fingerprints alone fail. In Phase 0 WavMark embeds only; its read-back is not wired into production.
ACE Chain audit
Self-owned HMAC-signed hash chain with Merkle batch proofs and CID prefix index. No external L1 fees. IPFS pinning for durability. Every ingest, identify, monitoring and settlement event is sealed.
HRTD cover detection (Phase 0 disabled)
Harmonic-rhythmic temporal descriptor for cross-version retrieval. Covers80 validated; K-pop pair bench pending (§1.2s-ext). Production wire disabled in Phase 0 — broadcast monitoring works against original masters, not covers. Curves stay indexed for re-enablement after K-pop bench closes.
FCW provenance stamp
Self-owned QIM watermark for clean-path tamper-evidence. A fast cryptographic stamp, complementary to attack-robust layers.
Stream supervisor
Always-on workers for HLS broadcast, YouTube ingest, and Spotify discovery. Each match flows directly into the chain and the settlement queue.
A focused API.
Four endpoints. No ceremony.
Authentication is a single X-API-Key header. Health is open so partner
societies can verify uptime without credentials. Uploads cap at 50 MB. Every
response carries an x-request-id for ACE Chain trace.
Liveness and chain integrity probe. No authentication required.
// loading…Store, neural, audit chain counters — one snapshot for monitoring dashboards. (RTAM history retained but production wire disabled in Phase 0.)
curl https://ace-engine.com/v5/stats \ -H "X-API-Key: $ACE_API_KEY" // returns { { "store": { "tracks": <int>, "tcbc_hashes": <int> }, "neural_store": { "vectors": <int>, "dimension": <int> }, "rtam": { "history_rows": <int> }, "audit": { "blocks": <int>, "chain_valid": <bool> } }
Run the full identification pipeline on an uploaded query — TCBC + neural + cover + chain seal.
curl -X POST https://ace-engine.com/v5/identify \ -H "X-API-Key: $ACE_API_KEY" \ -F "file=@query.mp3" // returns { "verdict": <str>, "work_id": <str>, "confidence": <float>, "tcbc": { "top1": <str> }, "watermark": { "detected": <bool>, "bit_acc": <float> }, "chain_block": <int> }
Register a track. Fingerprint, watermark, neural embedding, and ACE Chain ingest block in one call.
curl -X POST https://ace-engine.com/v5/ingest \ -H "X-API-Key: $ACE_API_KEY" \ -F "file=@master.wav" \ -F "work_id=W0050" \ -F "title=Track Title" \ -F "artist=Artist"
Built on what production trusts.
No magic. No hosted L1 fees. The full stack is auditable, self-hosted, and operated by the same team that signs Asia partner management contracts.
Python 3.10+ · FastAPI
FastAPI factory pattern, uvicorn worker, systemd-managed restart. Single ExecStart, four endpoints.
PyTorch CPU + Numba JIT
Watermark and identification work on CPU only. No GPU lock-in, no driver dance, no hidden cost line.
FAISS IVFPQ · SQLite
10M-track ANN migration is designed and doc-reviewed (STAGE2_GAPS 1.2r: PARTIAL). Storage scales linearly with the catalogue.
nginx · Let's Encrypt
TLS 1.3, HSTS-ready, Certbot-renewed. Reverse proxy on the same VPC as the engine.
ACE Chain · IPFS
Self-owned audit blockchain with optional IPFS pinning for cross-jurisdiction durability. No external transaction fees.
HMAC · X-API-Key
Application-layer auth on every protected endpoint. nginx adds TLS. Two-layer defense, zero shared secrets in code.
Need API access for your CMO or research?
Contact us for API access.