1. Normalize the local audio
SonoSig decodes the source audio in the browser and works from PCM sample data. The source file is not uploaded just to create the proof.
Developer
SONOSIG1 is a portable audio-proof format that embeds a wallet-signed claim into an exported audio file while keeping the proof readable by browsers, agents, registries, and public identity systems.
| Bytes | Meaning |
|---|---|
| 0..7 | ASCII magic string SONOSIG1. |
| 8..11 | Unsigned 32-bit little-endian payload length. |
| 12..n | UTF-8 JSON proof payload. Current maximum: 16 KB. |
SonoSig decodes the source audio in the browser and works from PCM sample data. The source file is not uploaded just to create the proof.
The implementation computes sha256-based audio_hash and audio_fingerprint values from the normalized audio. These values bind the proof to a specific audio signal.
SonoSig creates a deterministic message containing the wallet, chain, protocol, audio hash, audio fingerprint, nonce, timestamp, and optional ENS, manifest, and song metadata.
The connected wallet signs the exact message. Verifiers must check the signature against that exact message and wallet address.
SonoSig serializes the proof as JSON, prefixes it with a SONOSIG1 header and little-endian payload length, then embeds the bytes into the exported audio.
Verification extracts the payload, rebuilds the signed message, checks the signature, and compares the audio identifiers. Claims can then be registered with PacStac and pointed to from ENS.
vFormat version. Current value: 1.
protocolProtocol identifier. Current value: audio-proof-v1.
walletEVM wallet address that signed the deterministic claim.
chain_idEVM chain ID used in the signed message.
audio_hashsha256:<64 hex chars> hash of the normalized PCM audio.
audio_fingerprintsha256:<64 hex chars> derived audio fingerprint.
issued_atISO timestamp for claim creation.
nonceRandom nonce used to prevent replay.
signature_typeSignature scheme. Current value: SIWE.
signature0x-prefixed wallet signature over the exact SIWE message.
ensOptional ENS name associated with the creator wallet.
manifestOptional URL or IPFS URI for richer claim metadata.
songOptional title, artist, album, ISRC, and other song metadata.
For WAV and AIFF exports, SonoSig embeds payload bits into the least significant bit of sequential 16-bit PCM samples. Each byte is written least-significant bit first. Verification reads the same sample sequence, reconstructs the header and payload, then validates the proof.
For M4A and OGG exports, SonoSig appends the SONOSIG1 proof block to the encoded file bytes for portability. Exact audio-hash verification is strongest with PCM WAV and AIFF because lossy encoders can change sample data.
PacStac verifies and indexes submitted SonoSig claims by claim ID, wallet, audio hash, audio fingerprint, and optional ISRC. ENS can publish a compact com.sonosig text record that points readers to the PacStac wallet collection for a creator name.