taglib-wasm
Version:
TagLib-Wasm is the universal tagging library for TypeScript/JavaScript platforms: Browsers, Node.js, Deno, Bun, Cloudflare Workers, and Electron apps
184 lines • 7.5 kB
TypeScript
/**
* Specialized audio metadata properties.
* Includes MusicBrainz IDs, ReplayGain values, AcoustID fingerprints, and Apple Sound Check.
*/
export declare const SPECIALIZED_PROPERTIES: {
readonly musicbrainzArtistId: {
readonly key: "MUSICBRAINZ_ARTISTID";
readonly description: "MusicBrainz Artist ID (UUID)";
readonly type: "string";
readonly supportedFormats: readonly ["ID3v2", "MP4", "Vorbis"];
readonly mappings: {
readonly id3v2: {
readonly frame: "TXXX";
readonly description: "MusicBrainz Artist Id";
};
readonly vorbis: "MUSICBRAINZ_ARTISTID";
readonly mp4: "----:com.apple.iTunes:MusicBrainz Artist Id";
};
};
readonly musicbrainzReleaseId: {
readonly key: "MUSICBRAINZ_ALBUMID";
readonly description: "MusicBrainz Release ID (UUID)";
readonly type: "string";
readonly supportedFormats: readonly ["ID3v2", "MP4", "Vorbis"];
readonly mappings: {
readonly id3v2: {
readonly frame: "TXXX";
readonly description: "MusicBrainz Album Id";
};
readonly vorbis: "MUSICBRAINZ_ALBUMID";
readonly mp4: "----:com.apple.iTunes:MusicBrainz Album Id";
};
};
readonly musicbrainzTrackId: {
readonly key: "MUSICBRAINZ_TRACKID";
readonly description: "MusicBrainz Recording ID (UUID)";
readonly type: "string";
readonly supportedFormats: readonly ["ID3v2", "MP4", "Vorbis"];
readonly mappings: {
readonly id3v2: {
readonly frame: "UFID";
readonly description: "http://musicbrainz.org";
};
readonly vorbis: "MUSICBRAINZ_TRACKID";
readonly mp4: "----:com.apple.iTunes:MusicBrainz Track Id";
};
};
readonly musicbrainzReleaseGroupId: {
readonly key: "MUSICBRAINZ_RELEASEGROUPID";
readonly description: "MusicBrainz Release Group ID (UUID)";
readonly type: "string";
readonly supportedFormats: readonly ["ID3v2", "MP4", "Vorbis"];
readonly mappings: {
readonly id3v2: {
readonly frame: "TXXX";
readonly description: "MusicBrainz Release Group Id";
};
readonly vorbis: "MUSICBRAINZ_RELEASEGROUPID";
readonly mp4: "----:com.apple.iTunes:MusicBrainz Release Group Id";
};
};
readonly replayGainTrackGain: {
readonly key: "REPLAYGAIN_TRACK_GAIN";
readonly description: "ReplayGain track gain in dB (e.g., '-6.54 dB')";
readonly type: "string";
readonly supportedFormats: readonly ["ID3v2", "MP4", "Vorbis"];
readonly mappings: {
readonly id3v2: {
readonly frame: "TXXX";
readonly description: "ReplayGain_Track_Gain";
};
readonly vorbis: "REPLAYGAIN_TRACK_GAIN";
readonly mp4: "----:com.apple.iTunes:replaygain_track_gain";
};
};
readonly replayGainTrackPeak: {
readonly key: "REPLAYGAIN_TRACK_PEAK";
readonly description: "ReplayGain track peak value (0.0-1.0)";
readonly type: "string";
readonly supportedFormats: readonly ["ID3v2", "MP4", "Vorbis"];
readonly mappings: {
readonly id3v2: {
readonly frame: "TXXX";
readonly description: "ReplayGain_Track_Peak";
};
readonly vorbis: "REPLAYGAIN_TRACK_PEAK";
readonly mp4: "----:com.apple.iTunes:replaygain_track_peak";
};
};
readonly replayGainAlbumGain: {
readonly key: "REPLAYGAIN_ALBUM_GAIN";
readonly description: "ReplayGain album gain in dB";
readonly type: "string";
readonly supportedFormats: readonly ["ID3v2", "MP4", "Vorbis"];
readonly mappings: {
readonly id3v2: {
readonly frame: "TXXX";
readonly description: "ReplayGain_Album_Gain";
};
readonly vorbis: "REPLAYGAIN_ALBUM_GAIN";
readonly mp4: "----:com.apple.iTunes:replaygain_album_gain";
};
};
readonly replayGainAlbumPeak: {
readonly key: "REPLAYGAIN_ALBUM_PEAK";
readonly description: "ReplayGain album peak value (0.0-1.0)";
readonly type: "string";
readonly supportedFormats: readonly ["ID3v2", "MP4", "Vorbis"];
readonly mappings: {
readonly id3v2: {
readonly frame: "TXXX";
readonly description: "ReplayGain_Album_Peak";
};
readonly vorbis: "REPLAYGAIN_ALBUM_PEAK";
readonly mp4: "----:com.apple.iTunes:replaygain_album_peak";
};
};
readonly acoustidFingerprint: {
readonly key: "ACOUSTID_FINGERPRINT";
readonly description: "AcoustID fingerprint (Chromaprint)";
readonly type: "string";
readonly supportedFormats: readonly ["ID3v2", "MP4", "Vorbis"];
readonly mappings: {
readonly id3v2: {
readonly frame: "TXXX";
readonly description: "Acoustid Fingerprint";
};
readonly vorbis: "ACOUSTID_FINGERPRINT";
readonly mp4: "----:com.apple.iTunes:Acoustid Fingerprint";
};
};
readonly acoustidId: {
readonly key: "ACOUSTID_ID";
readonly description: "AcoustID UUID";
readonly type: "string";
readonly supportedFormats: readonly ["ID3v2", "MP4", "Vorbis"];
readonly mappings: {
readonly id3v2: {
readonly frame: "TXXX";
readonly description: "Acoustid Id";
};
readonly vorbis: "ACOUSTID_ID";
readonly mp4: "----:com.apple.iTunes:Acoustid Id";
};
};
readonly appleSoundCheck: {
readonly key: "ITUNNORM";
readonly description: "Apple Sound Check normalization data";
readonly type: "string";
readonly supportedFormats: readonly ["ID3v2", "MP4", "Vorbis"];
readonly mappings: {
readonly id3v2: {
readonly frame: "TXXX";
readonly description: "iTunNORM";
};
readonly vorbis: "ITUNNORM";
readonly mp4: "----:com.apple.iTunes:iTunNORM";
};
};
/**
* Apple gapless-playback data (encoder delay, padding, original sample count).
*
* Exists so the two Apple freeform atoms are presented consistently: without
* it, `properties()` answered `appleSoundCheck` for iTunNORM but the raw
* uppercased `ITUNSMPB` for its sibling, because only one had an alias. The
* name mirrors `appleSoundCheck` — vendor-prefixed, feature-named rather than
* atom-named (tuneup-ibo).
*/
readonly appleGaplessInfo: {
readonly key: "ITUNSMPB";
readonly description: "Apple gapless playback data (encoder delay and padding)";
readonly type: "string";
readonly supportedFormats: readonly ["ID3v2", "MP4", "Vorbis"];
readonly mappings: {
readonly id3v2: {
readonly frame: "TXXX";
readonly description: "iTunSMPB";
};
readonly vorbis: "ITUNSMPB";
readonly mp4: "----:com.apple.iTunes:iTunSMPB";
};
};
};
//# sourceMappingURL=specialized-properties.d.ts.map