spreaker / node-mp3-header Goto Github PK
View Code? Open in Web Editor NEWParsing of MP3 headers including Xing table.
License: MIT License
Parsing of MP3 headers including Xing table.
License: MIT License
Initially, just the ZONE B - Initial LAME info
in the spec, so that it's possible to determine whether a file contains this header, or does not:
http://gabriel.mp3-tech.org/mp3infotag.html
i.e. the 20 bytes for LAME tag. for example, "LAME3.12 (beta 6)"
From the spec here: http://gabriel.mp3-tech.org/mp3infotag.html
"bytes $BE-$BF contains a CRC-16 of the first 190 bytes ($00-$BD) of the Info header frame. This field is calculated at the end, once all other fields are completed."
So the idea would be to read bytes $00-$BD, calculate the CRC-16 and compare that with bytes $BE-$BF (I think)?
If a file contains ID3V2 tag, skip it and parse the mp3/xing/lame headers with the relevant offset, to skip the ID3V2 tag.
See http://fileformats.archiveteam.org/wiki/ID3#How_to_skip_past_an_ID3v2_segment for a rough outline of how to skip past the tag..
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.