Skip to content

voodoohop/thomash-node-audio-metadata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

thomash-node-audio-metadata

extract audio metadata from wav, mp3, aiff and many other formats. uses a javascript cross-compiled taglib. http://taglib.github.io/

install

npm install thomash-node-audio-metadata

usage

var MetadataFile = require("thomash-node-audio-metadata");

var f = new MetadataFile("/path/to/audio/file";
f.readTaglibMetadata(function(data) {
	console.log(data);
});

// example result: {"metadata":{"album":"Brazil Classics, Vol. 5: The Hips of Tradition","albumartist":"Tom Zé","artist":"Tom Zé","comment":"Am","composer":"Tom Zé","date":"1992","genre":"Latin","initialkey":"Am","label":"Luaka Bop","length":"153160","title":"Lua-Gira-Sol [Moon-Turn-Flower]","tracknumber":"13"},"audio":{"length":153,"bitrate":320,"channels":2,"samplerate":44100}	

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published