A tiny (2.1K gzipped) library to extract metadata from audio files.
title
artist
composer
album
year
tracknumber
track
encoder
npm install audio-metadata
or npm install -g audio-metadata
to use from the shell.<script type="text/javascript" src="audio-metadata.min.js"></script>
and define the AudioMetadata
global variable.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
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 <