audio metadata

No description is available yet
audio metadata logo

Audio Metadata Library

A tiny (2.1K gzipped) library to extract metadata from audio files.


Features

  • Extracts ID3v1, ID3v2, and Vorbis comments (i.e. metadata in OGG containers)
  • Supports extraction of common metadata fields:
    • title
    • artist
    • composer
    • album
    • year
    • tracknumber
    • track
    • encoder

Usage

  1. Install using NPM: npm install audio-metadata or npm install -g audio-metadata to use from the shell.
  2. Load in browser: <script type="text/javascript" src="audio-metadata.min.js"></script> and define the AudioMetadata global variable.

Shell

Extract metadata from audio files

USAGE
audio-metadata --type <type> [options] file1 [file2...]
OPTIONS
--help, -h
  This help
--type, -t <type>
  One of "id3v1", "id3v2" or "ogg"
--chunk-size, -c <size>
  Read the file in chunks of <size>; default is 512
--quit-after, -q <length>
  Stop searching for metadata if nothing is found after <length> bytes; default is 512
--no-colors, -z
  Don't colorize the output

EXAMPLE
Search for metadata in the first 300 bytes in 100 byte increments
audio-metadata -t id3v2 -c 100 -q 300 keepitoffmy.wav

Browser

This library has been tested on current versions of Firefox and Chrome. IE might work, since it apparently supports ArrayBuffer. Safari/Opera are probably okayish since they're webkit. Your mileage may vary.

Note: This tool is still under development.





> Visit audio metadata Website <